toggleable top bar

main
Your Name 2025-05-19 10:33:42 +02:00
parent a48e620aec
commit 4aaa186aef
3 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#? Config file for btop v. 1.4.2 #? Config file for btop v. 1.4.3
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"

View File

@ -31,7 +31,7 @@ $vimdown = j
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal bind = $mainMod, T, exec, $terminal
bind = $mainMod, Z, exec, $terminal btop bind = $mainMod, Z, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/togglebar.sh
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, M, exec, $editor bind = $mainMod, M, exec, $editor
bind = $mainMod, F, exec, $fileManager bind = $mainMod, F, exec, $fileManager

View File

@ -0,0 +1,8 @@
#!/bin/bash
statecon=$(eww state | xargs)
echo $statecon
if [[ -z `echo $statecon` ]] ;then
~/Dotfiles/desktopenvs/hyprland/scripts/monitorhandler.sh
else
eww close-all
fi