summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2020-07-31 04:49:16 -0700
committerkitty piapiac <kcp@bsd.computer>2020-07-31 04:49:16 -0700
commitfcfac7b7d4a3a4cad4daeb794c52b535de09207f (patch)
tree48ae0bb5c8cfb5ec198f66c9f3336ec52d0bb814
parente44f1b2355c61c2c8c7930f5c4b879bf55ec31a3 (diff)
d(>_< ) small bugfix
fix input focus on windows when deleted
-rw-r--r--src/config.nim40
1 files changed, 0 insertions, 40 deletions
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