diff --git a/.config/i3/config b/.config/i3/config index 0508a16..29764b2 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -30,7 +30,10 @@ set $right l set $term alacritty # Your preferred application launcher set $menu "rofi -modi drun,run -show drun" +# Window switcher set $search "rofi -modi window -show window" +# Screenshot +set $screenshot "~/.config/wm_scripts/screenshot.sh" set $mon1 DisplayPort-0 set $mon2 HDMI-A-0 @@ -49,7 +52,7 @@ set $mon2 HDMI-A-0 bindsym $mod+space exec $menu # screenshot - bindsym $mod+q exec ~/.config/wm_scripts/screenshot.sh + bindsym $mod+q exec $screenshot # Search window bindsym $mod+e exec $search diff --git a/.config/sway/config b/.config/sway/config index a4f9829..c3bddc0 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -39,8 +39,9 @@ set $term alacritty # on the original workspace that the command was run on. set $menucmd bemenu -l 10 --scrollbar always --fn '$font' --tb '$base02' --tf '$green' --fb '$base03' --ff '$base0' --nb '$base03' --nf '$base0' --sb '$base02' --sf 'cyan' --hb '$base02' --hf '$cyan' --scb '$base02' --scf '$cyan' set $menu dmenu_path | $menucmd | xargs swaymsg exec -- +# Screenshot +set $screenshot "~/.config/wm_scripts/screenshot.sh" -set $testcmd echo $PATH > $HOME/testcmd set $mon1 DP-1 set $mon2 HDMI-A-1 @@ -96,14 +97,15 @@ exec swayidle -w \ # # Start a terminal bindsym $mod+Return exec $term - bindsym $mod+q exec $testcmd # Kill focused window bindsym $mod+w kill # Start your launcher bindsym $mod+space exec $menu - bindsym $mod+e exec $search + + # Screenshot + bindsym $mod+q exec $screenshot # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod.