Use the dejavu nerfont instead of liberation, and don't duplicate the package list in the check script
This commit is contained in:
parent
75df859eeb
commit
c0f0e0ee7e
6 changed files with 18 additions and 65 deletions
50
check-pkg
50
check-pkg
|
@ -1,49 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
packages=(
|
||||
gnome-themes-extra
|
||||
autotiling
|
||||
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
|
||||
while read -r pkg; do
|
||||
pacman -Qi "$pkg" >/dev/null 2>&1 || printf '%s\n' "$pkg"
|
||||
done < packages
|
||||
|
|
|
@ -8,7 +8,7 @@ padding=10
|
|||
border-size=0
|
||||
border-color=#285577
|
||||
border-radius=5
|
||||
font=Liberation Sans 12
|
||||
font=DejaVuSansMNerdFont 12
|
||||
icons=1
|
||||
max-icon-size=64
|
||||
default-timeout=5000
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#xwayland disable
|
||||
|
||||
# Font
|
||||
font Liberation Mono 12
|
||||
font DejaVuSansMNerdFont 12
|
||||
|
||||
# Background
|
||||
output "*" bg ~/.config/sway/wallpapers/wallpaper.jpg fill
|
||||
|
|
|
@ -37,21 +37,21 @@
|
|||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"reverse-scrolling": 0,
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "婢 {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "0% ",
|
||||
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["奄", "奔", "墳"]
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
|
||||
"on-click": "pavucontrol",
|
||||
|
@ -59,7 +59,7 @@
|
|||
},
|
||||
|
||||
"custom/mem": {
|
||||
"format": "{} ",
|
||||
"format": "{} ",
|
||||
"interval": 3,
|
||||
"exec": "free -h | awk '/Mem:/{printf $3}'",
|
||||
"tooltip": false
|
||||
|
@ -68,7 +68,7 @@
|
|||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["","","","", "", "", ""],
|
||||
"format-icons": ["","","","","","","","",""],
|
||||
"min-length": 7
|
||||
},
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
|||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["🪫", "🪫", "🪫", "🔋", "🔋", "🔋", "🔋", "🔋", "🔋", "🔋"],
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||
"on-update": "$HOME/.config/waybar/scripts/battery.sh"
|
||||
},
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: Liberation Mono;
|
||||
font-family: DejaVuSansMNerdFont;
|
||||
min-height: 20px;
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
@ -30,7 +29,6 @@ window#waybar.hidden {
|
|||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
#workspaces button:hover {
|
||||
transition: none;
|
||||
box-shadow: inherit;
|
||||
|
@ -95,9 +93,9 @@ window#waybar.empty #window {
|
|||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #ffffff;
|
||||
background: #3c384a;
|
||||
color: #ffffff;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
|
|
3
packages
3
packages
|
@ -29,8 +29,7 @@ swayidle
|
|||
swaylock
|
||||
thunar
|
||||
thunar-volman
|
||||
ttf-liberation
|
||||
ttf-nerd-fonts-symbols-2048-em
|
||||
ttf-dejavu-nerd
|
||||
waybar
|
||||
wl-clipboard
|
||||
xdg-user-dirs
|
||||
|
|
Loading…
Reference in a new issue