diff options
| author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
|---|---|---|
| committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
| commit | 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch) | |
| tree | b564c1c43920def6641cd482a7b4dca453dbc043 /.config/qtile/autorc | |
| parent | 07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff) | |
| download | dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip | |
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to '.config/qtile/autorc')
| -rwxr-xr-x | .config/qtile/autorc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/.config/qtile/autorc b/.config/qtile/autorc deleted file mode 100755 index c54f683..0000000 --- a/.config/qtile/autorc +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | function monitor_settings() { | ||
| 4 | sleep .5 | ||
| 5 | monitor_status=$(xrandr | grep "HDMI-1-4 connected" | wc -l) | ||
| 6 | |||
| 7 | if [ $monitor_status == 1 ]; | ||
| 8 | then | ||
| 9 | # xrandr --auto | ||
| 10 | # xrandr --output eDP-1 --off | ||
| 11 | xrandr --output eDP-1-1 --auto --output HDMI-0 --auto --left-of eDP-1-1 | ||
| 12 | fi | ||
| 13 | } | ||
| 14 | |||
| 15 | function caps_to_esc(){ xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'; } | ||
| 16 | |||
| 17 | function start() { | ||
| 18 | killall $1 | ||
| 19 | sleep .5 | ||
| 20 | $($1 $2) & | ||
| 21 | } | ||
| 22 | |||
| 23 | # monitor_settings | ||
| 24 | caps_to_esc | ||
| 25 | |||
| 26 | start nitrogen "--restore" | ||
| 27 | start picom "" | ||
| 28 | start spotifyd "" | ||
| 29 | start rclone "mount remote:/sync /home/jakub/Sync" | ||
| 30 | start emacs "--daemon" | ||
| 31 | xinput set-prop 11 344 1 | ||
