sway minor refactoring
This commit is contained in:
+4
-8
@@ -47,17 +47,15 @@ set $ws7 number 7
|
||||
set $ws8 number 8
|
||||
set $ws9 number 9
|
||||
set $ws10 number 10
|
||||
# scripts
|
||||
set $script_path /usr/share/sway/scripts
|
||||
# terminal editor
|
||||
set $term footclient
|
||||
set $term_float footclient --app-id floating_shell --window-size-chars 120x45
|
||||
# swayidle
|
||||
set $locking swaylock --screenshots --clock --grace 10 --fade-in 0.5 --effect-blur 5x5 --effect-greyscale
|
||||
# scaling
|
||||
set $scale_up $script_path/scale.sh up
|
||||
set $scale_down $script_path/scale.sh down
|
||||
set $scale_default $script_path/scale.sh default
|
||||
set $scale_up /usr/share/sway/scripts/scale.sh up
|
||||
set $scale_down /usr/share/sway/scripts/scale.sh down
|
||||
set $scale_default /usr/share/sway/scripts/scale.sh default
|
||||
# audio
|
||||
set $pulseaudio $term_float pulsemixer
|
||||
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
|
||||
# foot server
|
||||
systemctl --user enable --now foot-server
|
||||
# swappy notify
|
||||
$script_path/screenshot-notify.sh
|
||||
}
|
||||
exec_always {
|
||||
nm-applet
|
||||
@@ -121,7 +117,7 @@ exec_always {
|
||||
wl-clip-persist --clipboard regular --all-mime-type-regex '(?i)^(?!image/x-inkscape-svg).+'
|
||||
# mako daemon
|
||||
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
|
||||
noisetorch -u
|
||||
noisetorch -i
|
||||
|
||||
Reference in New Issue
Block a user