backporting some improvements from nix config.
This commit is contained in:
parent
0e31ba4ec5
commit
f18de04b2a
|
@ -42,7 +42,7 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
#start rofi in desktop app mode
|
#start rofi in desktop app mode
|
||||||
bindsym $mod+d exec rofi -modi window#run#drun -theme solarized -show drun
|
bindsym $mod+d exec rofi -modi window#run#drun -theme gruvbox-dark-soft -show drun
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
|
@ -201,16 +201,16 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym --release $mod+p exec --no-startup-id "xcolor -s"
|
bindsym --release $mod+p exec --no-startup-id "xcolor -s"
|
||||||
|
|
||||||
#mpd controls
|
#mpd controls
|
||||||
bindsym $mod+mod1+p exec --no-startup-id "mpc toggle"
|
bindsym $mod+mod1+p exec --no-startup-id "playerctl play-pause"
|
||||||
bindsym $mod+mod1+plus exec --no-startup-id "mpc volume +1; notify-send MPD: \\"$(mpc volume)\\" --expire-time=1000 -h string:x-dunst-stack-tag:mpdVolume"
|
bindsym $mod+mod1+plus exec --no-startup-id "playerctl volume -- +0.1; notify-send -h string:x-dunst-stack-tag:playervol --expire-time=500 Player $(playerctl volume)"
|
||||||
bindsym $mod+mod1+minus exec --no-startup-id "mpc volume -1; notify-send MPD: \\"$(mpc volume)\\" --expire-time=1000 -h string:x-dunst-stack-tag:mpdVolume"
|
bindsym $mod+mod1+minus exec --no-startup-id "playerctl volume -- -0.1; notify-send -h string:x-dunst-stack-tag:playervol --expire-time=500 Player $(playerctl volume)"
|
||||||
|
|
||||||
#open volume control
|
#open volume control
|
||||||
bindsym $mod+shift+p exec pavucontrol
|
bindsym $mod+shift+p exec pavucontrol
|
||||||
|
|
||||||
#volume control
|
#volume control
|
||||||
bindsym $mod+plus exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+; notify-send --expire-time=1000 -h string:x-dunst-stack-tag:volume $(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
bindsym $mod+plus exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+; dunstify --timeout=1000 -h string:x-dunst-stack-tag:volume -h int:value:$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d' ' -f2 | awk '{print $1*100}' ) Volume"
|
||||||
bindsym $mod+minus exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-; notify-send --expire-time=1000 -h string:x-dunst-stack-tag:volume $(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
bindsym $mod+minus exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-; dunstify --timeout=1000 -h string:x-dunst-stack-tag:volume -h int:value:$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d' ' -f2 | awk '{print $1*100}' ) Volume"
|
||||||
|
|
||||||
#open firefox
|
#open firefox
|
||||||
bindsym $mod+w exec firefox
|
bindsym $mod+w exec firefox
|
||||||
|
|
Loading…
Reference in a new issue