summaryrefslogtreecommitdiffstats
path: root/.config/qtile/autorc
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
commit45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch)
treeb564c1c43920def6641cd482a7b4dca453dbc043 /.config/qtile/autorc
parent07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff)
downloaddotfiles-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/autorc31
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
3function 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
15function caps_to_esc(){ xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'; }
16
17function start() {
18 killall $1
19 sleep .5
20 $($1 $2) &
21}
22
23# monitor_settings
24caps_to_esc
25
26start nitrogen "--restore"
27start picom ""
28start spotifyd ""
29start rclone "mount remote:/sync /home/jakub/Sync"
30start emacs "--daemon"
31xinput set-prop 11 344 1