From 2b119e1664641d3af0b1dda637af7fddbff485ac Mon Sep 17 00:00:00 2001 From: opal Date: Sat, 26 Nov 2022 19:17:22 -0800 Subject: [PATCH] added alias, minimized waybar config --- .bashrc | 10 ++++++++++ .config/waybar/config | 21 +++++++++------------ .config/waybar/style.css | 19 +++++-------------- 3 files changed, 24 insertions(+), 26 deletions(-) diff --git a/.bashrc b/.bashrc index ed170e4..b1ddb20 100755 --- a/.bashrc +++ b/.bashrc @@ -74,6 +74,13 @@ PATH=$PATH:~/.config/emacs/bin/ # To temporarily bypass an alias, we preceed the command with a \ # EG: the ls command is aliased, but to use the normal ls command you would type \ls +# Pacman aliases +alias install='sudo pacman -S' +alias update='sudo pacman -Syu' +alias search='sudo pacman -Ss' +alias remove='sudo pacman -Rs' +alias uninstall='sudo pacman -Rs' + # Rsync push music to jellyfin alias music-push="rsync -r -e 'ssh -p 46668' --info=progress2 /home/opal/music/to-push/* cleric:/data/container_storage/jellyfin/media/music/to-sort/" @@ -162,6 +169,9 @@ alias sha1='openssl sha1' alias wgup='sudo wg-quick up /etc/wireguard/wg0.conf' alias wgdown='sudo wg-quick down /etc/wireguard/wg0.conf' +# Hugo +alias hss='hugo server --noHTTPCache' + # ####################################################### # # SPECIAL FUNCTIONS # ####################################################### diff --git a/.config/waybar/config b/.config/waybar/config index bf60583..62e750b 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -54,28 +54,25 @@ "on-click": "pavucontrol", "on-scroll-down": "amixer set Master 3%-", "format": "", - "format": "{icon} {volume}%", - "format-source": "{icon} {volume}%", - "format-muted": " Muted", - "format-icons": { - "headset": "", - "headphone": "", - "default": ["", ""] - }, + "format": "Vol: {volume}%", + "format-muted": "Muted", + //"format-icons": { + // "headset": "", + // "headphone": "", + // "default": ["", "", " "] + // }, }, "backlight": { "device": "intel_backlight", "format": "", "format-icons": ["", ""], - // "on-scroll-up": "brightnessctl set 1%+", - // "on-scroll-down": "brightnessctl set 1%-", "on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { - "activated": " Idle Inhibit On", - "deactivated": " Idle Inhibit Off", + "activated": "Idle Inhibit: On", + "deactivated": "Idle Inhibit: Off", }, }, } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 2839c01..2a75c8d 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -6,17 +6,6 @@ min-height: 0; } -/* button { */ -/* border: none; */ -/* border-radius: 0; */ - -/* } */ -/* button:hover { */ -/* box-shadow: inherit; */ -/* text-shadow: inherit; */ -/* background: inherit; */ -/* } */ - window#waybar { opacity: 0.7; background: #000000; @@ -60,14 +49,15 @@ window#waybar { color: #bebebe; margin:7px 4px 0 4px; border-radius: 5px; - padding: 0px 8px 0px 8px; + padding: 0px 5px 0px 5px; } #network { color: #bebebe; margin:7px 4px 0 4px; + font-size: 16.5px; border-radius: 6px; - padding: 0px 8px 0px 8px; + padding: 0px 5px 0px 5px; } @keyframes critical { @@ -128,9 +118,10 @@ window#waybar { #pulseaudio { background: transparent; margin:7px 4px 0 4px; + font-size: 16.5px; color: #bebebe; border-radius: 5px; - padding: 0px 8px 0px 8px; + padding: 0px 5px 0px 5px; } #tray {