feat(de): add clipse as clipboard history manager
This commit is contained in:
parent
4243f069ff
commit
1169f91494
4 changed files with 16 additions and 7 deletions
7
users/modules/programs/clipse.nix
Normal file
7
users/modules/programs/clipse.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
services.clipse = {
|
||||||
|
enable = true;
|
||||||
|
historySize = 1000;
|
||||||
|
imageDisplay.type = "kitty";
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,14 +8,17 @@
|
||||||
"$mainMonitor" = "desc:OOO AN-270W04K";
|
"$mainMonitor" = "desc:OOO AN-270W04K";
|
||||||
"$vertMonitor" = "desc:Philips Consumer Electronics Company PHL 246V5 AU11330000086";
|
"$vertMonitor" = "desc:Philips Consumer Electronics Company PHL 246V5 AU11330000086";
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
"$terminal" = "kitty -1 -e zellij";
|
"$terminal" = "kitty -1";
|
||||||
|
"$multiplexer" = "$terminal -e zellij";
|
||||||
"$browser" = "firefox";
|
"$browser" = "firefox";
|
||||||
"$music" = "spotify";
|
"$music" = "spotify";
|
||||||
"$launcher" = "fuzzel";
|
"$launcher" = "fuzzel";
|
||||||
|
"$clipboard" = "$terminal --class clipse -e clipse";
|
||||||
|
|
||||||
# Programs to run at startup
|
# Programs to run at startup
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"hyprlock"
|
"hyprlock"
|
||||||
|
"clipse -listen"
|
||||||
];
|
];
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
|
@ -50,6 +53,8 @@
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"float, class:firefox, title:Picture-in-Picture"
|
"float, class:firefox, title:Picture-in-Picture"
|
||||||
|
"float, class:(clipse)"
|
||||||
|
"size 622 652,class:(clipse)"
|
||||||
];
|
];
|
||||||
|
|
||||||
animation = [
|
animation = [
|
||||||
|
@ -58,7 +63,7 @@
|
||||||
|
|
||||||
# Keybinds
|
# Keybinds
|
||||||
bind = [
|
bind = [
|
||||||
"$mainMod, return, exec, $terminal"
|
"$mainMod, return, exec, $multiplexer"
|
||||||
"$mainMod, W, killactive"
|
"$mainMod, W, killactive"
|
||||||
"$mainMod, O, exec, $browser"
|
"$mainMod, O, exec, $browser"
|
||||||
"$mainMod, Escape, exec, hyprlock"
|
"$mainMod, Escape, exec, hyprlock"
|
||||||
|
@ -66,6 +71,7 @@
|
||||||
|
|
||||||
# Launch utilities
|
# Launch utilities
|
||||||
"$mainMod_SHIFT, A, exec, hyprpicker -a"
|
"$mainMod_SHIFT, A, exec, hyprpicker -a"
|
||||||
|
"$mainMod, V, exec, $clipboard"
|
||||||
|
|
||||||
# move between windows
|
# move between windows
|
||||||
"$mainMod, H, cyclenext, visible"
|
"$mainMod, H, cyclenext, visible"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
./programs/zsh.nix
|
./programs/zsh.nix
|
||||||
./programs/zoxide.nix
|
./programs/zoxide.nix
|
||||||
./programs/thefuck.nix
|
./programs/thefuck.nix
|
||||||
|
./programs/clipse.nix
|
||||||
./scripts
|
./scripts
|
||||||
];
|
];
|
||||||
home.shell.enableShellIntegration = true;
|
home.shell.enableShellIntegration = true;
|
||||||
|
|
|
@ -10,9 +10,4 @@
|
||||||
ttyper
|
ttyper
|
||||||
hyprpicker
|
hyprpicker
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
|
||||||
# clipboard history (depends on wl-clipboard)
|
|
||||||
cliphist.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue