~jbauer/dotfiles

ref: daebf07b03e1fe9fe376eb75d5dd061c8fa047d3 dotfiles/.xinitrc -rw-r--r-- 869 bytes
daebf07bJake Bauer Update README 5 months ago
                                                                                
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
#!/bin/sh

# Set DPI
# xrandr --fb 5760x3240 \
#     --output HDMI-1 --mode 1920x1080 \
#     --output DVI-D-1 --mode 1920x1080 --scale 2 --pos 1920x0

# Load Xresources
xrdb -merge ~/.Xresources &

# Ensure mouse acceleration is off
xset m 0 0

# Disable screen blanking
xset s off -dpms

# Disable bel
xset -b

# Start SSH Agent (with environment variables)
eval "$(ssh-agent)"

# Set caps lock to be compose key
setxkbmap -option "compose:caps" &

# Set default cursor shape to "regular" mouse cursor
xsetroot -cursor_name left_ptr &

# Hide mouse cursor after n seconds of inactivity
pkill unclutter; unclutter -idle 3 -root &

# Start compositor
pkill picom; picom &

# Start notification daemon
pkill dunst; dunst &

# Start status bar
pkill status; status &

# Set background image
feh --bg-fill --no-fehbg ~/media/pics/wallpapers/iceberg-lines-4k.png

exec dwm