1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Move waybar hyprland config into waybar.nix

This commit is contained in:
RGBCube 2024-05-21 20:43:06 +03:00
parent 7d0a097bda
commit 5343e0d714
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -42,10 +42,7 @@ in desktopSystemConfiguration {
"wl-paste --type image --watch cliphist store -max-items 1000"
];
exec = [
"pkill swaybg; swaybg --image ${./wallpaper.png}"
"pkill --signal SIGUSR2 waybar"
];
exec = [ "pkill swaybg; swaybg --image ${./wallpaper.png}" ];
bindl = [
(replaceStrings [ "\n;" "\n" ] [ ";" "" ] ''
@ -140,7 +137,6 @@ in desktopSystemConfiguration {
"SUPER , T , exec, thunar"
"SUPER , C , exec, hyprpicker --autocopy"
"SUPER, B, exec, pkill --signal SIGUSR1 waybar"
"SUPER, SPACE, exec, pkill fuzzel; fuzzel"
"SUPER, V , exec, pkill fuzzel; cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"

View file

@ -1,6 +1,11 @@
{ config, lib, ... }: with lib;
desktopUserHomeConfiguration {
wayland.windowManager.hyprland.settings = {
exec = [ "pkill --signal SIGUSR2 waybar" ];
bind = [ "SUPER, B, exec, pkill --signal SIGUSR1 waybar" ];
};
programs.waybar = with config.theme.withHashtag; enabled {
systemd = enabled;