diff options
-rw-r--r-- | .config/dunst/dunstrc | 26 | ||||
-rw-r--r-- | .config/picom.conf | 3 | ||||
-rw-r--r-- | .config/rofi/config.rasi | 10 | ||||
-rw-r--r-- | .config/zathura/colors | 23 | ||||
-rw-r--r-- | .config/zathura/zathurarc | 24 | ||||
-rwxr-xr-x | .local/share/bin/mode | 110 |
6 files changed, 114 insertions, 82 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 1f4ae55..2c9d26e 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -51,18 +51,18 @@ mouse_right_click = close_current # vim: ft=cfg frame_color = "#DE9DAC" - [urgency_low] - background = "#121213" - foreground = "#DE9DAC" - timeout = 10 +[urgency_low] +background = "#121213" +foreground = "#DE9DAC" +timeout = 10 - [urgency_normal] - background = "#121213" - foreground = "#fdf9f7" - timeout = 10 +[urgency_normal] +background = "#121213" +foreground = "#fdf9f7" +timeout = 10 - [urgency_critical] - background = "#DE9DAC" - foreground = "#121213" - frame_color = "#DE9DAC" - timeout = 0 +[urgency_critical] +background = "#DE9DAC" +foreground = "#121213" +frame_color = "#DE9DAC" +timeout = 0 diff --git a/.config/picom.conf b/.config/picom.conf index f3ee3cc..992acc7 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -12,12 +12,13 @@ shadow-exclude = [ wintypes: { dock = { shadow = false; - corner-radius = 2; + corner-radius = 0; opacity = 0.999; }; desktop = { shadow = false; + corner-radius = 0; }; tooltip = { diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 20a6bba..099ce50 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,7 +1,7 @@ configuration { modi: "drun,run"; - lines: 4; - font: "JetBrainsMono Nerd Font 10"; + lines: 6; + font: "JetBrainsMono Nerd Font 9"; matching: "fuzzy"; separator-style: "none"; hide-scrollbar: true; @@ -16,9 +16,9 @@ configuration { text-color: ${ROFIFGCOLOR}; spacing: 0; width: 450; - line-padding: 5; - line-margin: 5; - --padding: 12px; + line-padding: 0; + line-margin: 0; + --padding: 8px; } inputbar { diff --git a/.config/zathura/colors b/.config/zathura/colors new file mode 100644 index 0000000..c4bb3e0 --- /dev/null +++ b/.config/zathura/colors @@ -0,0 +1,23 @@ +set default-bg "#121213" +set statusbar-bg "#121213" +set inputbar-bg "#121213" +set completion-highlight-fg "#121213" +set completion-bg "#121213" +set notification-error-fg "#121213" +set notification-warning-fg "#121213" +set notification-fg "#121213" +set recolor-lightcolor "#121213" + +set default-fg "#fdf9f7" +set inputbar-fg "#fdf9f7" +set completion-fg "#fdf9f7" +set statusbar-fg "#fdf9f7" +set recolor-darkcolor "#fdf9f7" + +set notification-error-bg "#F7AFC0" +set notification-warning-bg "#F7AFC0" +set completion-highlight-bg "#F7AFC0" +set highlight-color "#F7AFC0" + +set highlight-active-color "#C3AFF7" +set notification-bg "#C3AFF7" diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 8c983c6..78fc496 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -11,27 +11,5 @@ set recolor "true" set recolor-reverse-video "true" set recolor-keephue "true" +include ./colors -set default-bg "#121213" -set statusbar-bg "#121213" -set inputbar-bg "#121213" -set completion-highlight-fg "#121213" -set completion-bg "#121213" -set notification-error-fg "#121213" -set notification-warning-fg "#121213" -set notification-fg "#121213" -set recolor-lightcolor "#121213" - -set default-fg "#f9ece8" -set inputbar-fg "#f9ece8" -set completion-fg "#f9ece8" -set statusbar-fg "#f9ece8" -set recolor-darkcolor "#f9ece8" - -set notification-error-bg "#DE9DAC" -set notification-warning-bg "#DE9DAC" -set completion-highlight-bg "#DE9DAC" -set highlight-color "#DE9DAC" - -set highlight-active-color "#C3AFF7" -set notification-bg "#C3AFF7" diff --git a/.local/share/bin/mode b/.local/share/bin/mode index 30d94d5..5668d3e 100755 --- a/.local/share/bin/mode +++ b/.local/share/bin/mode @@ -10,52 +10,81 @@ switch_xrdb() { switch_dunst() { read -r -d '' conf << EOF - frame_color = "$(get_color color1)" - - [urgency_low] - background = "$(get_color background)" - foreground = "$(get_color color1)" - timeout = 10 - - [urgency_normal] - background = "$(get_color background)" - foreground = "$(get_color foreground)" - timeout = 10 - - [urgency_critical] - background = "$(get_color color1)" - foreground = "$(get_color background)" - frame_color = "$(get_color color1)" - timeout = 0 +frame_color = "$(get_color color1)" + +[urgency_low] +background = "$(get_color background)" +foreground = "$(get_color color1)" +timeout = 10 + +[urgency_normal] +background = "$(get_color background)" +foreground = "$(get_color foreground)" +timeout = 10 + +[urgency_critical] +background = "$(get_color color1)" +foreground = "$(get_color background)" +frame_color = "$(get_color color1)" +timeout = 0 EOF echo "$conf" | cat ~/.config/dunst/base - > ~/.config/dunst/dunstrc } +switch_zathura() { + read -r -d '' conf << EOF +set default-bg "$(get_color background)" +set statusbar-bg "$(get_color background)" +set inputbar-bg "$(get_color background)" +set completion-highlight-fg "$(get_color background)" +set completion-bg "$(get_color background)" +set notification-error-fg "$(get_color background)" +set notification-warning-fg "$(get_color background)" +set notification-fg "$(get_color background)" +set recolor-lightcolor "$(get_color background)" + +set default-fg "$(get_color foreground)" +set inputbar-fg "$(get_color foreground)" +set completion-fg "$(get_color foreground)" +set statusbar-fg "$(get_color foreground)" +set recolor-darkcolor "$(get_color foreground)" + +set notification-error-bg "$(get_color color9)" +set notification-warning-bg "$(get_color color9)" +set completion-highlight-bg "$(get_color color9)" +set highlight-color "$(get_color color9)" + +set highlight-active-color "$(get_color color13)" +set notification-bg "$(get_color color13)" +EOF + echo "$conf" > ~/.config/zathura/colors +} + reload_terms() { read -r -d '' escape_msgs << EOF - \033]11;$(get_color background)\007 - \033]10;$(get_color foreground)\007 - \033]12;$(get_color foreground)\007 - \033]14;$(get_color background)\007 - \033]13;$(get_color foreground)\007 - \033]17;$(get_color color8)\007 - \033]708;$(get_color background)\007 - \033]4;0;$(get_color color0)\007 - \033]4;1;$(get_color color1)\007 - \033]4;2;$(get_color color2)\007 - \033]4;3;$(get_color color3)\007 - \033]4;4;$(get_color color4)\007 - \033]4;5;$(get_color color5)\007 - \033]4;6;$(get_color color6)\007 - \033]4;7;$(get_color color7)\007 - \033]4;8;$(get_color color8)\007 - \033]4;9;$(get_color color9)\007 - \033]4;10;$(get_color color10)\007 - \033]4;11;$(get_color color11)\007 - \033]4;12;$(get_color color12)\007 - \033]4;13;$(get_color color13)\007 - \033]4;14;$(get_color color14)\007 - \033]4;15;$(get_color color15)\007 +\033]11;$(get_color background)\007 +\033]10;$(get_color foreground)\007 +\033]12;$(get_color foreground)\007 +\033]14;$(get_color background)\007 +\033]13;$(get_color foreground)\007 +\033]17;$(get_color color8)\007 +\033]708;$(get_color background)\007 +\033]4;0;$(get_color color0)\007 +\033]4;1;$(get_color color1)\007 +\033]4;2;$(get_color color2)\007 +\033]4;3;$(get_color color3)\007 +\033]4;4;$(get_color color4)\007 +\033]4;5;$(get_color color5)\007 +\033]4;6;$(get_color color6)\007 +\033]4;7;$(get_color color7)\007 +\033]4;8;$(get_color color8)\007 +\033]4;9;$(get_color color9)\007 +\033]4;10;$(get_color color10)\007 +\033]4;11;$(get_color color11)\007 +\033]4;12;$(get_color color12)\007 +\033]4;13;$(get_color color13)\007 +\033]4;14;$(get_color color14)\007 +\033]4;15;$(get_color color15)\007 EOF escape_msgs=$(printf "$escape_msgs" | tr -d '\n') find /dev/pts -exec sh -c "printf \"$escape_msgs\n\" > {}" \; 2> /dev/null @@ -75,6 +104,7 @@ switch_cfgs() { switch_xrdb $1 switch_dunst $1 + switch_zathura $1 echo $1 > ~/.local/share/mode/active rm ~/.local/share/mode/dark ~/.local/share/mode/light |