From 3fe8e7c0fc39bd132c3354c45d7263b273529c7e Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 5 Dec 2023 20:26:11 -0500 Subject: sway config --- desktop/.config/sway/config | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) (limited to 'desktop/.config/sway/config') diff --git a/desktop/.config/sway/config b/desktop/.config/sway/config index 0a8bcb5..58149da 100755 --- a/desktop/.config/sway/config +++ b/desktop/.config/sway/config @@ -8,11 +8,6 @@ # # Logo key. Use Mod1 for Alt. set $mod Mod4 -# Home row direction keys, like vim -set $left h -set $down j -set $up k -set $right l # Your preferred terminal emulator set $term foot # Your preferred application launcher @@ -20,6 +15,12 @@ set $term foot # on the original workspace that the command was run on. set $menu rofi -show run | xargs swaymsg exec -- +default_border pixel 2 +default_floating_border none +font pango:monospace 0 +titlebar_padding 1 +titlebar_border_thickness 0 + include /etc/sway/config-vars.d/* ### Output configuration @@ -95,21 +96,14 @@ bindsym $mod+Shift+z exec --no-startup-id 'swaylock' # Moving around: # # Move your focus around - bindsym $mod+$left focus left - bindsym $mod+$down focus down - bindsym $mod+$up focus up - bindsym $mod+$right focus right + bindsym $mod+j focus next + bindsym $mod+k focus prev # Or use $mod+[up|down|left|right] bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right - # Move the focused window with the same, but add Shift - bindsym $mod+Shift+$left move left - bindsym $mod+Shift+$down move down - bindsym $mod+Shift+$up move up - bindsym $mod+Shift+$right move right # Ditto, with arrow keys bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down @@ -183,15 +177,6 @@ bindsym $mod+Shift+z exec --no-startup-id 'swaylock' # Resizing containers: # mode "resize" { - # left will shrink the containers width - # right will grow the containers width - # up will shrink the containers height - # down will grow the containers height - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px - # Ditto, with arrow keys bindsym Left resize shrink width 10px bindsym Down resize grow height 10px @@ -238,4 +223,5 @@ include /etc/sway/config.d/* exec "ssh-agent -a $SSH_AUTH_SOCK" exec nm-applet -exec dunst \ No newline at end of file +exec dunst +exec kanshi -c ~/.config/kanshi/config -- cgit v1.2.3