Added floating mode for MPV windows.

This commit is contained in:
James Patrick 2019-04-28 18:33:51 -04:00
parent 55728a78f5
commit a256b1b7c5

View File

@ -83,11 +83,13 @@ gaps outer 2
### Colors
# class border backgr text indicator child_border
client.focused #12e689 #12e689 #1f212e #12e689 #12e689
#client.focused #02a4fc #02a4fc #1f212e #02a4fc #02a4fc
client.focused_inactive #1f212e #1f212e #aab5c6 #1f212e #1f212e
client.unfocused #161720 #161720 #aab5c6 #161720 #161720
client.urgent #ff4551 #ff4551 #1f212e #ff4551 #ff4551
for_window [class="mpv"] floating enabled
### Make things a little easier easier on the eyes.
exec redshift
@ -190,6 +192,9 @@ font pango:Fira Code 9
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Adding Sticky mode. This will keep a floating window on all screens.
bindsym $mod+Shift+s sticky toggle
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle