Use the dejavu nerfont instead of liberation, and don't duplicate the package list in the check script

This commit is contained in:
Kevin MacMartin 2023-06-11 23:34:38 -04:00
parent 75df859eeb
commit c0f0e0ee7e
6 changed files with 18 additions and 65 deletions

View file

@ -1,49 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
packages=( while read -r pkg; do
gnome-themes-extra pacman -Qi "$pkg" >/dev/null 2>&1 || printf '%s\n' "$pkg"
autotiling done < packages
blueman
bluez
bluez-utils
dconf-editor
eog
file-roller
gnome-keyring
grim
groff
mako
network-manager-applet
networkmanager
noto-fonts-emoji
nwg-bar
nwg-displays
papirus-icon-theme
pavucontrol
pipewire-alsa
pipewire-pulse
playerctl
qt5-wayland
seahorse
slurp
sway
swaybg
swayidle
swaylock
ttf-liberation
ttf-nerd-fonts-symbols-2048-em
waybar
wl-clipboard
xdg-user-dirs
xfce4-appfinder
xfce4-terminal
xfconf
xorg-server
xorg-xkill
xorg-xprop
xorg-xwayland
)
for pkg in "${packages[@]}"; do
pacman -Qi "$pkg" >/dev/null 2>&1 || echo "$pkg"
done

View file

@ -8,7 +8,7 @@ padding=10
border-size=0 border-size=0
border-color=#285577 border-color=#285577
border-radius=5 border-radius=5
font=Liberation Sans 12 font=DejaVuSansMNerdFont 12
icons=1 icons=1
max-icon-size=64 max-icon-size=64
default-timeout=5000 default-timeout=5000

View file

@ -6,7 +6,7 @@
#xwayland disable #xwayland disable
# Font # Font
font Liberation Mono 12 font DejaVuSansMNerdFont 12
# Background # Background
output "*" bg ~/.config/sway/wallpapers/wallpaper.jpg fill output "*" bg ~/.config/sway/wallpapers/wallpaper.jpg fill

View file

@ -39,19 +39,19 @@
"reverse-scrolling": 0, "reverse-scrolling": 0,
"format": "{volume}% {icon} {format_source}", "format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}", "format-bluetooth-muted": "󰗿 {icon} {format_source}",
"format-muted": " {format_source}", "format-muted": " {format_source}",
"format-source": "{volume}% ", "format-source": "{volume}% ",
"format-source-muted": "0% ", "format-source-muted": "0% ",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",
"hands-free": "", "hands-free": "󰋎",
"headset": "", "headset": "󰋎",
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",
"default": ["奄", "奔", "墳"] "default": ["", "", ""]
}, },
"on-click": "pavucontrol", "on-click": "pavucontrol",
@ -59,7 +59,7 @@
}, },
"custom/mem": { "custom/mem": {
"format": "{} ", "format": "{} 󰍛",
"interval": 3, "interval": 3,
"exec": "free -h | awk '/Mem:/{printf $3}'", "exec": "free -h | awk '/Mem:/{printf $3}'",
"tooltip": false "tooltip": false
@ -68,7 +68,7 @@
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["","","","", "", "", ""], "format-icons": ["","","","","","","","",""],
"min-length": 7 "min-length": 7
}, },
@ -82,7 +82,7 @@
"format-charging": "{capacity}% ", "format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ", "format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}", "format-alt": "{time} {icon}",
"format-icons": ["🪫", "🪫", "🪫", "🔋", "🔋", "🔋", "🔋", "🔋", "🔋", "🔋"], "format-icons": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󱟢"],
"on-update": "$HOME/.config/waybar/scripts/battery.sh" "on-update": "$HOME/.config/waybar/scripts/battery.sh"
}, },

View file

@ -1,8 +1,7 @@
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
/* `otf-font-awesome` is required to be installed for icons */ font-family: DejaVuSansMNerdFont;
font-family: Liberation Mono;
min-height: 20px; min-height: 20px;
padding-top: 1px; padding-top: 1px;
} }
@ -30,7 +29,6 @@ window#waybar.hidden {
font-size: 18px; font-size: 18px;
} }
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover { #workspaces button:hover {
transition: none; transition: none;
box-shadow: inherit; box-shadow: inherit;
@ -95,9 +93,9 @@ window#waybar.empty #window {
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
border-radius: 10px; border-radius: 10px;
transition: none;
color: #ffffff;
background: #3c384a; background: #3c384a;
color: #ffffff;
transition: none;
} }
#pulseaudio.muted { #pulseaudio.muted {

View file

@ -29,8 +29,7 @@ swayidle
swaylock swaylock
thunar thunar
thunar-volman thunar-volman
ttf-liberation ttf-dejavu-nerd
ttf-nerd-fonts-symbols-2048-em
waybar waybar
wl-clipboard wl-clipboard
xdg-user-dirs xdg-user-dirs