2023-11-30 18:19:56 -06:00
|
|
|
# Use clipman for the clipboard manager
|
|
|
|
exec wl-paste -t text --watch clipman store --no-persist
|
|
|
|
|
2024-03-22 12:55:56 -05:00
|
|
|
# start nm-applet for network management
|
|
|
|
exec nm-applet
|
|
|
|
|
2023-11-30 18:19:56 -06:00
|
|
|
# Add screenshot and color picker
|
2024-06-02 13:54:30 -05:00
|
|
|
bindsym Print exec "mkdir $HOME/Pictures; export FILENAME=$HOME/Pictures/screenshot_$(date +%F_%H:%M:%S).png; grim -t png -c $FILENAME; wl-copy --type image/png < $FILENAME"
|
2024-03-07 19:49:01 -06:00
|
|
|
bindsym Mod4+Shift+P exec "mkdir $HOME/Pictures; export FILENAME=$HOME/Pictures/screenshot_$(date +%F_%H:%M:%S).png; slurp -d | xargs -I % grim -g % -t png -c $FILENAME; wl-copy --type image/png < $FILENAME"
|
2024-02-21 09:09:08 -06:00
|
|
|
bindsym Mod4+Mod1+Shift+P 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'"
|
|
|
|
|
|
|
|
# Delete all user data
|
2024-07-10 14:39:46 -05:00
|
|
|
#bindsym Mod4+Mod1+Shift+BackSpace exec "pkill -9 librewolf; pkill -9 schildichat-des; pkill -9 vesktop; rm -rf /home/askiiart/.librewolf/; rm -rf ~/.config/SchildiChat/; rm -rf /home/askiiart/.config/vesktop/sessionData/; rm -rf /home/askiiart/Pictures; rm -rf /home/askiiart/Downloads; rm -rf /home/askiiart/Documents; rm -rf /home/askiiart/*"
|
2024-01-11 17:28:14 -06:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2024-01-15 20:38:09 -06:00
|
|
|
# librewolf floating windows
|
|
|
|
for_window [title = "About LibreWolf"] floating enable
|
2024-01-11 17:28:14 -06:00
|
|
|
for_window [window_role = "About"] floating enable
|
2024-01-15 20:38:09 -06:00
|
|
|
for_window [app_id="LibreWolf" title="Library"] floating enable, border pixel 1, sticky enable, resize set 800 500
|
2024-01-11 17:28:14 -06:00
|
|
|
|
|
|
|
# steam floating windows
|
2024-01-15 20:38:09 -06:00
|
|
|
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
|
2024-01-11 17:28:14 -06:00
|
|
|
for_window [title="^Steam Keyboard$"] floating enable
|
2024-01-15 20:38:09 -06:00
|
|
|
|
|
|
|
# make Minecraft float
|
|
|
|
for_window [class="Minecraft.*"] floating enable
|
2024-01-29 15:04:38 -06:00
|
|
|
|
2024-03-19 12:57:39 -05:00
|
|
|
# make claws mail TLS thing float
|
|
|
|
for_window [app_id="claws-mail" title="TLS certificate is unknown"] floating enable, resize set 600 400
|
|
|
|
|
2024-01-29 15:04:38 -06:00
|
|
|
# other execs
|
2024-03-19 12:57:39 -05:00
|
|
|
#exec /home/askiiart/.config/sway/dbus-sway-environment.sh
|
2024-03-06 20:18:13 -06:00
|
|
|
exec swaync
|
2024-01-29 15:04:38 -06:00
|
|
|
|
|
|
|
# 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"
|
2024-02-21 09:09:08 -06:00
|
|
|
|
|
|
|
# Adjust screen brightness with keys
|
2024-06-02 13:54:30 -05:00
|
|
|
bindsym Mod4+Mod1+Up exec "brightnessctl set 10%+"
|
|
|
|
bindsym Mod4+Mod1+Down exec "brightnessctl set 10%-"
|
|
|
|
bindsym Mod4+Mod1+Shift+Up exec "brightnessctl set 1%+"
|
|
|
|
bindsym Mod4+Mod1+Shift+Down exec "brightnessctl set 1%-"
|
2024-03-18 20:23:47 -05:00
|
|
|
|
|
|
|
# Adjust volume with keys
|
|
|
|
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
|
|
|
bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +2%"
|
|
|
|
bindsym Mod4+Mod1+Right exec "pactl set-sink-volume @DEFAULT_SINK@ +2%"
|
|
|
|
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -2%"
|
|
|
|
bindsym Mod4+Mod1+Left exec "pactl set-sink-volume @DEFAULT_SINK@ -2%"
|
2024-04-20 20:33:35 -05:00
|
|
|
|
|
|
|
# pipewire
|
|
|
|
exec "command_exists() { type '$1' &>/dev/null; }; if command_exists 'xbps-install'; then pipewire; fi"
|
2024-06-02 13:54:30 -05:00
|
|
|
|
|
|
|
exec "kanshi"
|