From fcfac7b7d4a3a4cad4daeb794c52b535de09207f Mon Sep 17 00:00:00 2001 From: kitty piapiac Date: Fri, 31 Jul 2020 04:49:16 -0700 Subject: d(>_< ) small bugfix fix input focus on windows when deleted --- src/config.nim | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/config.nim (limited to 'src/config.nim') diff --git a/src/config.nim b/src/config.nim deleted file mode 100644 index 638b04b..0000000 --- a/src/config.nim +++ /dev/null @@ -1,40 +0,0 @@ -import /keys, x11/x - -# settings, or something along those lines -const - # default mod key, run xmodmap to see what the mod keys are on your current keyboard layout - # Mod1 is alt and Mod4 is super - modifier* = Mod1Mask - - # if it isn't obvious, hex values go here - colours* = ( - focused: "#fbfdff", - unfocused: "#295eb3", - background: "#232323") - - init* = @[ - "xsetroot -solid \"" & colours.background & "\""] - - # in pixels - frameWidth* = 2 - - # store keybindings here - keybindings*: seq[Key] = @[ - # alt + shift + q will close the focused window - initKey( - closeWindow, - key = "q", - mods = modifier or ShiftMask), - - # alt + tab will cycle the focus through the windows - initKey( - nextWindow, - key = "Tab", - mods = modifier), - - # alt + return will open st, you can replace this with whatever your preferred terminal is - initKey( - spawnCustom, - key = "Return", - mods = modifier, - command = "st")] \ No newline at end of file -- cgit v1.2.3