diff options
Diffstat (limited to 'src/sh/docked')
| -rwxr-xr-x | src/sh/docked/_docked_polybar.sh | 4 | ||||
| -rwxr-xr-x | src/sh/docked/docked_00layout.sh | 4 | ||||
| -rwxr-xr-x | src/sh/docked/docked_10feh.sh | 3 | ||||
| -rwxr-xr-x | src/sh/docked/docked_20polybar.sh | 6 |
4 files changed, 17 insertions, 0 deletions
diff --git a/src/sh/docked/_docked_polybar.sh b/src/sh/docked/_docked_polybar.sh new file mode 100755 index 0000000..d45dd03 --- /dev/null +++ b/src/sh/docked/_docked_polybar.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env zsh + +polybar bar & +MONITOR=DP-2-1 polybar bar diff --git a/src/sh/docked/docked_00layout.sh b/src/sh/docked/docked_00layout.sh new file mode 100755 index 0000000..5c473b1 --- /dev/null +++ b/src/sh/docked/docked_00layout.sh @@ -0,0 +1,4 @@ +#!/bin/sh +xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA-1 --off --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off --output DP-2-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-2-2 --off --output DP-2-3 --off + +sleep 5 diff --git a/src/sh/docked/docked_10feh.sh b/src/sh/docked/docked_10feh.sh new file mode 100755 index 0000000..2f13c02 --- /dev/null +++ b/src/sh/docked/docked_10feh.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +feh --bg-scale ~/.local/share/backgrounds/bg.png diff --git a/src/sh/docked/docked_20polybar.sh b/src/sh/docked/docked_20polybar.sh new file mode 100755 index 0000000..c59cf0c --- /dev/null +++ b/src/sh/docked/docked_20polybar.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +SCRIPT_DIR=$(dirname $(realpath $0)) + +pkill -9 polybar +i3-msg exec $SCRIPT_DIR/_docked_polybar.sh # _ prevents from running in loop |
