diff --git a/modules/default.nix b/modules/default.nix index 33298ad..8b82029 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -152,9 +152,6 @@ let named = submodule { # [D]isown "d" = "disown"; - # Install a [p]ackage in a nix-shell - "p" = "nix-shell -p"; - }; programs.bash.interactiveShellInit = '' diff --git a/modules/gui/clipboard.nix b/modules/gui/clipboard.nix index 0c33a8e..c7c6f03 100644 --- a/modules/gui/clipboard.nix +++ b/modules/gui/clipboard.nix @@ -8,17 +8,26 @@ users.users."riley".packages = with pkgs; [ (writeShellApplication { - name = "copy"; + name = "c"; runtimeInputs = [ xclip ]; text = "xclip -sel clip -i"; }) (writeShellApplication { - name = "paste"; + name = "p"; runtimeInputs = [ xclip ]; text = "xclip -sel clip -o"; }) + (writeShellApplication { + name = "sc"; + runtimeInputs = [ xclip scrot ]; + text = '' + scrot -zso /tmp/sc.png + xclip -t "image/png" -sel clip -i < /tmp/sc.png + ''; + }) + ]; }) diff --git a/modules/gui/wm/default.nix b/modules/gui/wm/default.nix index f631c20..bb7a2b3 100644 --- a/modules/gui/wm/default.nix +++ b/modules/gui/wm/default.nix @@ -14,11 +14,11 @@ let theme = config.riley.theme.hex; }; workspace = { - numbered = 5; + numbered = 6; named = { - "web" = "equal"; - "doc" = "minus"; - "dev" = "0"; + "chat" = "q"; + "code" = "w"; + "browser" = "e"; }; }; diff --git a/modules/gui/wm/keybinds.nix b/modules/gui/wm/keybinds.nix index e41c0a7..3b30ad7 100644 --- a/modules/gui/wm/keybinds.nix +++ b/modules/gui/wm/keybinds.nix @@ -62,8 +62,8 @@ with lib; let mod = modifier; "${mod}+A" = "split v"; "${mod}+S" = "split h"; - "${mod}+Q" = "layout tabbed"; - "${mod}+W" = "layout default"; + "${mod}+Mod1+A" = "layout toggle stacked splitv"; + "${mod}+Mod1+S" = "layout toggle tabbed splith"; "${mod}+F" = "fullscreen toggle";