Compare commits

...

2 commits

Author SHA1 Message Date
Lilith
2c808bb2b5
clipse 2025-08-16 01:45:45 +02:00
Lilith
96049ccd82
touch 2025-08-15 23:38:51 +02:00
7 changed files with 46 additions and 20 deletions

8
flake.lock generated
View file

@ -176,11 +176,11 @@
}, },
"flake-private": { "flake-private": {
"locked": { "locked": {
"lastModified": 1755267322, "lastModified": 1755291684,
"narHash": "sha256-uL6Ps+sF1OD5/pXkXBXSLmzDAFPIaiOuN+alO7r/itI=", "narHash": "sha256-odToLtFoY6GJQWqOksrDW4vCYIvA/utOkwjAedQpJ0w=",
"ref": "main", "ref": "main",
"rev": "9b71a0ee60c4c618d4df25f771e177a1a708300c", "rev": "88b0a0e5b1bb9bd25803e5c2c4d6aacb54205786",
"revCount": 7, "revCount": 8,
"type": "git", "type": "git",
"url": "ssh://git@git.firelilith.org/lilith/flake-private.git" "url": "ssh://git@git.firelilith.org/lilith/flake-private.git"
}, },

View file

@ -35,6 +35,7 @@
exec-once = [ exec-once = [
"hyprlock" "hyprlock"
"ags" "ags"
"clipse -listen"
]; ];
exec = [ "[workspace special:keepass silent] keepassxc" ]; exec = [ "[workspace special:keepass silent] keepassxc" ];

View file

@ -11,13 +11,34 @@
plugins = [ hyprgrass.packages.${pkgs.system}.default ]; plugins = [ hyprgrass.packages.${pkgs.system}.default ];
settings.plugin.touch_gestures = { settings.plugin.touch_gestures = {
sensitivity = 2.0; sensitivity = 4.0;
workspace_swipe = true;
workspace_swipe_fingers = 3; workspace_swipe_fingers = 3;
workspace_swipe_edge = "d"; workspace_swipe_cancel_ratio = 0.9;
long_press_delay = 500; long_press_delay = 400;
resize_on_border_long_press = true; resize_on_border_long_press = true;
edge_margin = 20; edge_margin = 30;
experimental.send_cancel = true;
hyprgrass-bind = [
# weird hack, because there is no explicit way to only show or hide special workplaces
", swipe:3:u, togglespecialworkspace, _tmp"
", swipe:3:u, togglespecialworkspace, keepass"
", swipe:3:u, exec, if (( $(pgrep keepassxc -c) < 2 )); then keepassxc; fi"
", swipe:3:d, togglespecialworkspace, _tmp"
", swipe:3:d, togglespecialworkspace, _tmp"
", swipe:3:ru, sendshortcut, CONTROL, C,"
", swipe:3:rd, sendshortcut, CONTROL, V,"
", tap:5, killactive"
", longpress:2, resizewindow"
", longpress:2, movewindow"
];
}; };
}; };
} }

View file

@ -24,10 +24,10 @@
"SUPER, K, movefocus, u" "SUPER, K, movefocus, u"
"SUPER, J, movefocus, d" "SUPER, J, movefocus, d"
"SUPER ALT, H, moveactive, l" "SUPER ALT, H, swapwindow, l"
"SUPER ALT, L, moveactive, r" "SUPER ALT, L, swapwindow, r"
"SUPER ALT, K, moveactive, u" "SUPER ALT, K, swapwindow, u"
"SUPER ALT, J, moveactive, d" "SUPER ALT, J, swapwindow, d"
"SUPER, 1, workspace, 1" "SUPER, 1, workspace, 1"
"SUPER, 2, workspace, 2" "SUPER, 2, workspace, 2"
@ -53,6 +53,8 @@
"SUPER, I, togglespecialworkspace, magic" "SUPER, I, togglespecialworkspace, magic"
"SUPER SHIFT, I, movetoworkspace, special:magic" "SUPER SHIFT, I, movetoworkspace, special:magic"
"SUPER, V, exec, alacritty --class clipse -e 'clipse'"
]; ];
bindm = [ bindm = [

View file

@ -5,13 +5,18 @@
"workspace special:keepass,class:org.keepassxc.KeePassXC,title:^(.*)(KeePassXC)(.*)$" "workspace special:keepass,class:org.keepassxc.KeePassXC,title:^(.*)(KeePassXC)(.*)$"
# show database unlock prompt on all workspaces # show database unlock prompt on all workspaces
"unset,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC," "workspace unset silent,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC,"
"center,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC," "center,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC,"
"pin,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC," "pin,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC,"
# show inline images with ueberzugpp # show inline images with ueberzugpp
"noanim, class:^ueberzugpp_(.*)$" "noanim, class:^ueberzugpp_(.*)$"
# clipboard manager clipse
"float,class:(clipse)"
"size 50% 50%,class:(clipse)"
"center, class:(clipse)"
# path of exile / poetrade hacks # path of exile / poetrade hacks
"tag +poe, class:^(steam_app_238960)$" "tag +poe, class:^(steam_app_238960)$"
"tag +poe, title:^(Path of Exile)$" "tag +poe, title:^(Path of Exile)$"

View file

@ -1,6 +1,8 @@
{ pkgs, ... }: { pkgs, rose-pine-hyprcursor, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
rose-pine-hyprcursor.packages.${pkgs.system}.default
gcc gcc
gnumake gnumake
git git
@ -14,6 +16,7 @@
networkmanagerapplet networkmanagerapplet
nh nh
wl-clipboard wl-clipboard
clipse
xdg-utils xdg-utils
hyprshot hyprshot

View file

@ -44,12 +44,6 @@
}; };
}; };
cursor = {
package = pkgs.rose-pine-cursor;
name = "Rosé Pine";
size = 10;
};
}; };
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [