pinwheel: Override keybinding for dmenu for sway
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
@@ -92,8 +92,13 @@
|
|||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
config = {
|
config = rec {
|
||||||
modifier = "Mod4"; # Super key
|
modifier = "Mod4";
|
||||||
|
|
||||||
|
keybindings = lib.mkOptionDefault {
|
||||||
|
"${modifier}+space" = "exec ${pkgs.dmenu}/bin/dmenu_run";
|
||||||
|
};
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
"type:keyboard"= {
|
"type:keyboard"= {
|
||||||
xkb_layout = "se";
|
xkb_layout = "se";
|
||||||
|
|||||||
Reference in New Issue
Block a user