-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.xinitrc
More file actions
executable file
·32 lines (27 loc) · 769 Bytes
/
Copy path.xinitrc
File metadata and controls
executable file
·32 lines (27 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
systemctl --user import-environment DISPLAY
export SSH_AUTH_SOCK
function base_settings() {
setxkbmap -layout gb
xset r rate 250 100
xsetroot -cursor_name left_ptr
xrdb -merge ~/.Xresources
}
case $(cat /etc/hostname) in
XPS15)
xinput set-prop "VEN_04F3:00 04F3:32AA Touchpad" "libinput Tapping Enabled" 1
xinput set-prop "VEN_04F3:00 04F3:32AA Touchpad" "libinput Natural Scrolling Enabled" 1
base_settings
export XMONAD_MODE="xmonad"
date >> ~/.cache/xmonad.log
exec xmonad >> ~/.cache/xmonad.log
;;
Desktop)
base_settings
export XMONAD_MODE="xmonad"
date >> ~/.cache/xmonad.log
exec xmonad >> ~/.cache/xmonad.log
;;
*)
;;
esac