Added window properties for wacky effects™
This commit is contained in:
parent
dc59af46e6
commit
5e43938afb
2 changed files with 12 additions and 3 deletions
|
@ -257,13 +257,22 @@ for_window [class=".*"] border pixel 0
|
|||
focus_follows_mouse yes
|
||||
hide_edge_borders smart
|
||||
|
||||
# Floaterizer 9000
|
||||
# Window Properties
|
||||
# Example usage: swaymsg 'set $PROP floating:border10:sticky ; exec alacritty'
|
||||
set $PROP none
|
||||
for_window [app_id="pinentry*"]; floating enable
|
||||
for_window [app_id="lxqt-policykit-aget"]; floating enable
|
||||
|
||||
for_window [shell="."] mark --add "prop:$$PROP:"
|
||||
for_window [con_mark=^prop.*:floating:] floating enable
|
||||
for_window [con_mark=^prop.*:fullscreen:] fullscreen enable
|
||||
for_window [con_mark=^prop.*:sticky:] sticky enable
|
||||
for_window [con_mark=^prop:] mark --toggle "prop:$$PROP:" ; set $$PROP none
|
||||
|
||||
# Gaps
|
||||
gaps inner 5
|
||||
|
||||
|
||||
# Colors
|
||||
# class border bground text indicator child_border
|
||||
client.focused #4285F4 #4285F4 #FFFFFF #4285F4 #2F60B0
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
"interval": 10,
|
||||
|
||||
"on-click": "alacritty -e nmtui",
|
||||
"on-click": "swaymsg 'set $PROP floating; exec alacritty -e nmtui'",
|
||||
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Connected via {ifname}\nIP: {ipaddr}/{cidr}\nBandwidth: {bandwidthDownBits} | {bandwidthUpBits}",
|
||||
|
@ -76,7 +76,7 @@
|
|||
"default": ["奄", "奔", "墳"]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"on-click": "pavucontrol-qt",
|
||||
"on-click": "swaymsg 'set $PROP floating; exec pavucontrol-qt'",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/spotify": {
|
||||
|
|
Loading…
Reference in a new issue