You are not logged in.

#1 2019-07-16 11:08:01

Hercule Poirot
Member
Registered: 2019-07-16
Posts: 1

sxhkd (Simple X Hotkey Daemon) doesn't run a command on alt + ctrl

My sxhkdrc file:

alt + w
	amixer -q sset Master 5%+; pkill -SIGTRAP dwmbar

alt + s
	amixer -q sset Master 5%-; pkill -SIGTRAP dwmbar

alt + e
	amixer -q sset Master toggle; pkill -SIGTRAP dwmbar

ctrl + alt
	 pkill -SIGTRAP dwmbar

alt + r
	~/.scripts/mount_script

alt + x
	slock

Here is my dwmbar script, just so we are all on the same page:

#!/bin/sh
trap 'update' 5
update() {
        xsetroot -name " $(layout) | Volume $(amixer get Master | awk -F'[][]' 'END{ print toupper($4)": "$2 }') | $(date +'%A %d %B %Y %R')"
		wait
}
while true; do
	update	
	sleep 1m &
	wait $!
done

On dwm startup this command is ran, but it shouldn't conflict with sxhkd, right?

setxkbmap -layout us,rs -variant ,alternatequotes -option grp:ctrl_alt_toggle,caps:swapescape

As the title says everything works fine except alt + ctrl.

Offline

Board footer

Powered by FluxBB