From 03dbcfae3ba6d880c02fa176011990965f88f20d Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 11 Feb 2023 15:45:28 +0100 Subject: i3: added binds to dock laptop display --- .config/i3/config | 2 ++ .local/bin/dock | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index f88dbd4..a422603 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -11,6 +11,8 @@ bindsym $mod+i exec --no-startup-id polybar-msg cmd toggle bindsym $mod+Shift+s exec --no-startup-id ~/.local/bin/screenshot -s bindsym Print exec --no-startup-id ~/.local/bin/screenshot bindsym $mod+Shift+c exec --no-startup-id ~/.local/bin/comptoggle +bindsym $mod+Shift+u exec --no-startup-id ~/.local/bin/dock -u +bindsym $mod+Shift+d exec --no-startup-id ~/.local/bin/dock -d bindsym $mod+d exec --no-startup-id dmenu_run -p 'run:' -l 8 -b -i -fn 'JetBrainsMono NerdFont:size=11' bindsym $alt+b exec --no-startup-id clipmenu -p 'clip:' -b -i -fn 'JetBrainsMono NerdFont:size=11' diff --git a/.local/bin/dock b/.local/bin/dock index 5764213..e1050a0 100755 --- a/.local/bin/dock +++ b/.local/bin/dock @@ -17,7 +17,7 @@ dock () { fi # barpos bottom - barlaunch + ~/.local/bin/barlaunch xrandr --output HDMI-1 --mode 2560x1440 --rate 70 --primary xrandr --output eDP-1 --off xwallpaper --center ~/.local/share/bg @@ -26,7 +26,7 @@ dock () { undock () { # barpos top - barlaunch + ~/.local/bin/barlaunch xrandr --output eDP-1 --mode 1920x1080 --primary xrandr --output HDMI-1 --off xwallpaper --center ~/.local/share/bg -- cgit v1.2.3-70-g09d2