start spotifyd after display, add wl-clipboard, add pactl bindings in sway config
This commit is contained in:
parent
d08519918c
commit
0368c49716
@ -33,10 +33,10 @@ output HEADLESS-1 {
|
|||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
exec swayidle -w \
|
#exec swayidle -w \
|
||||||
timeout 600 'swaylock -f -c 000000' \
|
# timeout 600 'swaylock -f -c 000000' \
|
||||||
timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
# timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock -f -c 000000'
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
|
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
@ -82,6 +82,10 @@ exec swayidle -w \
|
|||||||
bindsym $mod+Shift+w exec "brightnessctl set +5%"
|
bindsym $mod+Shift+w exec "brightnessctl set +5%"
|
||||||
bindsym $mod+Shift+s exec "brightnessctl set 5%-"
|
bindsym $mod+Shift+s exec "brightnessctl set 5%-"
|
||||||
|
|
||||||
|
# Volume
|
||||||
|
bindsym $mod+Shift+u exec "pactl set-sink-volume 0 +5%"
|
||||||
|
bindsym $mod+Shift+d exec "pactl set-sink-volume 0 -5%"
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
# Despite the name, also works for non-floating windows.
|
# Despite the name, also works for non-floating windows.
|
||||||
@ -224,4 +228,5 @@ include /etc/sway/config.d/*
|
|||||||
include ~/.config/sway/local.d/*
|
include ~/.config/sway/local.d/*
|
||||||
|
|
||||||
# Display target has started
|
# Display target has started
|
||||||
exec systemctl start --user display.target &
|
exec systemctl --user import-environment
|
||||||
|
exec systemctl start --user display.target
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=A spotify playing daemon
|
Description=A spotify playing daemon
|
||||||
Documentation=https://github.com/Spotifyd/spotifyd
|
Documentation=https://github.com/Spotifyd/spotifyd
|
||||||
Wants=sound.target
|
|
||||||
After=sound.target
|
|
||||||
Wants=network-online.target
|
|
||||||
After=network-online.target
|
|
||||||
Wants=display.target
|
Wants=display.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -13,7 +13,7 @@ sudo pacman -S git vim \
|
|||||||
base-devel dunst wofi noto-fonts-emoji \
|
base-devel dunst wofi noto-fonts-emoji \
|
||||||
light brightnessctl pass docker \
|
light brightnessctl pass docker \
|
||||||
pavucontrol seahorse man xorg xorg-xwayland \
|
pavucontrol seahorse man xorg xorg-xwayland \
|
||||||
lxappearance
|
lxappearance wl-clipboard
|
||||||
|
|
||||||
# rustup
|
# rustup
|
||||||
rustup default stable
|
rustup default stable
|
||||||
|
Loading…
Reference in New Issue
Block a user