-
Notifications
You must be signed in to change notification settings - Fork 3
/
.profile
executable file
·51 lines (41 loc) · 1.16 KB
/
.profile
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
#!/bin/sh
# Default
export EDITOR=micro
export VISUAL=micro
# Java theme
export _JAVA_AWT_WM_NONREPARENTING=1
# GTK wayland
export GTK_CSD=0
# QT wayland
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export QT_QPA_PLATFORM="wayland"
#export QT_QPA_PLATFORM="xcb"
# fix for VMSVGA graphics controller
#export WLR_NO_HARDWARE_CURSORS=1
# App
## micro
export MICRO_TRUECOLOR=1
## firefox
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
## pass
source ~/.password-store
## gpg
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
# export TERM="xterm-256color"
# Launch WM
if [ "$XDG_SESSION_TYPE" = "tty" ] && [ "$XDG_SESSION_ID" = "1" ];
then
light -S 60
export TERM_COMMAND="foot"
export GTK_THEME=Matcha-dark-sea
`sleep 3 && \
gsettings set org.gnome.desktop.interface gtk-theme Matcha-dark-sea; \
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' \
gsettings set org.gnome.desktop.interface icon-theme AdwaitaLegacy; \
gsettings set org.gnome.desktop.interface cursor-theme Breeze; \
gsettings set org.gnome.desktop.interface font-name "Roboto 11"` &
dbus-run-session dwl
fi