Compare commits

...

3 Commits

Author SHA1 Message Date
Sheldon Lee
fa92536018 Merge branch 'master' of ssh://dundun.ddns.net:222/sheldonmlee/dotfiles 2022-10-08 23:28:23 +01:00
Sheldon Lee
71c94f48f4 Added more audio controls. 2022-10-08 23:27:34 +01:00
Sheldon Lee
9f17e55782 Launch sway with some environment variables. 2022-10-08 23:26:01 +01:00
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
if [[ ! -z "$IS_LAPTOP" ]]; then if [[ ! -z "$IS_LAPTOP" ]]; then
exec dbus-run-session sway WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 dbus-run-session sway
#dbus-run-session sway
else else
exec start-sway.sh exec start-sway.sh
fi fi

View File

@ -243,9 +243,12 @@ exec swayidle -w \
# If there are multiple scratchpad windows, this command cycles through them. # If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show bindsym $mod+minus scratchpad show
# #
# Microphone: # Audio:
# #
bindsym $mod+Tab exec toggle-mic-notify bindsym $mod+Tab exec toggle-mic-notify
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
# #
# Resizing containers: # Resizing containers:
# #