sway: add dunst bindings, firefox rule and cosmetics for wofi

This commit is contained in:
Konstantin Koslowski 2021-02-02 21:33:49 +01:00
parent e6cd82720d
commit 179c8457a2

11
config
View file

@ -24,7 +24,8 @@ set $volume_cmd $HOME/.config/sway/bin/sway_volume
set $font Cascadia Code PL Regular 10 set $font Cascadia Code PL Regular 10
# Your preferred application launcher # Your preferred application launcher
set $menu wofi --show drun set $menu wofi --show drun --prompt applications
# #
# Host Specific # Host Specific
# #
@ -220,6 +221,13 @@ bindsym $mod+z [con_mark="z"] scratchpad show
bindsym $mod+x [con_mark="x"] scratchpad show bindsym $mod+x [con_mark="x"] scratchpad show
bindsym $mod+c [con_mark="c"] scratchpad show bindsym $mod+c [con_mark="c"] scratchpad show
#
# Notifications
#
bindsym $mod+comma exec dunstctl close-all
bindsym $mod+period exec dunstctl history-pop
# #
# Modes # Modes
# #
@ -249,6 +257,7 @@ for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
for_window [class="feh"] floating enable for_window [class="feh"] floating enable
for_window [app_id=".*"] title_format '<span font_weight="bold">%title</span> <span>(%app_id)</span>' for_window [app_id=".*"] title_format '<span font_weight="bold">%title</span> <span>(%app_id)</span>'
for_window [class=".*"] title_format '<span font_weight="bold">%title</span> <span>(%class:%instance)</span>' for_window [class=".*"] title_format '<span font_weight="bold">%title</span> <span>(%class:%instance)</span>'
for_window [app_id="firefox" title="Firefox - Sharing Indicator"] floating enable; move position 0 0
# #
# Status Bar: # Status Bar: