enhance: Fixes here and there

- Fix flameshot not working (was replaced with grim as workaround)
- Fix xtmapper not spawn on the right place
This commit is contained in:
Ahmad Ansori Palembani 2024-04-27 08:29:10 +07:00
parent 5df2ab4905
commit 87b95207de
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -97,11 +97,14 @@ master {
windowrulev2 = stayfocused,title:^(XtMapper)$ windowrulev2 = stayfocused,title:^(XtMapper)$
windowrulev2 = noblur,title:^(XtMapper)$ windowrulev2 = noblur,title:^(XtMapper)$
windowrulev2 = float,title:^(XtMapper)$ windowrulev2 = float,title:^(XtMapper)$
windowrulev2 = move 0 34,title:^(XtMapper)$ windowrulev2 = move 0 28,title:^(XtMapper)$
windowrulev2 = rounding 0,title:^(XtMapper)$ windowrulev2 = rounding 0,title:^(XtMapper)$
#windowrulev2 = maxsize 1366 734,title:^(XtMapper)$ #windowrulev2 = maxsize 1366 734,title:^(XtMapper)$
#windowrulev2 = minsize 1366 734,title:^(XtMapper)$ #windowrulev2 = minsize 1366 734,title:^(XtMapper)$
# << # <<
windowrulev2 = noblur,title:^(flameshot)$
windowrulev2 = float,title:^(flameshot)$
windowrulev2 = noanim,title:^(flameshot)$ # still fading when it closes, but close enough
# Alt Key = Mostly for terminals only # Alt Key = Mostly for terminals only
$mainMod = SUPER # Super Key = General MOD for WM $mainMod = SUPER # Super Key = General MOD for WM
@ -111,7 +114,8 @@ $spaceMod = SUPER SHIFT # Super + Shift = MOD key(s) that control/modify the Wo
bind = $mainMod, T, exec, kitty bind = $mainMod, T, exec, kitty
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, B, exec, $BROWSER bind = $mainMod, B, exec, $BROWSER
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy #bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
bind = , Print, exec, env XDG_CURRENT_DESKTOP="sway" flameshot gui
bind = $mainMod, Space, exec, exec `tofi-run` 2>/dev/null bind = $mainMod, Space, exec, exec `tofi-run` 2>/dev/null
bind = $metaMod, Q, exit, bind = $metaMod, Q, exit,
bind = $metaMod, F, togglefloating, bind = $metaMod, F, togglefloating,