fixed sound issues where the headphones were not being detected correctly by using a static configuration with modprobe standardized the lock screen command and wallpapers for later use system-widemaster
parent
8a186fd7fd
commit
856ff79931
@ -0,0 +1,8 @@ |
||||
#!/bin/sh |
||||
exec swayidle -w \ |
||||
timeout 120 "$SCRIPT_DIR/brightness -d" \ |
||||
resume "$SCRIPT_DIR/brightness -i" \ |
||||
timeout 360 "swaymsg 'output * dpms off'" \ |
||||
resume "swaymsg 'output * dpms on'" \ |
||||
timeout 600 "$LOCK_SCREEN_COMMAND" |
||||
|
@ -1,32 +0,0 @@ |
||||
pcm.custom |
||||
{ |
||||
type plug |
||||
slave { |
||||
pcm "dmix:1,0" |
||||
} |
||||
} |
||||
|
||||
ctl.custom |
||||
{ |
||||
type hw |
||||
card 1 |
||||
} |
||||
|
||||
pcm.dsncap |
||||
{ |
||||
type dsnoop |
||||
slave { |
||||
pcm "hw:1,0" |
||||
channels 2 |
||||
} |
||||
} |
||||
|
||||
pcm.duplex |
||||
{ |
||||
type asym |
||||
playback.pcm pcm.custom |
||||
capture.pcm pcm.dsncap |
||||
} |
||||
|
||||
pcm.!default pcm.duplex |
||||
ctl.!default ctl.custom |
Loading…
Reference in new issue