-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xinitrc
executable file
·21 lines (18 loc) · 977 Bytes
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# _ _ __
# _ __(_)___ (_) /_
# | |/_/ / __ \/ / __/
# _> </ / / / / / /_
# /_/|_/_/_/ /_/_/\__/
# Xorg runtime config file.
[ -f "$HOME/.Xresources" ] && xrdb -merge "$HOME/.Xresources" # for some reason lemurs doesnt load Xresources properly (issue #153)
displayset
exec "$XDG_CONFIG_HOME/polybar/launch.sh" &
picom --config "$XDG_CONFIG_HOME/picom/picom.conf" & # picom for transparency and to reduce tearing
wired & # notification daemon
xset r rate 300 50 & # Increase xrate, speeds up key input
xbanish & # Remove mouse cursor on keypress
redshift -l "$("$XDG_SCRIPT_HOME/apitools/geoloc" | tr ',' ':')" &
setxkbmap -option caps:super -option altwin:menu_win && \ # Map caps to mod, menu button to win, details: /usr/share/X11/xkb/rules/evdev.lst
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' # Mod by itself is now escape, TODO: do the same for right window button
setbg