49 lines
2.4 KiB
Text
49 lines
2.4 KiB
Text
# Use clipman for the clipboard manager
|
|
exec wl-paste -t text --watch clipman store --no-persist
|
|
|
|
# Add screenshot and color picker
|
|
#bindsym Print exec grim -t png -c
|
|
bindsym Print exec "slurp -d | xargs -I % grim -g % -t png -c && wl-copy --type image/png < $(ls ~/Pictures/*_grim.png | tail --lines 1)"
|
|
bindsym Mod1+Print exec "slurp -p | xargs -I % grim -g % -t png - | convert - -format '%[pixel:p{0,0}]' txt:- | tail --lines 1 | xargs -I % zenity --info --text=% --title='Color picker'"
|
|
|
|
# gentoo wiki "More reasonable floating windows"
|
|
for_window [window_role = "pop-up"] floating enable
|
|
for_window [window_role = "bubble"] floating enable
|
|
for_window [window_role = "dialog"] floating enable
|
|
for_window [window_type = "dialog"] floating enable
|
|
for_window [window_role = "task_dialog"] floating enable
|
|
for_window [window_type = "menu"] floating enable
|
|
for_window [app_id = "floating"] floating enable
|
|
for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px
|
|
for_window [class = "(?i)pinentry"] floating enable
|
|
for_window [title = "Administrator privileges required"] floating enable
|
|
|
|
# librewolf floating windows
|
|
for_window [title = "About LibreWolf"] floating enable
|
|
for_window [window_role = "About"] floating enable
|
|
for_window [app_id="LibreWolf" title="Library"] floating enable, border pixel 1, sticky enable, resize set 800 500
|
|
|
|
# steam floating windows
|
|
for_window [class="steam" title="Friends List"] floating enable, resize set 300 600
|
|
for_window [class="steam" title="Steam - News"] floating enable
|
|
for_window [class="steam" title=".* - Chat"] floating enable
|
|
for_window [class="steam" title="^Settings$"] floating enable
|
|
for_window [class="steam" title=".* - event started"] floating enable
|
|
for_window [class="steam" title=".* CD key"] floating enable
|
|
for_window [class="steam" title="^Steam - Self Updater$"] floating enable
|
|
for_window [class="steam" title="^Screenshot Uploader$"] floating enable
|
|
for_window [class="steam" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
|
for_window [title="^Steam Keyboard$"] floating enable
|
|
|
|
# make Minecraft float
|
|
for_window [class="Minecraft.*"] floating enable
|
|
|
|
# other execs
|
|
exec --no-startup-id swaync
|
|
|
|
# polkit
|
|
exec --no-startup-id lxqt-policykit-agent
|
|
for_window [title="Authentication Required" app_id="lxqt-policykit-agent"] floating enable, resize set 350 200
|
|
|
|
# lock when Scroll_Lock is pressed
|
|
bindsym Scroll_Lock exec --no-startup-id $lockwall, mode "default"
|