Squeezed Rofi down a bit

This commit is contained in:
Salt 2017-07-30 19:03:09 -05:00
parent 8cf43cedd8
commit 0f329619f5
3 changed files with 7 additions and 1 deletions

View File

@ -20,6 +20,7 @@ rofi.color-normal: #1d2021, #ebdbb2, #282828, #98971a, #1d2021
rofi.color-active: #1d2021, #458588, #282828, #458588, #1d2021
rofi.color-urgent: #1d2021, #d79921, #282828, #d79921, #1d2021
rofi.width: 30
!-----------------------------
! Colors merged from Gruvbox-Dark
! Author: morhetz <morhetz@gmail.com>

2
.bin/mpc/mpc-i3-playlists Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
local PLAYLIST="$(mpc lsplaylists | rofi -dmenu -p 'Play MPD Playlist: ')"

View File

@ -231,7 +231,10 @@ mode "media" {
bindsym r exec --no-startup-id "~/.bin/mpc/mpc-i3-repeat"
# Toggle playback
bindsym p exec --no-startup-id "mpc toggle; notify-send -a 'Mopidy' -u low -t 1 'Toggle' 'Toggled playback'
bindsym t exec --no-startup-id "mpc toggle; notify-send -a 'Mopidy' -u low -t 1 'Toggle' 'Toggled playback'
# Start playing a playlist
bindsym p exec --no-startup-id "~/.bin/mpc/mpc-i3-playlists"
# Skip between tracks
bindsym Right exec --no-startup-id "mpc next; notify-send -a 'Mopidy' -u low -t 1 'Next' 'The current song has been skipped'"