summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc39
1 files changed, 39 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..3be0323
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,39 @@
1# Check every minute
2while true; do
3 battery-checknow &
4 sleep 0.01
5 event list now | sed -E 's/....-..-.. .{1,2}:..[[:space:]]*//g' | \
6 while read text; do
7 notify push "$text"
8 done &
9 sleep 0.01 &
10
11 if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then
12 iwctl station wlan0 disconnect
13 fi
14
15 xroot-update
16
17 sleep $((60 - $(date +%-S)))
18done &
19
20# Extra settings
21xsetroot -cursor_name left_ptr &
22setxkbmap -option compose:ralt
23setxkbmap -option caps:swapescape
24xbacklight -set 30
25xset s off -dpms
26xrdb -merge .Xresources
27
28# Background and time
29sleep 0.05
30xwallpaper --zoom ~/box/pictures/wallpapers/marmolada.jpg
31sleep 0.01
32event list past | sed -E 's/....-..-.. .{1,2}:..[[:space:]]*//g' | \
33while read text; do
34 notify push "$text"
35done &
36
37xbanish &
38telegram-desktop &
39exec dwm

Generated with cgit - Back to sebastiano.tronto.net