✨ optimization for eww and switching to waybar again
Browse files at this commit6d21e09c16ab5a84a566a1cc140487949129b29cParent: f6ecbb8- feat
- ✨ optimization for eww and switching to waybar again
3 changed files +21 -21
- .config/btop/btop.conf +1 -1
- .config/eww/eww.yuck +16 -16
- .config/hypr/hyprland.conf +4 -4
.config/btop/btop.confmodified+1 -1
| @@ -57,7 +57,7 @@ update_ms = 100 | |||
| 57 | 57 | ||
| 58 | #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", | 58 | #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", |
| 59 | #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. | 59 | #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. |
| 60 | -proc_sorting = "memory" | 60 | +proc_sorting = "cpu lazy" |
| 61 | 61 | ||
| 62 | #* Reverse sorting order, True or False. | 62 | #* Reverse sorting order, True or False. |
| 63 | proc_reversed = False | 63 | proc_reversed = False |
.config/eww/eww.yuckmodified+16 -16
| @@ -47,14 +47,14 @@ | |||
| 47 | `bash ~/.config/scripts/memory_status.sh`) | 47 | `bash ~/.config/scripts/memory_status.sh`) |
| 48 | 48 | ||
| 49 | ;; Audio volume | 49 | ;; Audio volume |
| 50 | -(defpoll volume :interval "0ms" | 50 | +(defpoll volume :interval "500ms" |
| 51 | `wpctl get-volume @DEFAULT_AUDIO_SINK@ 2>/dev/null | awk '{printf "%.0f", $2*100}' || echo "0"`) | 51 | `wpctl get-volume @DEFAULT_AUDIO_SINK@ 2>/dev/null | awk '{printf "%.0f", $2*100}' || echo "0"`) |
| 52 | 52 | ||
| 53 | -(defpoll volume-muted :interval "0ms" | 53 | +(defpoll volume-muted :interval "500ms" |
| 54 | `wpctl get-volume @DEFAULT_AUDIO_SINK@ 2>/dev/null | grep -q MUTED && echo "true" || echo "false"`) | 54 | `wpctl get-volume @DEFAULT_AUDIO_SINK@ 2>/dev/null | grep -q MUTED && echo "true" || echo "false"`) |
| 55 | 55 | ||
| 56 | ;; Volume info - includes song details for tooltip | 56 | ;; Volume info - includes song details for tooltip |
| 57 | -(defpoll volume-info :interval "0ms" | 57 | +(defpoll volume-info :interval "500ms" |
| 58 | `bash ~/.config/scripts/volume_info.sh`) | 58 | `bash ~/.config/scripts/volume_info.sh`) |
| 59 | 59 | ||
| 60 | ;; DateTime info - shows date/time and system uptime for tooltip | 60 | ;; DateTime info - shows date/time and system uptime for tooltip |
| @@ -139,19 +139,19 @@ | |||
| 139 | :class "tooltip-text") | 139 | :class "tooltip-text") |
| 140 | (eventbox | 140 | (eventbox |
| 141 | (label :class "memory" | 141 | (label :class "memory" |
| 142 | - :text {mem-usage < 5 ? "◼ ${mem-usage}" : | 142 | + :text {mem-usage < 5 ? "▁ ${mem-usage}" : |
| 143 | - mem-usage < 10 ? "◼◼ ${mem-usage}" : | 143 | + mem-usage < 10 ? "▂ ${mem-usage}" : |
| 144 | - mem-usage < 15 ? "◼◼◼ ${mem-usage}" : | 144 | + mem-usage < 15 ? "▃ ${mem-usage}" : |
| 145 | - mem-usage < 20 ? "◼◼◼◼ ${mem-usage}" : | 145 | + mem-usage < 20 ? "▄ ${mem-usage}" : |
| 146 | - mem-usage < 25 ? "◼◼◼◼◼ ${mem-usage}" : | 146 | + mem-usage < 25 ? "▅ ${mem-usage}" : |
| 147 | - mem-usage < 30 ? "◼◼◼◼◼◼ ${mem-usage}" : | 147 | + mem-usage < 30 ? "▆ ${mem-usage}" : |
| 148 | - mem-usage < 40 ? "◼◼◼◼◼◼◼ ${mem-usage}" : | 148 | + mem-usage < 40 ? "▆ ${mem-usage}" : |
| 149 | - mem-usage < 50 ? "◼◼◼◼◼◼◼◼ ${mem-usage}" : | 149 | + mem-usage < 50 ? "▇ ${mem-usage}" : |
| 150 | - mem-usage < 60 ? "◼◼◼◼◼◼◼◼◼ ${mem-usage}" : | 150 | + mem-usage < 60 ? "▇ ${mem-usage}" : |
| 151 | - mem-usage < 70 ? "◼◼◼◼◼◼◼◼◼◼ ${mem-usage}" : | 151 | + mem-usage < 70 ? "▇ ${mem-usage}" : |
| 152 | - mem-usage < 80 ? "◼◼◼◼◼◼◼◼◼◼◼ ${mem-usage}" : | 152 | + mem-usage < 80 ? "█ ${mem-usage}" : |
| 153 | - mem-usage < 90 ? "◼◼◼◼◼◼◼◼◼◼◼◼ ${mem-usage}" : | 153 | + mem-usage < 90 ? "█ ${mem-usage}" : |
| 154 | - "◼◼◼◼◼◼◼◼◼◼◼◼◼ ${mem-usage}"})))) | 154 | + "█ ${mem-usage}"})))) |
| 155 | 155 | ||
| 156 | ;; Network widget | 156 | ;; Network widget |
| 157 | (defwidget network-widget [] | 157 | (defwidget network-widget [] |
.config/hypr/hyprland.confmodified+4 -4
| @@ -9,9 +9,9 @@ bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled | |||
| 9 | bindl = , switch:off:Lid Switch, exec, hyprctl reload && hyprctl keyword input:touchdevice:enabled false | 9 | bindl = , switch:off:Lid Switch, exec, hyprctl reload && hyprctl keyword input:touchdevice:enabled false |
| 10 | # bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable | 10 | # bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable |
| 11 | 11 | ||
| 12 | -# exec-once = sleep 1 && waybar | 12 | +exec-once = sleep 1 && waybar |
| 13 | -exec-once = sleep 1 && eww daemon | 13 | +# exec-once = sleep 1 && eww daemon |
| 14 | -exec-once = sleep 1 && eww open main | 14 | +# exec-once = sleep 1 && eww open main |
| 15 | exec-once = sleep 2 && nm-applet | 15 | exec-once = sleep 2 && nm-applet |
| 16 | exec-once = sleep 2 && blueman-applet | 16 | exec-once = sleep 2 && blueman-applet |
| 17 | exec-once = sleep 2 && hyprpaper | 17 | exec-once = sleep 2 && hyprpaper |
| @@ -104,7 +104,7 @@ bind = Alt, F4, killactive, | |||
| 104 | bind = Alt, 4, killactive, | 104 | bind = Alt, 4, killactive, |
| 105 | bind = $mainMod $my_trigger, F4, exit, | 105 | bind = $mainMod $my_trigger, F4, exit, |
| 106 | bind = $mainMod, H, exec, pkill -SIGUSR1 waybar | 106 | bind = $mainMod, H, exec, pkill -SIGUSR1 waybar |
| 107 | -bind = $mainMod, H, exec, ~/.config/scripts/toggle_eww.sh | 107 | +# bind = $mainMod, H, exec, ~/.config/scripts/toggle_eww.sh |
| 108 | binds { | 108 | binds { |
| 109 | allow_workspace_cycles = true | 109 | allow_workspace_cycles = true |
| 110 | } | 110 | } |