From 2ca7577125e0c20bdc0f0409c9d79d63e16fb26f Mon Sep 17 00:00:00 2001 From: Alexander Bell Date: Sat, 17 May 2025 16:31:12 +0200 Subject: [PATCH] pipe screenshot to clipboard --- .config/hypr/conf.d/keybinds.conf | 4 ++-- .config/hypr/hyprland.conf | 2 +- install.bash | 25 ++++++++++++++++++++----- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.config/hypr/conf.d/keybinds.conf b/.config/hypr/conf.d/keybinds.conf index f1adde7..e3a7c5e 100644 --- a/.config/hypr/conf.d/keybinds.conf +++ b/.config/hypr/conf.d/keybinds.conf @@ -11,8 +11,8 @@ $mainMod = SUPER # Sets "Windows" key as main modifier bind = $mainMod, Escape, exec, $lockscreen # Screenshot -bind = , Print, exec, $screenshot -bind = CTRL, Print, exec, $screenshotSelect +bind = , Print, exec, $screenshotSelect +bind = CTRL, Print, exec, $screenshot # Binds apps https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, RETURN, exec, $terminal diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 566741b..ddd350d 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -22,7 +22,7 @@ $powerMenu = bash ~/.config/waybar/scripts/power-menu.sh $browser = firefox $email = thunderbird $screenshot = grim -$screenshotSelect = grim -g "$(slurp)" +$screenshotSelect = grim -g "$(slurp -d)" - | wl-copy $lockscreen = hyprlock ############################# diff --git a/install.bash b/install.bash index 9babbdf..617cac3 100644 --- a/install.bash +++ b/install.bash @@ -2,11 +2,6 @@ # Run as root # Kitty tab bar: https://github.com/kovidgoyal/kitty/discussions/4447#discussioncomment-3240635 - -################################################################### -# SYMBOLIC LINKS -################################################################### - # Copy everything from .config ln -s ~/dotfiles/wallpapers ~/wallpapers @@ -22,6 +17,26 @@ ln -s ~/dotfiles/.conf/environment.d ~/.config/environment.d ################################################################### # PACKAGES + +################################################################### +# SYMBOLIC LINKS +################################################################### + + +################################################################### +# SYMBOLIC LINKS +################################################################### + + +################################################################### +# SYMBOLIC LINKS +################################################################### + + +################################################################### +# SYMBOLIC LINKS +################################################################### + ################################################################### # Hyperland stuff