From 03a82e8dbd8bc9bf1f8b6bdd0cbc15db20a030eb Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 23 Aug 2020 17:34:29 +0200 Subject: [PATCH] remove legacy screenlayout stuff --- .bin/screenlayout.sh | 3 --- .config/i3/config | 2 +- .screenlayout/000-internal-only.sh | 7 ------- .screenlayout/1080p-clone.sh | 5 ----- .screenlayout/1080p-left-of-laptop.sh | 5 ----- .screenlayout/1080p-right-of-laptop.sh | 5 ----- .screenlayout/docked-2screen.sh | 13 ------------- .screenlayout/docked-3screen.sh | 13 ------------- 8 files changed, 1 insertion(+), 52 deletions(-) delete mode 100755 .bin/screenlayout.sh delete mode 100755 .screenlayout/000-internal-only.sh delete mode 100755 .screenlayout/1080p-clone.sh delete mode 100755 .screenlayout/1080p-left-of-laptop.sh delete mode 100755 .screenlayout/1080p-right-of-laptop.sh delete mode 100755 .screenlayout/docked-2screen.sh delete mode 100755 .screenlayout/docked-3screen.sh diff --git a/.bin/screenlayout.sh b/.bin/screenlayout.sh deleted file mode 100755 index 544264c..0000000 --- a/.bin/screenlayout.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -ls ~/.screenlayout | grep -v "^_" | sed "s/\.sh$//" | rofi -dmenu | sed "s|^.*$|/home/kunsi/.screenlayout/&.sh|" | xargs sh diff --git a/.config/i3/config b/.config/i3/config index 5cd8eb9..8983e86 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -112,7 +112,7 @@ bindsym Control+$mod+t move workspace to output down bindsym Control+$mod+n move workspace to output left bindsym Control+$mod+d move workspace to output right -bindsym XF86Display exec /home/kunsi/.bin/screenlayout.sh +bindsym XF86Display exec arandr bindsym $mod+Prior exec pactl set-sink-volume @DEFAULT_SINK@ +2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 bindsym $mod+Next exec pactl set-sink-volume @DEFAULT_SINK@ -2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 diff --git a/.screenlayout/000-internal-only.sh b/.screenlayout/000-internal-only.sh deleted file mode 100755 index 436ed19..0000000 --- a/.screenlayout/000-internal-only.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --off --output DP2-1 --off --output DP2-2 --off --output DP2-3 --off - -~/.fehbg - -sudo rfkill unblock wifi diff --git a/.screenlayout/1080p-clone.sh b/.screenlayout/1080p-clone.sh deleted file mode 100755 index a7002e3..0000000 --- a/.screenlayout/1080p-clone.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output DP2 --off - -~/.fehbg diff --git a/.screenlayout/1080p-left-of-laptop.sh b/.screenlayout/1080p-left-of-laptop.sh deleted file mode 100755 index 6f4de08..0000000 --- a/.screenlayout/1080p-left-of-laptop.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DP1 --off --output HDMI2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output DP2 --off - -~/.fehbg diff --git a/.screenlayout/1080p-right-of-laptop.sh b/.screenlayout/1080p-right-of-laptop.sh deleted file mode 100755 index 84b3a33..0000000 --- a/.screenlayout/1080p-right-of-laptop.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DP1 --off --output HDMI2 --mode 1920x1080 --pos 3840x0 --rotate normal --output HDMI1 --off --output DP2 --off - -~/.fehbg diff --git a/.screenlayout/docked-2screen.sh b/.screenlayout/docked-2screen.sh deleted file mode 100755 index 31822f8..0000000 --- a/.screenlayout/docked-2screen.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -xrandr --output DP2-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal -xrandr --output DP2-1 --mode 1920x1080 --pos 1920x0 --rotate normal -xrandr --output eDP1 --off -xrandr --output DP2-3 --off - - -xset s off - -~/.fehbg - -sudo rfkill block wifi diff --git a/.screenlayout/docked-3screen.sh b/.screenlayout/docked-3screen.sh deleted file mode 100755 index 8786534..0000000 --- a/.screenlayout/docked-3screen.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -xrandr --output DP2-3 --mode 1280x1024 --pos 0x0 --rotate normal -xrandr --output DP2-2 --primary --mode 1920x1080 --pos 1280x0 --rotate normal -sleep 1 -xrandr --output eDP1 --off -xrandr --output DP2-1 --mode 1920x1080 --pos 3200x0 --rotate normal - -xset s off - -~/.fehbg - -sudo rfkill block wifi