From a36b1e154dad7265603a43671b75ec5146520ea6 Mon Sep 17 00:00:00 2001 From: tiynger Date: Thu, 17 Oct 2019 08:53:55 +0200 Subject: [PATCH] adding Music shortcut in sxhkd --- .config/i3/config | 6 ++++-- .config/profile | 1 + .config/sxhkd/sxhkdrc | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 4ea58d0..7f2fd34 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -49,7 +49,7 @@ bindsym $mod+Shift+b bar mode toggle #bindsym $mod+c taken by sxhkd -bindsym $mod+Shift+d floating toggle +bindsym $mod+Shift+d floating toggle bindsym $mod+Shift+f fullscreen toggle @@ -69,13 +69,15 @@ bindsym $mod+l focus right bindsym $mod+Shift+l move right 30 #bindsym $mod+m taken by sxhkd -bindsym $mod+Shift+m move scratchpad +bindsym $mod+Shift+m move scratchpad #bindsym $mod+n taken by sxhkd #bindsym $mod+Shift+n taken by sxhkd bindsym $mod+Shift+o exec --no-startup-id i3resize right +#bindym $mod+p taken by sxhkd + bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec --no-startup-id kill -9 `xdotool getwindowfocus getwindowpid` diff --git a/.config/profile b/.config/profile index eb174f5..aca0aee 100644 --- a/.config/profile +++ b/.config/profile @@ -20,6 +20,7 @@ export TABLE="sc-im" export IMAGE="sxiv" export LATEX="code" export MAIL="thunderbird" +export MUSIC="ncmpcpp" # less/man colors export LESS=-R diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 96976ac..9c94cf3 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -29,6 +29,8 @@ super + n super + shift + n i3-scratchpad-dmenu.py #super + shift + o taken by i3 +super + p + $MUSIC #super + q taken by i3 #super + shift + q taken by i3 super + r