mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-18 00:16:10 +01:00
desktop & packages
This commit is contained in:
59
.xinitrc
Normal file
59
.xinitrc
Normal file
@@ -0,0 +1,59 @@
|
||||
#!/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
|
||||
|
||||
# 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 &
|
||||
|
||||
# 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 &
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user