Add zathura theme

This commit is contained in:
davidovski 2023-03-31 13:05:02 +01:00
parent afffca4dd8
commit 1102720daa
6 changed files with 42 additions and 22 deletions

View File

@ -1,12 +1,23 @@
#define FG #fefefe #define FG #fefefe
#define BG #191919 #define BG #191919
! #define font1 xft:minecraft enchantment:minispace=False:size=10:antialias=true
! #define spacing -2
#define font1 xft:mononoki:minispace=False:size=10:antialias=true #define font1 xft:mononoki:minispace=False:size=10:antialias=true
#define spacing 1
#define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10 #define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10
#define font3 xft:Noto Sans Mono CJK TC:minispace=False:size=10 #define font3 xft:Noto Sans Mono CJK TC:minispace=False:size=10
#define font4 xft:Noto Color Emoji:style=regular:size=10 #define font4 xft:Noto Color Emoji:style=regular:size=10
*.foreground: FG URxvt.letterSpace: spacing
URxvt.background: BG URxvt.lineSpace: 0
URxvt.borderColor: BG
dzen2.font: mononoki
*.foreground: FG
*.background: BG
*.borderColor: BG
*.cursorColor: FG *.cursorColor: FG
! black ! black
@ -44,17 +55,16 @@ URxvt.borderColor: BG
! Set depth to make transparency work. ! Set depth to make transparency work.
URxvt*depth: 32 URxvt*depth: 32
*.font: font1
URxvt.font: font1,font2,font3,font4 URxvt.font: font1,font2,font3,font4
URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4 URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4
URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4 URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4
URxvt.boldItalicfont: font1:style=bolditalic,font2:style=bolditalic,font3:style=bolditalic,font4 URxvt.boldItalicfont: font1:style=bolditalic,font2:style=bolditalic,font3:style=bolditalic,font4
URxvt.letterSpace: 0
URxvt.lineSpace: 0
URxvt.internalBorder: 20 URxvt.internalBorder: 20
URxvt.cursorBlink: true *.cursorBlink: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true
URxvt.saveline: 2048 URxvt.saveline: 4096
URxvt.scrollBar: false URxvt.scrollBar: false
URxvt.scrollBar_right: false URxvt.scrollBar_right: false
URxvt.pointerBlank: true URxvt.pointerBlank: true
@ -64,6 +74,8 @@ URxvt.urgentOnBell: true
URxvt.iso14755: false URxvt.iso14755: false
urxvt*dynamicColors: on urxvt*dynamicColors: on
XTerm*faceName: font1,font2,font3,font4
!-- Xft settings -- ! !-- Xft settings -- !
@ -73,7 +85,7 @@ Xft.rgba: rgb
Xft.hinting: true Xft.hinting: true
Xft.hintstyle: hintfull Xft.hintstyle: hintfull
URxvt.perl-ext-common: resize-font URxvt.perl-ext-common: resize-font,config-reload
URxvt.url-launcher: /usr/bin/xdg-open URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1 URxvt.matcher.button: 1

View File

@ -3,7 +3,7 @@ setup=0
COLOR_BACKGROUND="#282a2e" COLOR_BACKGROUND="#282a2e"
COLOR_PRIMARY="#fefefe" COLOR_PRIMARY="#fefefe"
COLOR_SECONDARY="#81a2be" COLOR_SECONDARY="#707880"
BORDER=2 BORDER=2
hsetroot -solid $COLOR_BACKGROUND & hsetroot -solid $COLOR_BACKGROUND &
@ -36,11 +36,15 @@ bspc config border_width $BORDER
bspc config window_gap 0 bspc config window_gap 0
$HOME/.scripts/toggle-gap.sh $HOME/.scripts/toggle-gap.sh
## individual rules
bspc rule -a Zathura state=tiled
bspc rule -a feh state=fullscreen
bspc config focus_follows_pointer false bspc config focus_follows_pointer false
bspc config normal_border_color "$COLOR_PRIMARY" bspc config normal_border_color "$COLOR_SECONDARY"
bspc config active_border_color "$COLOR_PRIMARY" bspc config active_border_color "$COLOR_SECONDARY"
bspc config focused_border_color "$COLOR_SECONDARY" bspc config focused_border_color "$COLOR_PRIMARY"
wmname bspwm wmname bspwm
$HOME/.scripts/start-mpd $HOME/.scripts/start-mpd

View File

@ -7,7 +7,7 @@ bg = #191919
bga = #191919 bga = #191919
fg4= #f58d44 fg4= #f58d44
fg2 = #5f819d fg2 = #5f819d
fg3 = #373b41 fg3 = #707880
fg1 = #fefefe fg1 = #fefefe
@ -40,13 +40,15 @@ modules-right = time
[bar/ws] [bar/ws]
inherit = bar/base inherit = bar/base
width = 100% width = 1870
offset-x = 0 offset-x = 25
offset-y = 10
modules-left = workspaces xwindow modules-left = workspaces xwindow
modules-right = mpd temperature memory network battery pulseaudio microphone time modules-right = mpd temperature memory network battery pulseaudio microphone time
tray-position = right tray-position = right
background = ${color.bga} background = ${color.bga}
border-size = 0 border-size = 2
border-color = ${color.fg3}
fg = ${color.fg1} fg = ${color.fg1}
@ -81,6 +83,8 @@ label-occupied = %{T2}ﲭ%{T-}
label-occupied-padding = 1 label-occupied-padding = 1
label-empty = %{T2}ﱤ%{T-} label-empty = %{T2}ﱤ%{T-}
label-empty-padding = 1 label-empty-padding = 1
label-urgent = %{T2}ﲭ%{T-}
label-urgent-padding = 1
[module/time] [module/time]
@ -199,5 +203,5 @@ format-disconnected = <label-disconnected>
format-packetloss = <label-connected> format-packetloss = <label-connected>
label-connected = %essid% label-connected =

View File

@ -18,9 +18,9 @@ super + ctrl + alt + f
amixer -D pulse set Master 1+ toggle amixer -D pulse set Master 1+ toggle
{_, super} + XF86MonBrightnessDown {_, super} + XF86MonBrightnessDown
xbacklight - {10,1} light -U {10,1}
{_, super} + XF86MonBrightnessUp {_, super} + XF86MonBrightnessUp
xbacklight + {10,1} light -A {10,1}

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
configurations="iocane bg bg.gif bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar picom rofi user-dirs.dirs gtk-3.0" configurations="iocane bg bg.gif bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar picom rofi user-dirs.dirs gtk-3.0 zathura"
save () { save () {
@ -41,7 +41,7 @@ save () {
rm config/mpd/password rm config/mpd/password
rm config/mpd/database rm config/mpd/database
rm config/mpd/sticker.sql rm config/mpd/sticker.sql
rm config/vim/viminfo rm config/vim/viminfo*
rm -r config/mpv/shaders rm -r config/mpv/shaders
} }

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
GAP=40; bspc config window_gap | grep -q $GAP && bspc config window_gap 0 || bspc config window_gap $GAP GAP=25; bspc config window_gap | grep -q $GAP && bspc config window_gap 0 || bspc config window_gap $GAP