forked from mirrors_public/oddlama_nix-config
chore: add button to waybar for future wallpaper change
This commit is contained in:
parent
30a851a7c1
commit
237c23e266
2 changed files with 35 additions and 12 deletions
|
@ -5,6 +5,7 @@
|
|||
}: {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
style = builtins.readFile ./waybar-style.css;
|
||||
settings.main = {
|
||||
layer = "top";
|
||||
|
@ -21,8 +22,9 @@
|
|||
"hyprland/window"
|
||||
];
|
||||
modules-right = [
|
||||
"custom/scanqr"
|
||||
"custom/pickcolor"
|
||||
"custom/scan_qr"
|
||||
"custom/pick_color"
|
||||
"custom/cycle_wallpaper"
|
||||
#"custom/screencast"
|
||||
#"custom/gpuscreenrecorder"
|
||||
|
||||
|
@ -36,6 +38,7 @@
|
|||
"bluetooth"
|
||||
|
||||
#"temps"
|
||||
#"temperature"
|
||||
"cpu"
|
||||
"memory"
|
||||
#"battery"
|
||||
|
@ -44,18 +47,27 @@
|
|||
"clock"
|
||||
];
|
||||
|
||||
"custom/scanqr" = {
|
||||
tooltip = false;
|
||||
"custom/scan_qr" = {
|
||||
tooltip = true;
|
||||
tooltip-format = "Scan QR Code";
|
||||
format = "";
|
||||
on-click = lib.getExe pkgs.scripts.screenshot-area-scan-qr;
|
||||
};
|
||||
|
||||
"custom/pickcolor" = {
|
||||
tooltip = false;
|
||||
"custom/pick_color" = {
|
||||
tooltip = true;
|
||||
tooltip-format = "Pick color";
|
||||
format = "";
|
||||
on-click = "${lib.getExe pkgs.hyprpicker} --autocopy";
|
||||
};
|
||||
|
||||
"custom/cycle_wallpaper" = {
|
||||
format = " ";
|
||||
tooltip = true;
|
||||
tooltip-format = "Change wallpaper";
|
||||
on-click = "echo";
|
||||
};
|
||||
|
||||
"custom/notification" = {
|
||||
tooltip = false;
|
||||
format = "{icon} {}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue