diff options
author | Katharina Fey <kookie@spacekookie.de> | 2019-10-06 19:43:51 +0000 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2019-10-06 19:43:51 +0000 |
commit | 643a6b1b719f711695e356ab5b827e4824c5f26d (patch) | |
tree | 2605026c1ed1719df1b2e1859a4cf624b7f90c47 /modules | |
parent | fbf81fb4aade6d30fc710fe2e95ad6ac282d4e8d (diff) |
ws/graphics: Fixing i3 workspace switcher scripts
Diffstat (limited to 'modules')
-rw-r--r-- | modules/workstation/graphics/i3/config.nix | 12 | ||||
-rw-r--r-- | modules/workstation/graphics/i3/default.nix | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/modules/workstation/graphics/i3/config.nix b/modules/workstation/graphics/i3/config.nix index 746c2a47698..6dad847874e 100644 --- a/modules/workstation/graphics/i3/config.nix +++ b/modules/workstation/graphics/i3/config.nix @@ -12,7 +12,7 @@ keybindings = { # Start a terminal - "${modifier}+Return" = "exec kitty"; + "${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty"; # Close individual windows "${modifier}+Shift+q" = "kill"; @@ -129,9 +129,8 @@ }; extraConfig = with pkgs; '' - # Compton - exec_always --no-startup-id "pkill compton; ${compton}/bin/compton \ - --config ~/.config/i3/compton.conf" + # Setup compton compositor + exec_always --no-startup-id "pkill compton; ${compton}/bin/compton --config ~/.config/i3/compton.conf" # Make CAPSLOCK into ESC because it's 2018 # @@ -139,8 +138,7 @@ # binding CAPSLOCK to HYPER, so that I can use it as a modifier in emacs, # but then using xcape(1) to also make short CAPSLOCK presses into ESCAPE. - exec_always --no-startup-id "${xorg.xmodmap}/bin/setxkbmap \ - -layout us -variant altgr-intl -option caps:hyper" + exec_always --no-startup-id "${xorg.xmodmap}/bin/setxkbmap -layout us -variant altgr-intl -option caps:hyper" exec ${xcape}/bin/xcape -e "#66=Escape" -t 150 # Always set a wallpaper @@ -154,7 +152,7 @@ colors { background #0F0F0F statusline #D5D5D5 - }k + } } focus_follows_mouse no diff --git a/modules/workstation/graphics/i3/default.nix b/modules/workstation/graphics/i3/default.nix index 251b04ec202..c6ec4aa6ce5 100644 --- a/modules/workstation/graphics/i3/default.nix +++ b/modules/workstation/graphics/i3/default.nix @@ -6,6 +6,7 @@ in { xsession.windowManager.i3 = import ./config.nix { inherit pkgs wallpaper; }; + home.packages = with pkgs; [ jq coreutils ]; xdg.configFile."i3/dynamic-tags/" = { recursive = true; executable = true; |