diff --git a/Xorg/.xinitrc b/Xorg/.xinitrc index 5f4b255..40ed3bd 100644 --- a/Xorg/.xinitrc +++ b/Xorg/.xinitrc @@ -32,4 +32,5 @@ fi setxkbmap de & nitrogen --restore & +bash .screenlayout/layout.sh & exec qtile diff --git a/audio/.asoundrc b/audio/.asoundrc index 26bfaf3..5e5ff88 100644 --- a/audio/.asoundrc +++ b/audio/.asoundrc @@ -1,7 +1,9 @@ +defaults.pcm.card 1 +defaults.ctl.card 1 pcm.upmix51 { type upmix slave.pcm "surround51" - delay 0 + delay 10 channels 6 } pcm.!default "plug:upmix51" diff --git a/qtile/.config/qtile/config.py b/qtile/.config/qtile/config.py index 71aa2be..c42486c 100644 --- a/qtile/.config/qtile/config.py +++ b/qtile/.config/qtile/config.py @@ -39,13 +39,6 @@ from libqtile.lazy import lazy mod = "mod4" terminal = "termite" -#region autostart -@hook.subscribe.startup_once -def autostart(): - layout = os.path.expanduser('~/.config/qtile/layout.sh') - subprocess.call([layout]) -#endregion - #region key_and_mouse_bindings keys = [ diff --git a/screen-layout/.screenlayout/layout.sh b/screen-layout/.screenlayout/layout.sh new file mode 100755 index 0000000..9d01539 --- /dev/null +++ b/screen-layout/.screenlayout/layout.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DVI-I-1 --primary --mode 1280x1024 --pos 2082x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --mode 3440x1440 --pos 1080x1024 --rotate normal --output HDMI-1 --mode 1920x1080 --pos 0x699 --rotate left