From 4b3798c75f097c460d5ba4a5b0f58d78aeb98e5c Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Sat, 21 Jan 2023 21:48:45 -0400 Subject: [PATCH] fix --- user/.config/alacritty/alacritty.yml | 40 ++++++++++++------------- user/.config/awesome/apps.lua | 2 +- user/.config/awesome/ui/widgets/battery | 10 +------ 3 files changed, 22 insertions(+), 30 deletions(-) diff --git a/user/.config/alacritty/alacritty.yml b/user/.config/alacritty/alacritty.yml index eaea15f5a..1d542a3f4 100644 --- a/user/.config/alacritty/alacritty.yml +++ b/user/.config/alacritty/alacritty.yml @@ -45,30 +45,30 @@ schemes: tokyo-night: &tokyo-night # Default colors primary: - background: '0x1a1b26' - foreground: '0xa9b1d6' + background: '#1a1b26' + foreground: '#a9b1d6' - # Normal colors + # Normal colors normal: - black: '0x32344a' - red: '0xf7768e' - green: '0x9ece6a' - yellow: '0xe0af68' - blue: '0x7aa2f7' - magenta: '0xad8ee6' - cyan: '0x449dab' - white: '0x787c99' + black: '#32344a' + red: '#f7768e' + green: '#9ece6a' + yellow: '#e0af68' + blue: '#34548a' + magenta: '#ad8ee6' + cyan: '#449dab' + white: '#9699a8' - # Bright colors + # Bright colors bright: - black: '0x444b6a' - red: '0xff7a93' - green: '0xb9f27c' - yellow: '0xff9e64' - blue: '0x7da6ff' - magenta: '0xbb9af7' - cyan: '0x0db9d7' - white: '0xacb0d0' + black: '#444b6a' + red: '#ff7a93' + green: '#b9f27c' + yellow: '#ff9e64' + blue: '#7da6ff' + magenta: '#bb9af7' + cyan: '#0db9d7' + white: '#acb0d0' ### Dracula ### diff --git a/user/.config/awesome/apps.lua b/user/.config/awesome/apps.lua index 1cc50c457..87546d516 100644 --- a/user/.config/awesome/apps.lua +++ b/user/.config/awesome/apps.lua @@ -2,7 +2,7 @@ local apps = { terminal = "alacritty", editor = "emacsclient -c -a emacs", - music = "alacritty -t musik --class musik,musik -e musikcube", + music = "alacritty -t musik --class musik,musik -e cmus", chat = "revolt-desktop", game = "retroarch", file = "alacritty -t vifm --class vifm,vifm -e ./.config/vifm/scripts/vifmrun", diff --git a/user/.config/awesome/ui/widgets/battery b/user/.config/awesome/ui/widgets/battery index 54733e76d..a0e25558a 100755 --- a/user/.config/awesome/ui/widgets/battery +++ b/user/.config/awesome/ui/widgets/battery @@ -1,13 +1,5 @@ #!/bin/bash # Loop through all attached batteries and format the info -currntpwr=$(powerprofilesctl get) -if [ "${currntpwr}" = "performance" ]; then - pwr="-  Performance" -elif [ "${currntpwr}" = "balanced" ]; then - pwr="-  Balanced" -elif [ "${currntpwr}" = "power-saver" ]; then - pwr="-  Power Saver" -fi for battery in /sys/class/power_supply/BAT?*; do # If non-first battery, print a space separator. [ -n "${capacity+x}" ] && printf " " @@ -24,5 +16,5 @@ for battery in /sys/class/power_supply/BAT?*; do # Will make a warn variable if discharging and low [ "$status" = " " ] && [ "$capacity" -le 100 ] && warn="" # Prints the info - printf "%s%s%d%%%s" "$status" "$warn " "$capacity" " $pwr"; unset warn + printf "%s%s%d%%%s" "$status" "$warn " "$capacity"; unset warn done && printf "\\n"