From bd7f5d78af9f8648c5a68b057a079314d7f81ce1 Mon Sep 17 00:00:00 2001 From: sudacode Date: Wed, 5 Mar 2025 20:27:04 -0800 Subject: [PATCH] updae --- hyprland.laptop.conf | 8 +++++--- keybindings.laptop.conf | 10 +++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/hyprland.laptop.conf b/hyprland.laptop.conf index a8ace6b..c6658e6 100644 --- a/hyprland.laptop.conf +++ b/hyprland.laptop.conf @@ -53,6 +53,7 @@ exec-once = uwsm app -sb -t service -- waybar exec-once = uwsm app -sb -t service -- hyprsunset exec-once = uwsm app -sb -t service -- polkit-kde-authentication-agent-1.desktop exec-once = uwsm app -sb -t service -- variety +exec-once = uwsm app -sb -t service -- fcitx5 ############################# @@ -137,7 +138,7 @@ animations { # animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% # animation = windowsOut, 1, 1.49, linear, popin 87% animation = windowsIn, 1, 4.1, easeOutQuint, slide - animation = windowsOut, 1, 1.49, linear, slide + animation = windowsOut, 1, 1.49, easeOutQuint, slide animation = fadeIn, 1, 1.73, almostLinear animation = fadeOut, 1, 1.46, almostLinear animation = fade, 1, 3.03, quick @@ -249,9 +250,10 @@ workspace = w[1-10],monitor:eDP-1,persistent:false windowrulev2 = float, class:discord windowrulev2 = float, class:mpv windowrulev2 = workspace 10 silent, class:discord -# windowrulev2 = opacity 0.88, class:.* fullscreen:0 - windowrulev2 = opacity 1, class:.* fullscreen:0 +windowrulev2 = opacity 0.88, class:.* fullscreen:0 +# windowrulev2 = opacity 1, class:.* fullscreen:0 windowrulev2 = opacity 1, class:mpv fullscreen:0 +windowrulev2 = opacity 1, class:anki fullscreen:0 windowrulev2 = opacity 1, class:remote-viewer # Example windowrule v2 diff --git a/keybindings.laptop.conf b/keybindings.laptop.conf index 3d43e72..eca44a5 100644 --- a/keybindings.laptop.conf +++ b/keybindings.laptop.conf @@ -93,9 +93,13 @@ bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp bind = $mainMod SHIFT, n, exec, swaync-client -t bind = SUPER, m, exec, ~/.local/bin/mpv-add.sh -# flameshot -bind = SUPER SHIFT, s, exec, uwsm app -sb -- flameshot gui -bind = ,code:107, exec, uwsm app -- flameshot full + +bind = SUPER SHIFT, s, exec, slurp | grim -g - - | wl-copy +bind = ,code:107, exec, grim -g "$(slurp)" "$HOME/Pictures/$(date +'%s_grim.png')" # change wallpaper bind = $mainMod CTRL, n, exec, ~/.local/bin/change-wallpaper.sh + +# toggle focus between current and last focused window +bind = ALT, Tab, focuscurrentorlast +