-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxsession_archlinux
executable file
·47 lines (34 loc) · 1.02 KB
/
xsession_archlinux
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$!/usr/bin/env bash
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH
# Mouse related
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 0
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Accel Speed' 0.6
#xinput --set-prop "Synaptics TM3075-002" "Device Accel Profile" 1
#xset mouse 100 5
# Screen blanking
xset -dpms
xset b noblank
# Keyboard related
xset r rate 300 30
setxkbmap -layout us,fi -option grp:caps_toggle
if [ -x dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
picom -b
xmodmap ~/.Xmodmap
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
nm-applet &
xfce4-power-manager &
sbxkb &
pa-applet &
#xautolock -time 10 -locker i3lock &
# Start bluetooth manager
/bin/blueman-applet &
~/bin/monitor_config.sh
if [ $(pgrep -u "$USER" ssh-agent | wc -l) -eq 0 ]; then
ssh-agent -t 48h > "${HOME}/.ssh/agent.env"
fi
[[ -z $SSH_AUTH_SOCK ]] && \
. "${HOME}/.ssh/agent.env" >/dev/null
eval i3