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:
parent
7d0a097bda
commit
5343e0d714
2 changed files with 6 additions and 5 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue