summaryrefslogtreecommitdiff
path: root/xinitrc/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc/.xinitrc')
-rw-r--r--xinitrc/.xinitrc40
1 files changed, 40 insertions, 0 deletions
diff --git a/xinitrc/.xinitrc b/xinitrc/.xinitrc
new file mode 100644
index 0000000..1cd9aa5
--- /dev/null
+++ b/xinitrc/.xinitrc
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+export $WALLPAPER=~/wallpapers/current
+
+# Run redshift in background - dynamic tuning of color temperature
+redshift &
+
+# Keyboard settings ================================================
+
+setxkbmap \
+ -layout pl \
+ -model pc105 \
+ -option ctrl:nocaps
+# -option compose:rctrl \
+
+# Xcape - when pressed Ctrl is Esc
+xcape
+
+# ==================================================================
+
+# merge X preferences
+xrdb -merge ~/.Xresources
+
+xset +fp ~/.fonts/
+
+# Set wallpaper
+feh --bg-center ~/wallpapers/current
+
+# Run screensaver and locking when suspending
+xscreensaver -no-splash &
+xss-lock -- xscreensaver-command -lock &
+
+# Automatic removable media mounting
+udiskie --quiet --use-udisks2 &
+
+eval `ssh-agent`
+
+# Run WM
+exec i3
+