mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 15:36:11 +01:00
78 lines
1.4 KiB
Bash
78 lines
1.4 KiB
Bash
#!/bin/sh
|
|
|
|
# screen layout for zion
|
|
$HOME/.config/screenlayout/main.sh
|
|
|
|
# no bell
|
|
xset -b
|
|
|
|
# theming
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
export DESKTOP_SESSION=plasma
|
|
export XDG_CURRENT_DESKTOP=dwm
|
|
|
|
# imf config (fcitx5)
|
|
export GTK_IM_MODULE=fcitx
|
|
export QT_IM_MODULE=fcitx
|
|
export XMODIFIERS=@im=fcitx
|
|
# export GLFW_IM_MODULE=ibus
|
|
|
|
# mouse cursor
|
|
xsetroot -cursor_name left_ptr &
|
|
|
|
# compositor
|
|
picom -b --vsync &
|
|
|
|
# fix java window issues
|
|
export _JAVA_AWT_WM_NONREPARENTING=1 &
|
|
|
|
# keyboard layout
|
|
setxkbmap pl &
|
|
fcitx5 -d &
|
|
|
|
# local fonts in ~/.fonts
|
|
xset +fp /usr/share/fonts/local &
|
|
xset +fp /usr/share/fonts/misc &
|
|
xset +fp ~/.fonts &
|
|
xset fp rehash &
|
|
fc-cache -fv &
|
|
|
|
# powersaving options
|
|
xset +dpms
|
|
xset dpms 1200 1800 2100 &
|
|
xset s on &
|
|
xset s 900 &
|
|
|
|
# auth
|
|
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
|
|
gnome-keyring-daemon --start --components=secrets,pkcs11,ssh
|
|
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
|
|
dbus-update-activation-environment --all
|
|
|
|
for L in 64 ''; do
|
|
A=/usr/lib$L/seahorse/seahorse-ssh-askpass
|
|
[[ -x $A ]] && export SSH_ASKPASS=$A && break
|
|
done
|
|
|
|
# theming and colors
|
|
bash $HOME/.fehbg &
|
|
xrdb -merge ~/.Xresources
|
|
|
|
# screen lock
|
|
xss-lock -v -- betterlockscreen -l --time-format '%I:%M %p' &
|
|
|
|
# xdg desktop portal
|
|
/usr/lib/xdg-desktop-portal-gtk &
|
|
|
|
# notification daemon
|
|
dunst &
|
|
|
|
# screenshot daemon
|
|
flameshot &
|
|
|
|
# dwm status bar
|
|
bash $HOME/.config/dwm/bar.sh & disown
|
|
|
|
# dwm
|
|
exec dwm
|