diff --git a/.config/xorg/xinitrc b/.config/xorg/xinitrc index 8af1326..965d4f4 100644 --- a/.config/xorg/xinitrc +++ b/.config/xorg/xinitrc @@ -7,9 +7,16 @@ xrandr --newmode "3000x2000_48.00" 405.25 3000 3232 3552 4104 2000 2003 2013 205 xrandr --addmode eDP-1 3000x2000_48.00 xrandr --output eDP-1 --mode 3000x2000_48.00 --primary +# Export terminal colors +$(xrdb -query | awk '/^*.color/{print "export " toupper(substr($1, 3, length($1) - 3)) "=" $2}') +# Example: *.color0: #282a2e -> export COLOR0=#282a2e + +# Export wm colors +$(xrdb -query | awk '/Wmcolor./{print "export " toupper(substr($1, 9, length($1) - 9)) "=" $2}') +# Example: Wmcolor.bgcolor: #404552 -> export BGCOLOR=#404552 + # Program starting dunst & -lxsession & # Qt application scaling export QT_AUTO_SCREEN_SCALE_FACTOR=0 @@ -31,12 +38,4 @@ setxkbmap -option '' # Swap capslock with escape setxkbmap -option caps:swapescape -# Export terminal colors -$(xrdb -query | awk '/^*.color/{print "export " toupper(substr($1, 3, length($1) - 3)) "=" $2}') -# Example: *.color0: #282a2e -> export COLOR0=#282a2e - -# Export wm colors -$(xrdb -query | awk '/Wmcolor./{print "export " toupper(substr($1, 9, length($1) - 9)) "=" $2}') -# Example: Wmcolor.bgcolor: #404552 -> export BGCOLOR=#404552 - exec i3 diff --git a/packages b/packages index e02d73c..47a9d06 100644 --- a/packages +++ b/packages @@ -52,7 +52,6 @@ libnotify-id libva-intel-driver linux-lts lxappearance -lxsession mariadb moka-icon-theme-git mpv