The utils experiment was a bust. Time to fall back.
This commit is contained in:
parent
6eea09f15f
commit
45e81fd87e
|
@ -2,9 +2,6 @@
|
|||
#
|
||||
# Thurstylark
|
||||
|
||||
# Get hostname
|
||||
set $hostname "$(uname -n)"
|
||||
|
||||
# Directories
|
||||
set $dir-conf ~/.config/sway
|
||||
set $dir-localconf $dir-conf/$hostname
|
||||
|
|
|
@ -2,10 +2,4 @@
|
|||
#
|
||||
# Thurstylark
|
||||
|
||||
# Tools for setting output configuration
|
||||
include $dir-utils/output/set-mode
|
||||
include $dir-utils/output/set-position
|
||||
include $dir-utils/output/set-scale
|
||||
include $dir-utils/output/set-transform
|
||||
|
||||
include $dir-localconf/outputs/*.conf
|
||||
|
|
|
@ -2,10 +2,8 @@
|
|||
#
|
||||
# Thurstylark
|
||||
|
||||
include $dir-utils/output/set-bg
|
||||
|
||||
set $o-id "*"
|
||||
set $o-bg-path $default-background
|
||||
set $o-bg-fill "#000000"
|
||||
|
||||
$u-output-set-bg
|
||||
output $o-id bg $o-bg-path fill $o-bg-fill
|
||||
|
|
|
@ -8,4 +8,4 @@ set $o-id "*"
|
|||
set $o-bg-path $$(find $dir-wallpapers -type f \( -iname \*.jpg -o -iname \*.png \) -not -path $dir-wallpapers/sway/\* | shuf -n 1 )
|
||||
set $o-bg-fill "#000000"
|
||||
|
||||
$u-output-set-bg
|
||||
output $o-id bg $o-bg-path fill $o-bg-fill
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#
|
||||
# Thurstylark
|
||||
|
||||
# Include all common configs
|
||||
#include ~/.config/sway/common/*.conf
|
||||
# Get hostname
|
||||
set $hostname "$(uname -n)"
|
||||
|
||||
# Include all configs by hostname
|
||||
include ~/.config/sway/$hostname/*.conf
|
||||
|
|
|
@ -9,5 +9,7 @@ set $o-pos-y "0"
|
|||
|
||||
|
||||
# Do the thing
|
||||
$u-output-set-mode
|
||||
$u-output-set-position
|
||||
output $o-id {
|
||||
mode $o-mode
|
||||
pos $o-pos-x $o-pos-y
|
||||
}
|
||||
|
|
|
@ -9,5 +9,7 @@ set $o-pos-y "0"
|
|||
|
||||
|
||||
# Do the thing
|
||||
$u-output-set-mode
|
||||
$u-output-set-position
|
||||
output $o-id {
|
||||
mode $o-mode
|
||||
pos $o-pos-x $o-pos-y
|
||||
}
|
||||
|
|
|
@ -9,5 +9,7 @@ set $o-pos-y "0"
|
|||
|
||||
|
||||
# Do the thing
|
||||
$u-output-set-mode
|
||||
$u-output-set-position
|
||||
output $o-id {
|
||||
mode $o-mode
|
||||
pos $o-pos-x $o-pos-y
|
||||
}
|
||||
|
|
|
@ -21,7 +21,9 @@ set $o-transform "90"
|
|||
|
||||
# Do the thing
|
||||
# (comment or remove direcives that are unnecessary to avoid errors)
|
||||
$u-output-set-mode
|
||||
$u-output-set-position
|
||||
$u-output-set-scale
|
||||
$u-output-set-transform
|
||||
output $o-id {
|
||||
mode $o-mode
|
||||
position $o-pos-x $o-pos-y
|
||||
scale $o-scalefactor
|
||||
transform $o-transform
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# Sway config: Configure Output: Wallpaper
|
||||
#
|
||||
# Thurstylark
|
||||
|
||||
set $u-output-set-bg "output $$o-id bg $$o-bg-path fill $$o-bg-fill"
|
|
@ -1,5 +0,0 @@
|
|||
# Sway config: Configure Output: Mode
|
||||
#
|
||||
# Thurstylark
|
||||
|
||||
set $u-output-set-mode "output $$o-id mode $$o-mode"
|
|
@ -1,5 +0,0 @@
|
|||
# Sway config: Configure Output: Position
|
||||
#
|
||||
# Thurstylark
|
||||
|
||||
set $u-output-set-position "output $$o-id pos $$o-pos-x $$o-pos-y"
|
|
@ -1,5 +0,0 @@
|
|||
# Sway config: Configure Output: Scale
|
||||
#
|
||||
# Thurstylark
|
||||
|
||||
set $u-output-set-scale "output $$o-id scale $$o-scalefactor"
|
|
@ -1,5 +0,0 @@
|
|||
# Sway config: Configure Output: Transform
|
||||
#
|
||||
# Thurstylark
|
||||
|
||||
set $u-output-set-transform "output $$o-id transform $$o-transform"
|
Loading…
Reference in New Issue