Changes to SXHkD and added script to easily perform xrandr on displays
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# Launchers
|
# Launchers
|
||||||
super + Escape
|
super + Escape
|
||||||
notify-send -u low "Reloaded sxhkd"; \
|
|
||||||
killall sxhkd; sxhkd
|
|
||||||
|
|
||||||
super + shift + Escape
|
|
||||||
notify-send -u low "Reloading xprofile"; \
|
notify-send -u low "Reloading xprofile"; \
|
||||||
sh .xprofile;
|
sh .xprofile;
|
||||||
|
|
||||||
|
super + shift + Escape
|
||||||
|
notify-send -u low "Reloaded sxhkd"; \
|
||||||
|
killall sxhkd; sxhkd -r "$XDG_CACHE_HOME/sxhkd_out"
|
||||||
|
|
||||||
super + Return
|
super + Return
|
||||||
notify-send -u low "Launching terminal"; \
|
notify-send -u low "Launching terminal"; \
|
||||||
$TERMINAL
|
$TERMINAL
|
||||||
@@ -30,6 +30,15 @@ super + colon
|
|||||||
super + apostrophe
|
super + apostrophe
|
||||||
$HOME/.local/scripts/statdisplay;
|
$HOME/.local/scripts/statdisplay;
|
||||||
|
|
||||||
|
super + equal
|
||||||
|
$HOME/.local/scripts/act_display "--auto";
|
||||||
|
|
||||||
|
super + minus
|
||||||
|
$HOME/.local/scripts/act_display "--off";
|
||||||
|
|
||||||
|
super + numbersign
|
||||||
|
$HOME/.local/scripts/bt_connect;
|
||||||
|
|
||||||
super + z
|
super + z
|
||||||
notify-send -u low "Launching zathura"; \
|
notify-send -u low "Launching zathura"; \
|
||||||
zathura
|
zathura
|
||||||
@@ -47,6 +56,10 @@ super + ctrl + d
|
|||||||
notify-send -u low "Changing background"; \
|
notify-send -u low "Changing background"; \
|
||||||
$HOME/.local/scripts/background;
|
$HOME/.local/scripts/background;
|
||||||
|
|
||||||
|
super + ctrl + D
|
||||||
|
notify-send -u low "Changing background"; \
|
||||||
|
$HOME/.local/scripts/black-bg;
|
||||||
|
|
||||||
super + p
|
super + p
|
||||||
passmenu -f -i
|
passmenu -f -i
|
||||||
|
|
||||||
@@ -61,25 +74,25 @@ super + Home
|
|||||||
|
|
||||||
# Music and volume
|
# Music and volume
|
||||||
super + F{6,7,8}
|
super + F{6,7,8}
|
||||||
playerctl --player=spotify {previous,play-pause,next};
|
playerctl {previous,play-pause,next};
|
||||||
|
|
||||||
XF86Audio{Prev,Play,Next}
|
XF86Audio{Prev,Play,Next}
|
||||||
playerctl --player=spotify {previous,play-pause,next};
|
playerctl {previous,play-pause,next};
|
||||||
|
|
||||||
XF86Audio{Lower,Raise}Volume
|
XF86Audio{Lower,Raise}Volume
|
||||||
kill -43 $(pidof dwmblocks); \
|
kill -42 $(pidof dwmblocks); \
|
||||||
{pamixer -d,pamixer -i} 5 --allow-boost;
|
{pamixer -d,pamixer -i} 5 --allow-boost;
|
||||||
|
|
||||||
shift + XF86Audio{Lower,Raise}Volume
|
shift + XF86Audio{Lower,Raise}Volume
|
||||||
kill -43 $(pidof dwmblocks); \
|
kill -42 $(pidof dwmblocks); \
|
||||||
{pamixer -d,pamixer -i} 1 --allow-boost;
|
{pamixer -d,pamixer -i} 1 --allow-boost;
|
||||||
|
|
||||||
super + F{9,10}
|
super + F{9,10}
|
||||||
kill -43 $(pidof dwmblocks); \
|
kill -42 $(pidof dwmblocks); \
|
||||||
{pamixer -d,pamixer -i} 1 --allow-boost;
|
{pamixer -d,pamixer -i} 1 --allow-boost;
|
||||||
|
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
kill -43 $(pidof dwmblocks); \
|
kill -42 $(pidof dwmblocks); \
|
||||||
pamixer -t;
|
pamixer -t;
|
||||||
|
|
||||||
Pause
|
Pause
|
||||||
|
|||||||
5
Scripts/.local/scripts/act_display
Executable file
5
Scripts/.local/scripts/act_display
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
choice=$(xrandr | grep " connected" | sed "s/ .*//" | dmenu -i -p "Display:")
|
||||||
|
|
||||||
|
[ ! -z $choice ] && xrandr --output $choice $@
|
||||||
Reference in New Issue
Block a user