home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit f7242d786f77e2b89ec825a97e2c29df752d67e9
parent 2196429afda2d34ba73565c9875f3481c9fc3f84
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 27 Jul 2023 09:26:07 +0200

users/vincent: fix some sway configuration

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Musers/vincent/desktop/sway.nix | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/users/vincent/desktop/sway.nix b/users/vincent/desktop/sway.nix @@ -188,7 +188,7 @@ in bindcode ${mod}+Shift+26 exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'" bindcode ${mod}+32 mode resize bindcode ${mod}+Shift+32 exec "${pkgs.swaylock}/bin/swaylock -i $HOME/desktop/pictures/lockscreen" - bindcode ${mod}+Shift+57 exec${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw" + bindcode ${mod}+Shift+57 exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw" # switch to workspace bindcode ${mod}+10 workspace number 1 @@ -215,8 +215,7 @@ in bindcode ${mod}+Shift+19 move container to workspace number 10 bindcode ${mod}+Control+39 split h - bindcode ${mod}+Shift+61 floating toggle - bindcode ${mod}+61 focus mode_toggle + bindcode ${mod}+41 fullscreen toggle bindsym XF86AudioRaiseVolume exec ${pkgs.pamixer}/bin/pamixer -ui 5 && ${pkgs.pamixer}/bin/pamixer --get-volume > $SWAYSOCK.wob bindsym XF86AudioLowerVolume exec ${pkgs.pamixer}/bin/pamixer -ud 5 && ${pkgs.pamixer}/bin/pamixer --get-volume > $SWAYSOCK.wob @@ -227,7 +226,7 @@ in bindsym XF86AudioPrev exec "playerctl previous" bindcode ${mod}+49 exec swaymsg [app_id="metask"] scratchpad show || exec ${pkgs.kitty}/bin/kitty --title metask --class metask tmux - bindsym --whole-window button8 exec swaymsg [app_id="metask"] scratchpad show || exec ${pkgs.kitty}/bin/kitty --title metask --class metask tmux + bindsym --whole-window button8 exec sswaymsg [app_id="metask"] scratchpad show || exec ${pkgs.kitty}/bin/kitty --title metask --class metask tmux bindcode ${mod}+Shift+49 exec swaymsg '[app_id="emacs" title="^_emacs scratchpad_$"]' scratchpad show || exec ${config.programs.emacs.package}/bin/emacsclient -c -F "((name . \"_emacs scratchpad_\"))" bindsym --whole-window button9 exec swaymsg '[app_id="emacs" title="^_emacs scratchpad_$"]' scratchpad show || exec ${config.programs.emacs.package}/bin/emacsclient -c -F "((name . \"_emacs scratchpad_\"))"