feat: add screenshotting, cliphist wofi integration, some packages

This commit is contained in:
2025-08-06 19:43:00 -07:00
parent e1da9c2533
commit cedda8be37
3 changed files with 36 additions and 29 deletions

View File

@@ -40,6 +40,11 @@
xfce.thunar xfce.thunar
altserver-linux altserver-linux
xdg-desktop-portal xdg-desktop-portal
microsoft-edge
libadwaita
grim
slurp
swappy
]; ];
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
@@ -145,8 +150,7 @@
"$mod" = "SUPER"; "$mod" = "SUPER";
"$terminal" = "ghostty"; "$terminal" = "ghostty";
"$menu" = "wofi"; "$menu" = "wofi";
bind = bind = [
[
"$mod, Return, exec, $terminal" "$mod, Return, exec, $terminal"
"$mod SHIFT, Q, killactive" "$mod SHIFT, Q, killactive"
"$mod SHIFT, E, exit" "$mod SHIFT, E, exit"
@@ -158,6 +162,7 @@
"$mod, k, movefocus, u" "$mod, k, movefocus, u"
"$mod, j, movefocus, d" "$mod, j, movefocus, d"
"$mod, Space, togglesplit" "$mod, Space, togglesplit"
"$mod SHIFT, v, exec, bash -c ~/dotfiles/scripts/copy.sh"
"$mod, 0, workspace, 10" "$mod, 0, workspace, 10"
"$mod SHIFT, 0, movetoworkspacesilent, 10" "$mod SHIFT, 0, movetoworkspacesilent, 10"

1
scripts/copy.sh Executable file
View File

@@ -0,0 +1 @@
cliphist list | wofi --dmenu | cliphist decode | wl-copy

1
scripts/screenshot.sh Executable file
View File

@@ -0,0 +1 @@
grim -g "$(slurp)" - | swappy -f -