mirror of
https://github.com/Cametendo/MyI3Config-fork.git
synced 2026-03-18 03:40:20 +01:00
removed redudant files
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Toggle between Swiss German (CH_DE) and US Workman layouts
|
||||
CURRENT=$(setxkbmap -query | grep layout | awk '{print $2}')
|
||||
if [ "$CURRENT" = "ch" ]; then
|
||||
setxkbmap -layout us -variant workman
|
||||
else
|
||||
setxkbmap -layout ch -variant de
|
||||
fi
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
# Get screen resolution
|
||||
res_w=$(xdpyinfo | awk '/dimensions/{print $2}' | cut -d'x' -f1)
|
||||
res_h=$(xdpyinfo | awk '/dimensions/{print $2}' | cut -d'x' -f2)
|
||||
|
||||
# Compute margins if needed
|
||||
w_margin=$((res_w / 4))
|
||||
h_margin=$((res_h / 4))
|
||||
|
||||
# Launch wlogout with margins
|
||||
wlogout -T $h_margin -B $h_margin
|
||||
Reference in New Issue
Block a user