From 0137dc32fec69a97874c770f9c94aa20729234a3 Mon Sep 17 00:00:00 2001 From: sudacode Date: Wed, 26 Feb 2025 18:07:40 -0800 Subject: [PATCH] updae --- hyprland.laptop.conf | 19 ++++++++++++------- keybindings.laptop.conf | 7 +++++++ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/hyprland.laptop.conf b/hyprland.laptop.conf index 7e2a556..a8ace6b 100644 --- a/hyprland.laptop.conf +++ b/hyprland.laptop.conf @@ -52,6 +52,7 @@ exec-once = uwsm app -sb -t service -- nm-applet 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 ############################# @@ -133,8 +134,10 @@ animations { animation = global, 1, 10, default animation = border, 1, 5.39, easeOutQuint animation = windows, 1, 4.79, easeOutQuint - animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% - animation = windowsOut, 1, 1.49, linear, popin 87% + # 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 = fadeIn, 1, 1.73, almostLinear animation = fadeOut, 1, 1.46, almostLinear animation = fade, 1, 3.03, quick @@ -143,9 +146,9 @@ animations { animation = layersOut, 1, 1.5, linear, fade animation = fadeLayersIn, 1, 1.79, almostLinear animation = fadeLayersOut, 1, 1.39, almostLinear - animation = workspaces, 1, 1.94, almostLinear, fade - animation = workspacesIn, 1, 1.21, almostLinear, fade - animation = workspacesOut, 1, 1.94, almostLinear, fade + animation = workspaces, 1, 1.94, almostLinear, slidefade + animation = workspacesIn, 1, 1.21, almostLinear, slidefade + animation = workspacesOut, 1, 1.94, almostLinear, slidefade } # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ @@ -244,10 +247,12 @@ workspace = w[1-10],monitor:eDP-1,persistent:false # Example windowrule v1 # windowrulev2 = float, class:com.mitchellh.ghostty 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:remote-viewer # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ diff --git a/keybindings.laptop.conf b/keybindings.laptop.conf index b1a0143..3d43e72 100644 --- a/keybindings.laptop.conf +++ b/keybindings.laptop.conf @@ -17,6 +17,7 @@ bind = $mainMod, V, togglefloating, bind = $mainMod, d, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, t, togglesplit, # dwindle +bind = $mainMod, f, fullscreen, # Move focus with mainMod + arrow keys bind = $mainMod, h, movefocus, l @@ -92,3 +93,9 @@ 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 + +# change wallpaper +bind = $mainMod CTRL, n, exec, ~/.local/bin/change-wallpaper.sh