From 786dc619baa61b1e24f6bbd36634ca3002cfb209 Mon Sep 17 00:00:00 2001 From: 0scar Date: Wed, 8 Dec 2021 09:35:08 +0100 Subject: Update X-setup --- .config/x/authority | 1 + .config/x/defaults | 1 + .config/x/xinitrc | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 120000 .config/x/authority create mode 100644 .config/x/defaults create mode 100644 .config/x/xinitrc (limited to '.config/x') diff --git a/.config/x/authority b/.config/x/authority new file mode 120000 index 0000000..f9883c5 --- /dev/null +++ b/.config/x/authority @@ -0,0 +1 @@ +/run/user/1000/Xauthority \ No newline at end of file diff --git a/.config/x/defaults b/.config/x/defaults new file mode 100644 index 0000000..134f3f1 --- /dev/null +++ b/.config/x/defaults @@ -0,0 +1 @@ +*.font: "DejaVuSansMono Nerd Font Mono:pixelsize=16:antialias=true:autohint=true:style=book" diff --git a/.config/x/xinitrc b/.config/x/xinitrc new file mode 100644 index 0000000..38dfe9a --- /dev/null +++ b/.config/x/xinitrc @@ -0,0 +1,23 @@ +# For automatic lock on suspend/hibernation +systemctl --user import-environment DISPLAY +# Notification daemon +dunst & +# Composite manager, for blur and other neat effects +picom --blur-method dual_kawase --blur-strength 2 --experimental-backends --backend glx & + +# Disable mouse acceleration +xset m 0 0 & +xset r rate 300 50 & + +xmodmap -e "clear lock" +xmodmap -e "keysym Multi_key = Multi_key Caps_Lock" +xmodmap -e "keycode 9 = Multi_key" +xmodmap -e "keycode 108 = Multi_key" +xmodmap -e "keycode 66 = Escape" + +autorandr -c + +feh --no-fehbg --bg-scale ~/pictures/background.png +dwmblocks & +xrdb $XDEFAULTS +exec /usr/local/bin/dwm -- cgit v1.3