blob: dc6f35b85b65c3d1d96466e36169f26673144ad2 (
plain)
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
56
57
58
59
60
61
62
63
64
65
|
#!/usr/bin/env bash
set -e
# Disable beeping
xset b off
setxkbmap -layout us -variant altgr-intl
xrdb ~/.Xresources
# xmodmap .Xmodmap
#xcape -e "Control_R=Escape"
nm-applet &
dunst &
play ~/Winsounds/login.wav -q &
# set wallpaper
setwall --config $WALLCONFIG
# Cursor thing
xsetroot -cursor_name left_ptr
# Set dbus display variable
# dbus-update-activation-environment --systemd DISPLAY
# sleep 10 && oneko -idle 450 &
args="$LOPTS"
for arg in $args
do
echo $arg
case $arg in
jpinput)
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
fcitx5 --replace -d &
;;
panel)
echo starting panel
polybar main &
;;
composer)
echo starting comp
xcompmgr &
;;
gnome-keyring)
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets) &
;;
screensaver)
xss-lock -- $HOME/Scripts/lock.sh &
;;
autorandr)
autorandr -c
;;
autorun)
~/.xautorun
;;
esac
done
# Please do not block
|