sway minor refactoring
This commit is contained in:
+4
-8
@@ -47,17 +47,15 @@ set $ws7 number 7
|
|||||||
set $ws8 number 8
|
set $ws8 number 8
|
||||||
set $ws9 number 9
|
set $ws9 number 9
|
||||||
set $ws10 number 10
|
set $ws10 number 10
|
||||||
# scripts
|
|
||||||
set $script_path /usr/share/sway/scripts
|
|
||||||
# terminal editor
|
# terminal editor
|
||||||
set $term footclient
|
set $term footclient
|
||||||
set $term_float footclient --app-id floating_shell --window-size-chars 120x45
|
set $term_float footclient --app-id floating_shell --window-size-chars 120x45
|
||||||
# swayidle
|
# swayidle
|
||||||
set $locking swaylock --screenshots --clock --grace 10 --fade-in 0.5 --effect-blur 5x5 --effect-greyscale
|
set $locking swaylock --screenshots --clock --grace 10 --fade-in 0.5 --effect-blur 5x5 --effect-greyscale
|
||||||
# scaling
|
# scaling
|
||||||
set $scale_up $script_path/scale.sh up
|
set $scale_up /usr/share/sway/scripts/scale.sh up
|
||||||
set $scale_down $script_path/scale.sh down
|
set $scale_down /usr/share/sway/scripts/scale.sh down
|
||||||
set $scale_default $script_path/scale.sh default
|
set $scale_default /usr/share/sway/scripts/scale.sh default
|
||||||
# audio
|
# audio
|
||||||
set $pulseaudio $term_float pulsemixer
|
set $pulseaudio $term_float pulsemixer
|
||||||
set $sink_volume pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
|
set $sink_volume pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
|
||||||
@@ -110,8 +108,6 @@ exec {
|
|||||||
systemctl --user enable --now sworkstyle
|
systemctl --user enable --now sworkstyle
|
||||||
# foot server
|
# foot server
|
||||||
systemctl --user enable --now foot-server
|
systemctl --user enable --now foot-server
|
||||||
# swappy notify
|
|
||||||
$script_path/screenshot-notify.sh
|
|
||||||
}
|
}
|
||||||
exec_always {
|
exec_always {
|
||||||
nm-applet
|
nm-applet
|
||||||
@@ -121,7 +117,7 @@ exec_always {
|
|||||||
wl-clip-persist --clipboard regular --all-mime-type-regex '(?i)^(?!image/x-inkscape-svg).+'
|
wl-clip-persist --clipboard regular --all-mime-type-regex '(?i)^(?!image/x-inkscape-svg).+'
|
||||||
# mako daemon
|
# mako daemon
|
||||||
pkill -x mako
|
pkill -x mako
|
||||||
$script_path/mako.sh --font "$term-font" --text-color "$text-color" --border-color "$accent-color" --background-color "$background-color" --border-size 3 --width 400 --height 200 --padding 20 --margin 20 --default-timeout 15000
|
mako --font "$term-font" --text-color "$text-color" --border-color "$accent-color" --background-color "$background-color" --border-size 3 --width 400 --height 200 --padding 20 --margin 20 --default-timeout 15000
|
||||||
# enable noisetorch
|
# enable noisetorch
|
||||||
noisetorch -u
|
noisetorch -u
|
||||||
noisetorch -i
|
noisetorch -i
|
||||||
|
|||||||
Reference in New Issue
Block a user