add rofi-pamixer convenience scripts for changing volume
[~bandali/configs] / .local / bin / startup-progs
CommitLineData
bfe53d9b
AB
1#!/bin/sh
2
3[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
4
5if [ -x "$(command -v xinput)" ]; then
6 xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' -0.4
7 xinput set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Natural Scrolling Enabled' 1
8 xinput set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Click Method Enabled' 0 1
9fi
10
11# setxkbmap \
12# -layout us,ir \
13# -option ctrl:nocaps \
14# -option grp:shifts_toggle
15
16setxkbmap \
17 -layout us,ir \
18 -option ctrl:swap_rwin_rctl \
19 -option grp:shifts_toggle
20
21xmodmap -e "keysym Menu = Super_R"
22
23xsetroot -cursor_name left_ptr
24xset r rate 200 45
25xset b off
26
27light -N 1
28
29[ -x "$(command -v dunst)" ] && dunst &
30[ -x "$(command -v nm-applet)" ] && nm-applet &
31[ -x "$(command -v pasystray)" ] && pasystray -a &