Added flameshot for screenshots
This commit is contained in:
@@ -57,7 +57,6 @@ env = HYPRCURSOR_SIZE,24
|
||||
# enforce_permissions = 1
|
||||
# }
|
||||
|
||||
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
|
||||
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
|
||||
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
|
||||
|
||||
@@ -183,12 +182,10 @@ misc {
|
||||
input {
|
||||
|
||||
# Keyboard
|
||||
# kb_layout = us
|
||||
kb_layout = us,il
|
||||
kb_options = caps:swapescape,grp:alt_shift_toggle
|
||||
kb_variant =
|
||||
kb_model =
|
||||
# kb_options = caps:swapescape,caps:swapescape
|
||||
kb_rules =
|
||||
# TODO: repeat_delay feels slightly too slow?
|
||||
repeat_delay = 400
|
||||
@@ -231,6 +228,10 @@ bind = $mainMod, R, exec, $menu
|
||||
# bind = $mainMod, P, pseudo, # dwindle
|
||||
# bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
# ctrl-c to copy from the flameshot gui gives warped images sometimes, but
|
||||
# setting the env fixes it
|
||||
bind = $mainMod, S, exec, XDG_CURRENT_DESKTOP=sway flameshot gui -p ~/Pictures/Screenshots/ -c
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
@@ -302,3 +303,14 @@ windowrule = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
# Flameshot
|
||||
# noanim isn't necessary but animations with these rules might look bad. use at your own discretion.
|
||||
windowrule = noanim, class:^(flameshot)$
|
||||
windowrule = float, class:^(flameshot)$
|
||||
windowrule = move 0 0, class:^(flameshot)$
|
||||
windowrule = pin, class:^(flameshot)$
|
||||
windowrule = noinitialfocus, class:^(flameshot)$
|
||||
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
|
||||
# before executing flameshot
|
||||
windowrule = monitor 1, class:^(flameshot)$
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
chromium # for firefox/zen issue not rendering emojis properly
|
||||
krita
|
||||
pipeline
|
||||
flameshot
|
||||
(flameshot.override { enableWlrSupport = true; })
|
||||
qdirstat
|
||||
wofi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user