-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xinitrc
executable file
·55 lines (40 loc) · 1.09 KB
/
.xinitrc
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
47
48
49
50
51
52
53
54
55
#!/bin/sh
# PATH
export PATH=$PATH:$HOME/.local/bin
export BROWSER=/usr/bin/firefox
# For japanese.
export GTK_IM_MODULE='fcitx'
export QT_IM_MODULE='fcitx'
export SDL_IM_MODULE='fcitx'
export XMODIFIERS='@im=fcitx'
fcitx5 -d &
# Hotkeys.
sxhkd &
# Start Compositor.
picom --experimental-backends -b &
# Setup display positions.
xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off &
# Setup background.
feh --bg-fill ~/.config/wall &
# Eye candy.
flashfocus &
# Start Notification center
deadd-notification-center &
# Media keys.
xbindkeys &
# Start Drive
insync start &
nextcloud --background &
# Polybar.
$HOME/.config/polybar/launch.sh &
# Disable black screen when idle.
xset s off
xset s off -dpms
# Gnome keyring
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
# Change mouse sensitivity.
#xinput --set-prop 13 "libinput Accel Speed" -1
#xinput --set-prop 17 "libinput Accel Speed" -1
# Start the WM.
bspwm