diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2025-03-31 12:16:47 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2025-03-31 12:16:47 -0400 |
commit | 4ccdb6fb1f53bc6c799ece8c2f03a0fede093acd (patch) | |
tree | 9d3a73a81547fff442263c28bdfd9d1e98895d5d /.config/screenlayout | |
parent | f4c4550e327d9090c82a735d39d104d0bedb602d (diff) |
config cleanup
Diffstat (limited to '.config/screenlayout')
-rwxr-xr-x | .config/screenlayout/quick-presentation | 20 | ||||
-rwxr-xr-x | .config/screenlayout/workstation-dualmon | 3 | ||||
-rwxr-xr-x | .config/screenlayout/workstation-singlemon | 3 |
3 files changed, 0 insertions, 26 deletions
diff --git a/.config/screenlayout/quick-presentation b/.config/screenlayout/quick-presentation deleted file mode 100755 index 8a8123b..0000000 --- a/.config/screenlayout/quick-presentation +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -mainmon="eDP" - -# List monitors with xrandr -# Keep all linues that contain " connected" -# Remove the main monitor from the list -# Remove all disconnected monitors -# Delete empty lines -# Get the first non-main monitor -# Sanitize the output (keep only the monitor name) -othermon="$(xrandr | grep " connected" | - sed "s/.*$mainmon\s.*//g; - /^$/d; - s/\([A-Z0-9]\+\) .*/\1/g" | - head -n 1)" - -xrandr --output "$mainmon" --auto --output "$othermon" --auto --above "$mainmon" - -makewall diff --git a/.config/screenlayout/workstation-dualmon b/.config/screenlayout/workstation-dualmon deleted file mode 100755 index 08c080f..0000000 --- a/.config/screenlayout/workstation-dualmon +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -xrandr --output eDP --primary --mode 2256x1504 --pos 2560x0 --rotate normal --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --mode 2560x1080 --pos 0x0 --rotate inverted --output DisplayPort-3 --off --output DisplayPort-4 --off --output DisplayPort-5 --off --output DisplayPort-6 --off --output DisplayPort-7 --off -makewall diff --git a/.config/screenlayout/workstation-singlemon b/.config/screenlayout/workstation-singlemon deleted file mode 100755 index e75dd9a..0000000 --- a/.config/screenlayout/workstation-singlemon +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -xrandr --output eDP --primary --mode 2256x1504 --pos 0x0 --rotate normal --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --off --output DisplayPort-3 --off --output DisplayPort-4 --off --output DisplayPort-5 --off --output DisplayPort-6 --off --output DisplayPort-7 --off -makewall |