Merge branch 'main' into new

This commit is contained in:
OdiousImp2604
2022-11-14 20:41:30 +00:00
committed by GitHub
3 changed files with 20 additions and 6 deletions

View File

@@ -7,6 +7,14 @@ set $down j
set $up k set $up k
set $right l set $right l
# audio control
set $sink_volume pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
set $source_volume pactl get-source-volume @DEFAULT_SOURCE@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
set $volume_down $(pactl set-sink-volume @DEFAULT_SINK@ -5% && $sink_volume)
set $volume_up $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume)
set $volume_mute $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p")
set $mic_mute $(pactl set-source-mute @DEFAULT_SOURCE@ toggle && pactl get-source-mute @DEFAULT_SOURCE@ | sed -En "/no/ s/.*/$($source_volume)/p; /yes/ s/.*/0/p")
# Your preferred terminal emulators # Your preferred terminal emulators
set $term-float xfce4-terminal set $term-float xfce4-terminal
@@ -182,9 +190,15 @@ bindsym $mod+r mode "resize"
# #
# Volume # Volume
# #
bindsym --locked XF86AudioRaiseVolume exec pamixer -ui 2 # Control volume trough pamixer
bindsym --locked XF86AudioLowerVolume exec pamixer -ud 2 # bindsym --locked XF86AudioRaiseVolume exec pamixer -ui 2
bindsym --locked XF86AudioMute exec pamixer -t # bindsym --locked XF86AudioLowerVolume exec pamixer -ud 2
# bindsym --locked XF86AudioMute exec pamixer -t
# Control volume directly trough pactl
bindsym --locked XF86AudioRaiseVolume exec $volume_up
bindsym --locked XF86AudioLowerVolume exec $volume_down
bindsym --locked XF86AudioMute exec $volume_mute
# #
# Player # Player
# #

View File

@@ -37,9 +37,9 @@ SDDM is the default display manager
- Keyboard layout in: `~/.config/sway/config.d/input` - Keyboard layout in: `~/.config/sway/config.d/input`
- Screen settings in: `~/.config/sway/config.d/output` - Screen settings in: `~/.config/sway/config.d/output`
- Keybings Cheatsheet: press keyboard icon in waybar - Keybindings Cheatsheet: press keyboard icon in waybar
- If your experiencing issus with your cursor - edit file `~/.profile` and comment out `export WLR_NO_HARDWARE_CURSORS=1` - If your experiencing issues with your cursor - edit file `~/.profile` and comment out `export WLR_NO_HARDWARE_CURSORS=1`
## Get involved at our forum: ## Get involved at our forum:
https://forum.endeavouros.com/t/sway-edition-general-conversation https://forum.endeavouros.com/t/sway-edition-general-conversation

View File

@@ -27,7 +27,7 @@ wayland-protocols
xorg-xwayland xorg-xwayland
egl-wayland egl-wayland
gtk-layer-shell gtk-layer-shell
ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-2048-em
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
brightnessctl brightnessctl
pamixer pamixer