-
Notifications
You must be signed in to change notification settings - Fork 2
/
.xinitrc
36 lines (25 loc) · 807 Bytes
/
.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
#!/bin/bash
# Setup HiDPI scaling vars as needed
source setdpi
# Load Global X settings (Terminal config, fonts, etc)
xrdb -merge ~/.Xresources
# Load system-specific keyboard/screen config
host_config="$HOME/.host_config/$(cat /etc/hostname)"
[[ -f "$host_config/xbindkeys" ]] && xbindkeys -f "$host_config/xbindkeys"
[[ -f "$host_config/screenlayout.sh" ]] && source "$host_config/screenlayout.sh"
# Let gnupg know about our new xorg tty
gpg-connect-agent updatestartuptty /bye
# Start compositer
compton &
# Set Wallpaper
nitrogen --set-scaled ~/.wallpaper/tags.jpg
# Launch Browser
qutebrowser &
# Terminal Setup
kitty &
# Automatically lock screen
xautolock -time 1 -locker '/usr/bin/slock' &
# Enable USBGuard QT Applet to approve USB devices
usbguard-applet-qt &
# Start Window Manager
i3