clipboard

This commit is contained in:
shibazaki 2025-04-28 18:38:30 +02:00
parent 0156fcb5ec
commit c612a4427a

View File

@ -34,7 +34,7 @@ in {
];
modules-left = ["custom/padd" "custom/l_end" "cpu" "memory" "custom/r_end" "custom/l_end" "idle_inhibitor" "clock" "custom/r_end" "" "custom/padd"];
modules-center = ["custom/padd" "" "custom/l_end" "hyprland/workspaces" "hyprland/window" "custom/r_end" "custom/padd"];
modules-right = ["custom/padd" "custom/l_end" "backlight" "network" "bluetooth" "pulseaudio" "pulseaudio#microphone" "custom/r_end" "custom/l_end" "tray" "battery" "custom/r_end" "custom/l_end" "custom/notification" "custom/cliphist" "custom/power" "custom/r_end" "custom/padd"];
modules-right = ["custom/padd" "custom/l_end" "backlight" "network" "bluetooth" "pulseaudio" "pulseaudio#microphone" "custom/r_end" "custom/l_end" "tray" "battery" "custom/r_end" "custom/l_end" "custom/notification" "custom/power" "custom/r_end" "custom/padd"];
"hyprland/workspaces" = {
disable-scroll = true;
@ -212,17 +212,6 @@ in {
scroll-step = 5;
};
"custom/cliphist" = {
format = "{}";
rotate = 0;
exec = "echo ; echo 󰅇 clipboard history";
on-click = "sleep 0.1 && clipboard d";
on-click-right = "sleep 0.1 && clipboard";
on-click-middle = "sleep 0.1 && clipboard";
interval = 86400; # once every day;
tooltip = true;
};
"custom/power" = {
format = " {}";
rotate = 0;
@ -370,7 +359,6 @@ in {
#backlight,
#battery,
#bluetooth,
#custom-cliphist,
#clock,
#custom-cpuinfo,
#cpu,