fixed audio
This commit is contained in:
+16
-8
@@ -31,6 +31,7 @@
|
|||||||
- [[#system-locale][System Locale]]
|
- [[#system-locale][System Locale]]
|
||||||
- [[#keyboard-layout][Keyboard Layout]]
|
- [[#keyboard-layout][Keyboard Layout]]
|
||||||
- [[#ntp][NTP]]
|
- [[#ntp][NTP]]
|
||||||
|
- [[#audio][Audio]]
|
||||||
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
|
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
|
||||||
- [[#lightdm][LightDM]]
|
- [[#lightdm][LightDM]]
|
||||||
- [[#xfce][Xfce]]
|
- [[#xfce][Xfce]]
|
||||||
@@ -582,6 +583,14 @@ if ! systemctl is-enabled --quiet "$systemd_service"; then
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Audio
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
pulseaudio
|
||||||
|
pulseaudio-alsa
|
||||||
|
pulseaudio-bluetooth
|
||||||
|
pulseaudio-equalizer
|
||||||
|
pulseaudio-jack
|
||||||
|
#+end_src
|
||||||
* Desktop Environments and Window Manager
|
* Desktop Environments and Window Manager
|
||||||
** [[https://wiki.archlinux.org/title/LightDM][LightDM]]
|
** [[https://wiki.archlinux.org/title/LightDM][LightDM]]
|
||||||
install the required packages
|
install the required packages
|
||||||
@@ -968,7 +977,7 @@ def workspace_status_widgets(size, fontsize):
|
|||||||
widget.WindowName(fontsize=fontsize)
|
widget.WindowName(fontsize=fontsize)
|
||||||
]
|
]
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Audio
|
**** Audio Widgets
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
def audio_widgets(size, fontsize):
|
def audio_widgets(size, fontsize):
|
||||||
return[
|
return[
|
||||||
@@ -1617,15 +1626,14 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Audio
|
**** Audio
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
pulseaudio-ctl
|
pamixer
|
||||||
alsa-utils
|
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
keys.extend([
|
keys.extend([
|
||||||
Key([], 'XF86AudioRaiseVolume', lazy.spawn(f'pulseaudio-ctl up {5 if chassis_type == ChassisType.LAPTOP else 1}'), desc="increase speaker volume"),
|
Key([], 'XF86AudioRaiseVolume', lazy.spawn(f'pamixer -i {5 if chassis_type == ChassisType.LAPTOP else 1}'), desc="increase speaker volume"),
|
||||||
Key([], 'XF86AudioLowerVolume', lazy.spawn(f'pulseaudio-ctl down {5 if chassis_type == ChassisType.LAPTOP else 1}'), desc="decrease speaker volume"),
|
Key([], 'XF86AudioLowerVolume', lazy.spawn(f'pamixer -d {5 if chassis_type == ChassisType.LAPTOP else 1}'), desc="decrease speaker volume"),
|
||||||
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute'), desc="toggle speaker mute"),
|
Key([], 'XF86AudioMute', lazy.spawn('pamixer -t'), desc="toggle speaker mute"),
|
||||||
Key(['control'], 'XF86AudioRaiseVolume', lazy.spawn(f'amixer set Capture {5 if chassis_type == ChassisType.LAPTOP else 1}%+'), desc="increase mic volume"),
|
Key(['control'], 'XF86AudioRaiseVolume', lazy.spawn(f'amixer set Capture {5 if chassis_type == ChassisType.LAPTOP else 1}%+'), desc="increase mic volume"),
|
||||||
Key(['control'], 'XF86AudioLowerVolume', lazy.spawn(f'amixer set Capture {5 if chassis_type == ChassisType.LAPTOP else 1}%-'), desc="decrease mic volume"),
|
Key(['control'], 'XF86AudioLowerVolume', lazy.spawn(f'amixer set Capture {5 if chassis_type == ChassisType.LAPTOP else 1}%-'), desc="decrease mic volume"),
|
||||||
Key(['control'], 'XF86AudioMute', lazy.spawn('amixer set Capture toggle'), desc="toggle mic mute"),
|
Key(['control'], 'XF86AudioMute', lazy.spawn('amixer set Capture toggle'), desc="toggle mic mute"),
|
||||||
@@ -3056,7 +3064,7 @@ set user
|
|||||||
#+begin_src conf :tangle ~/.gitconfig
|
#+begin_src conf :tangle ~/.gitconfig
|
||||||
[user]
|
[user]
|
||||||
name = paul-loedige
|
name = paul-loedige
|
||||||
email = paul@gve-loedige.de
|
email = 59517210+ploedige@users.noreply.github.com
|
||||||
#+end_src
|
#+end_src
|
||||||
set default branch to =main=
|
set default branch to =main=
|
||||||
#+begin_src conf :tangle ~/.gitconfig
|
#+begin_src conf :tangle ~/.gitconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user