-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdotxprofile
35 lines (29 loc) · 1.11 KB
/
dotxprofile
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
[[ -f $HOME/.Xresources ]] && xrdb -merge $HOME/.Xresources
export PATH=$HOME/languages/go/bin:$PATH
xrandr %%xrandr
clipd 2> /tmp/clipd.log &
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export XDG_CURRENT_DESKTOP=gnome
xsetroot -cursor_name left_ptr
setroot -fw %%wallpaper
redshift -l 51.12493:17.05357 -m vidmode &
canto-daemon &
systemctl --user start pulseaudio
export QT_QPA_PLATFORMTHEME=gtk2
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
if uname -v | grep -q "NixOS"; then
FONTDIR="/run/current-system/sw/share/X11-fonts"
else
FONTDIR="/usr/share/fonts/TTF"
fi
GEOMETRY="0x16+0+0"
MONITORS=$(xrandr -q | grep ' connected' | wc -l)
for i in $(seq 2 $MONITORS); do
GEOMETRY=",$GEOMETRY"
done
osop -c top.toml | gobar --geometries=$GEOMETRY --fg=0x8e8e8e --bg=0x383a3b --fonts=$FONTDIR/LiberationMono-Regular.ttf:11,$FONTDIR/LiberationMono-Bold.ttf:11 &
case "$1" in
*wingo)
osop -c wingo.toml | gobar --bottom --fg=0xff8e8e8e --bg=0xff383a3b --fonts=$FONTDIR/LiberationMono-Regular.ttf:11 &
;;
esac