use waybar standalone without the systemd service

that shit broke so much I'm done with it
This commit is contained in:
jacekpoz 2024-03-08 09:34:15 +01:00
parent 2fbbaeadf4
commit b754fdbf15
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -331,7 +331,7 @@ in {
"$mainMod, X, togglespecialworkspace, keepassxc"
"$mainMod, C, exec, ${swaylock}/bin/swaylock"
# toggle waybar
"$mainMod CONTROL, B, exec, ${pkgs.systemd}/bin/systemctl is-active --user waybar && ${pkgs.systemd}/bin/systemctl stop --user waybar || ${pkgs.systemd}/bin/systemctl start --user waybar"
"$mainMod CONTROL, B, exec, ${pkgs.procps}/bin/pkill waybar || waybar"
#"$mainMod, mouse_up, exec, ${hyprland}/bin/hyprctl keyword misc:cursor_zoom_factor $(echo \"$(${hyprland}/bin/hyprctl getoption misc:cursor_zoom_factor -j | ${pkgs.jq}/bin/jq '.float') + 0.01\" | ${pkgs.bc}/bin/bc)"
#"$mainMod, mouse_down, exec, ${hyprland}/bin/hyprctl keyword misc:cursor_zoom_factor $(echo \"$(${hyprland}/bin/hyprctl getoption misc:cursor_zoom_factor -j | ${pkgs.jq}/bin/jq '.float') - 0.01\" | ${pkgs.bc}/bin/bc)"
@ -408,7 +408,7 @@ in {
done
'';
in [
"${pkgs.systemd}/bin/systemctl start --user waybar.service"
"waybar"
# run persistent special workspace windows
"[workspace special:nixos silent;tile] cd ~/niksos; ${foot}/bin/foot"