aboutsummaryrefslogtreecommitdiffstats
path: root/cwm/.xsession
blob: c3ae68f10f3afa6b52d59ea5fe493feb7581f73e (plain) (blame)
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
#. $HOME/.kshrc
export LC_CTYPE="en_US.UTF-8"
export XDG_RUNTIME_DIR=/tmp/run/user/`id -u`
export PATH=$HOME/bin:$PATH
mkdir -p $XDG_RUNTIME_DIR

# necessary for pinentry-gnome and probably other apps
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
    eval `dbus-launch --sh-syntax --exit-with-x11`
fi

xrdb -merge ~/.Xresources

xmodmap ~/.Xmodmap
# Fix for external mouse buttons (breaks trackpad)
#xmodmap -e "pointer = 1 2 3 8 9 10 11 4 5 6 7 12 13 14 15 16"

#xidle -no -program "/usr/X11R6/bin/xlock" -timeout 300 &
xautolock -locker "/usr/X11R6/bin/xlock" -time 5 -killtime 15 -killer "/usr/sbin/ZZZ" &
#xidle -no -program "/usr/sbin/ZZZ" -timeout 905 &

xset b off  # disable audible beep
xset dpms 300 600 900
xbacklight =5 &

clipmenud &
dunst &

~/example.sh | lemonbar-xft -f "Source Code Pro" -f 'Font Awesome 6 Free' -f 'Font Awesome 6 Brands' -f 'Font Awesome 6 Free Solid' -b -p &

if [ -x ~/.screenlayout/default.sh ]; then
    ./.screenlayout/default.sh
fi

xwallpaper --zoom /home/jason/Sync/Files/wallpaper/Photo\ by\ Pramod\ Tiwari\ \(uvld3ZQxK1g\).jpg

if [ -x ~/bin/termbar ]; then
    # cinema display @ 1080
    #-geometry 284x1+0+1419 \
    xterm \
        -uc \
        -geometry 281x1+0+1482 \
        -bg "black" \
        -fg "grey" \
        -fa "mono:size=5" \
        -name termbar \
        -class termbar \
        -T termbar \
        -e ~/bin/termbar &
fi

exec cwm