toggleable top bar
parent
a48e620aec
commit
4aaa186aef
|
|
@ -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.
|
||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ $vimdown = j
|
|||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
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, M, exec, $editor
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue