From 7d193a44535ec87414ff31c156c8d69a226f78cf Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Tue, 19 Jan 2021 16:42:18 +0100 Subject: [PATCH] Use pywal for colors Signed-off-by: Severin Kaderli --- .install/symlinks.sh | 1 + system/.config/X11/xresources | 13 +------------ system/.config/X11/xsetup | 2 ++ system/.config/kitty/kitty.conf | 22 +++------------------- system/.config/polybar/config | 11 +++++++++-- 5 files changed, 16 insertions(+), 33 deletions(-) diff --git a/.install/symlinks.sh b/.install/symlinks.sh index 0b50fc5..da96bf7 100644 --- a/.install/symlinks.sh +++ b/.install/symlinks.sh @@ -39,6 +39,7 @@ CONFIG_LINKED_FILES_HOME=( ".config/polybar" ".config/python" ".config/redshift" + ".config/rofi" ".config/sqlite3" ".config/starship" ".config/streamlink" diff --git a/system/.config/X11/xresources b/system/.config/X11/xresources index 65a1a41..ef453c8 100644 --- a/system/.config/X11/xresources +++ b/system/.config/X11/xresources @@ -13,18 +13,7 @@ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ROFI Color theme !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -rofi.color-enabled: true -rofi.color-window: #080808, #080808, #1e2529 -rofi.color-normal: #080808, #c1c1c1, #080808, #394249, #ffffff -rofi.color-active: #080808, #80cbc4, #080808, #394249, #80cbc4 -rofi.color-urgent: #080808, #ff1844, #080808, #394249, #ff1844 -rofi.seperator-style: solid -rofi.opacity: 100 -rofi.location: 3 -rofi.xoffset: -10 -rofi.yoffset: 45 -rofi.fixed-num-lines: false -rofi.width: 25 + Sxiv.background: #000000 diff --git a/system/.config/X11/xsetup b/system/.config/X11/xsetup index f58cf38..2edb757 100644 --- a/system/.config/X11/xsetup +++ b/system/.config/X11/xsetup @@ -30,7 +30,9 @@ dunst & ibus-daemon -drx # Merge .Xresources on boot +wal --theme tempus_future xrdb -merge "${XDG_CONFIG_HOME}/X11/xresources" +xrdb -merge "${XDG_CACHE_HOME}/wal/colors.Xresources" dbus-update-activation-environment --systemd DISPLAY eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)" diff --git a/system/.config/kitty/kitty.conf b/system/.config/kitty/kitty.conf index a88a978..e1d9eeb 100644 --- a/system/.config/kitty/kitty.conf +++ b/system/.config/kitty/kitty.conf @@ -6,26 +6,10 @@ bold_italic_font JetBrainsMono Nerd Font font_size 14 window_padding_width 2 -background_opacity 0.67 +#background_opacity 0.67 cursor_shape beam -color0 #252525 -color1 #ff5252 -color2 #c3d82c -color3 #ffd740 -color4 #40c4ff -color5 #ff4081 -color6 #70c0ba -color7 #eaeaea +enable_audio_bell no -color8 #252525 -color9 #ff5252 -color10 #c3d82c -color11 #ffd740 -color12 #40c4ff -color13 #ff4081 -color14 #54ced6 -color15 #ffffff - -enable_audio_bell no \ No newline at end of file +include ~/.cache/wal/colors-kitty.conf diff --git a/system/.config/polybar/config b/system/.config/polybar/config index 98c41ce..e60e10f 100644 --- a/system/.config/polybar/config +++ b/system/.config/polybar/config @@ -16,10 +16,17 @@ [settings] padding = 4 # 60% alpha -background-color = #AA080808 -foreground-color = #A1B0B8 +background-color = ${xrdb:color0:#222} +foreground-color = ${xrdb:color7:#222} bar-height = 35 +#background = ${xrdb:color0:#222} +#foreground = ${xrdb:color7:#222} +#foreground-alt = ${xrdb:color7:#222} +#primary = ${xrdb:color1:#222} +#secondary = ${xrdb:color2:#222} +#alert = ${xrdb:color3:#222} + ####################################### # Top bar #######################################