diff options
Diffstat (limited to 'src/sh/undocked')
| -rwxr-xr-x | src/sh/undocked/_undocked_polybar.sh | 3 | ||||
| -rwxr-xr-x | src/sh/undocked/undocked_00layout.sh | 2 | ||||
| -rwxr-xr-x | src/sh/undocked/undocked_10feh.sh | 3 | ||||
| -rwxr-xr-x | src/sh/undocked/undocked_20polybar.sh | 6 |
4 files changed, 14 insertions, 0 deletions
diff --git a/src/sh/undocked/_undocked_polybar.sh b/src/sh/undocked/_undocked_polybar.sh new file mode 100755 index 0000000..639fd70 --- /dev/null +++ b/src/sh/undocked/_undocked_polybar.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +polybar bar diff --git a/src/sh/undocked/undocked_00layout.sh b/src/sh/undocked/undocked_00layout.sh new file mode 100755 index 0000000..fdc7b0b --- /dev/null +++ b/src/sh/undocked/undocked_00layout.sh @@ -0,0 +1,2 @@ +#!/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 --off --output DP-2-2 --off --output DP-2-3 --off diff --git a/src/sh/undocked/undocked_10feh.sh b/src/sh/undocked/undocked_10feh.sh new file mode 100755 index 0000000..2f13c02 --- /dev/null +++ b/src/sh/undocked/undocked_10feh.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +feh --bg-scale ~/.local/share/backgrounds/bg.png diff --git a/src/sh/undocked/undocked_20polybar.sh b/src/sh/undocked/undocked_20polybar.sh new file mode 100755 index 0000000..aeaced5 --- /dev/null +++ b/src/sh/undocked/undocked_20polybar.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +SCRIPT_DIR=$(dirname $(realpath $0)) + +pkill -9 polybar +i3-msg exec $SCRIPT_DIR/_undocked_polybar.sh # _ prevents from running in loop |
