diff --git a/.bin/mpv-xwinwrap b/.bin/mpv-xwinwrap index 6de8569f..0bc6a3ba 100755 --- a/.bin/mpv-xwinwrap +++ b/.bin/mpv-xwinwrap @@ -34,7 +34,8 @@ cachecontent="$(cat $cachefile)" function video-play { notify-send -u low -t 10 -a 'MPV' "Embedded Video" "Playing $1 as a stream embedded in the desktop" - pkill -x mpv + pkill -x xwinwrap + #xwinwrap -g 1920x1048+0+0 -ni -b -nf -o 0.5 -ov -- urxvt -bg rgba:2828/2828/2828/FFFF -embed WID -e cava xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --title="Desktop Video" --loop-playlist=inf $1 return 0 } diff --git a/.config/cava/config b/.config/cava/config index 87598446..ebbbd9b3 100644 --- a/.config/cava/config +++ b/.config/cava/config @@ -94,7 +94,7 @@ method = pulse # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. # Or defined by hex code '#xxxxxx' (hex code must be within ''). -background = '#1d2021' #bg0_h +#background = '#1d2021' #bg0_h foreground = 'cyan' diff --git a/.config/i3/config b/.config/i3/config index dbfcca7a..556c0396 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -99,7 +99,7 @@ set $w10 10 bindsym $mod+n exec "i3-msg rename workspace to $(rofi -dmenu -p 'Rename workspace: ' -l 1)" bindsym $mod+p exec --no-startup-id "~/.bin/mpv-xwinwrap" -bindsym $mod+$shift+p exec --no-startup-id "pkill mpv" +bindsym $mod+$shift+p exec --no-startup-id "pkill xwinwrap" ################### ## Keybindings