summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-02-11 15:45:28 +0100
committerAdam Stück <adam@adast.xyz>2023-02-18 15:33:24 +0100
commit03dbcfae3ba6d880c02fa176011990965f88f20d (patch)
tree01e059ca26040502ff5ea4e9774fc993b70a9580
parentbf623e1ff040a5cfa91510008fed74a7ec6074e8 (diff)
i3: added binds to dock laptop display
-rw-r--r--.config/i3/config2
-rwxr-xr-x.local/bin/dock4
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