mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 02:08:35 +02:00
input: don't put docking logic inside input handling
We use an external binary (in `~/bin`).
This commit is contained in:
parent
81744911c4
commit
c86781c262
1 changed files with 1 additions and 8 deletions
|
@ -21,14 +21,7 @@ case "$use,$(uname -n),$name" in
|
|||
XISlaveKeyboard,zoro,"Topre Corporation Realforce 87")
|
||||
# Are we getting docked?
|
||||
sleep 2
|
||||
if xrandr | grep '^DP. connected'; then
|
||||
pkill compton
|
||||
xrandr --output eDP1 --off --output DP3 --auto --primary
|
||||
xrandr --output DP4 --auto --right-of DP3 --dpi 96
|
||||
sleep 1
|
||||
echo 'awesome.restart()' | awesome-client
|
||||
fi
|
||||
rfkill block wifi
|
||||
dock
|
||||
xkb default
|
||||
;;
|
||||
XISlaveKeyboard,zoro,"AT Translated Set 2 keyboard")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue