Skip to content

Commit e5e68e3

Browse files
committed
Set cancelKey to escape
1 parent d9d9ce5 commit e5e68e3

File tree

1 file changed

+10
-9
lines changed
  • modules/nixos/home-manager/profiles/desktop

1 file changed

+10
-9
lines changed

modules/nixos/home-manager/profiles/desktop/xmonad.nix

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,6 @@
9090
]
9191
)
9292
93-
emConfig =
94-
def
95-
{ EM.emFont = "xft:${fonts.monospace.name}:bold:size=18:antialias=true",
96-
EM.bgCol = "${colors.withHashtag.base01}",
97-
EM.borderCol = "${colors.withHashtag.base01}",
98-
EM.overlayF = EM.fixedSize 100 100,
99-
EM.txtCol = "${colors.withHashtag.base0A}"
100-
}
101-
10293
myLayoutHook =
10394
diminish (smartSpacingWithEdge 5)
10495
. diminish minimize
@@ -179,6 +170,16 @@
179170
shouldSink title = title `elem` tileTitles
180171
doSink = (ask >>= doF . W.sink) <+> doF W.swapDown
181172
173+
emConfig =
174+
def
175+
{ EM.emFont = "xft:${fonts.monospace.name}:bold:size=18:antialias=true",
176+
EM.bgCol = "${colors.withHashtag.base01}",
177+
EM.borderCol = "${colors.withHashtag.base01}",
178+
EM.cancelKey = xK_Escape,
179+
EM.overlayF = EM.fixedSize 100 100,
180+
EM.txtCol = "${colors.withHashtag.base0A}"
181+
}
182+
182183
easyFocus :: X ()
183184
easyFocus = do
184185
win <- selectWindow emConfig

0 commit comments

Comments
 (0)