diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2021-12-19 17:16:48 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2021-12-19 17:16:48 +0100 |
commit | 268e376a317895ef2c3666055c750a56ae3b21c3 (patch) | |
tree | aedc66971c32961705385f01cc7906e7739e0a0a /qtile/autorc | |
parent | 5422ea7430f070323bbf8c6304567f248912781a (diff) | |
download | dotfiles-268e376a317895ef2c3666055c750a56ae3b21c3.tar.gz dotfiles-268e376a317895ef2c3666055c750a56ae3b21c3.zip |
mv qtile to .config
Diffstat (limited to 'qtile/autorc')
-rwxr-xr-x | qtile/autorc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/qtile/autorc b/qtile/autorc deleted file mode 100755 index 14969c9..0000000 --- a/qtile/autorc +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | function off_monitor_if_hdmi_plugged_in() { | ||
4 | monitor_status=$(xrandr | grep "HDMI-1-4 connected" | wc -l) | ||
5 | |||
6 | if [ $monitor_status == 1 ]; | ||
7 | then | ||
8 | xrandr --auto | ||
9 | xrandr --output eDP-1 --off | ||
10 | fi | ||
11 | } | ||
12 | |||
13 | function caps_to_esc(){ xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'; } | ||
14 | |||
15 | function start() { | ||
16 | killall $1 | ||
17 | sleep .5 | ||
18 | $($1 $2) & | ||
19 | } | ||
20 | |||
21 | off_monitor_if_hdmi_plugged_in | ||
22 | caps_to_esc | ||
23 | |||
24 | start picom "-b -D 4 --vsync" | ||
25 | start nitrogen "--restore" | ||
26 | start run_spotifyd | ||