Add .zprofile

This commit is contained in:
Riyyi
2019-05-06 18:41:02 +02:00
parent fa570b808a
commit 0c71f5a09c
4 changed files with 56 additions and 60 deletions
-16
View File
@@ -7,26 +7,10 @@ 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 &
redshift &
# Qt application scaling
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=2
# GTK application scaling
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
# Screensaver
xset s off
xset -dpms