add per-host sway config sub-import
This commit is contained in:
parent
528c998ee4
commit
4cee3e6b2d
2 changed files with 15 additions and 17 deletions
|
@ -132,16 +132,11 @@ bindsym $mod+Shift+e mode "$mode_system"
|
||||||
font xft:artwiz lime 7
|
font xft:artwiz lime 7
|
||||||
default_border pixel 5
|
default_border pixel 5
|
||||||
font xft:Roboto 13
|
font xft:Roboto 13
|
||||||
#gaps inner 8
|
|
||||||
# gaps outer 0
|
|
||||||
gaps inner 5
|
gaps inner 5
|
||||||
|
|
||||||
# app specific launch flags
|
# app specific launch flags
|
||||||
for_window [class="Peek"] floating enable
|
for_window [class="Peek"] floating enable
|
||||||
|
|
||||||
#set_from_resource $fg i3wm.color7
|
|
||||||
#set_from_resource $bg i3wm.color2
|
|
||||||
#set_from_resource $bgalt i3wm.color8
|
|
||||||
include "$HOME/.cache/wal/colors-sway"
|
include "$HOME/.cache/wal/colors-sway"
|
||||||
set $fg $color3
|
set $fg $color3
|
||||||
set $bg $color1
|
set $bg $color1
|
||||||
|
@ -158,25 +153,16 @@ client.unfocused $bgalt $bgalt $fg $bg $bgalt
|
||||||
# client.background $bg
|
# client.background $bg
|
||||||
|
|
||||||
# autostart
|
# autostart
|
||||||
#exec --no-startup-id wal -q -t -i ~/wallpaper --saturate 0.8
|
|
||||||
# exec_always ~/.config/polybar/launch.sh
|
|
||||||
exec_always mako
|
exec_always mako
|
||||||
|
exec_always import-gsettings
|
||||||
|
exec systemctl --user import-environment
|
||||||
|
|
||||||
input "type:keyboard" {
|
input "type:keyboard" {
|
||||||
xkb_options caps:swapescape
|
xkb_options caps:swapescape
|
||||||
}
|
}
|
||||||
|
|
||||||
set $monitor-center DP-1
|
include "$HOME/.config/sway/hosts/`hostname`"
|
||||||
set $monitor-left DVI-D-1
|
|
||||||
set $monitor-right DVI-I-1
|
|
||||||
|
|
||||||
output $monitor-center pos 1080 500 res 3840x2160
|
|
||||||
output $monitor-left pos 0 0 res 1920x1080 transform 90
|
|
||||||
output $monitor-right pos 4920 0 res 1920x1080 transform 270
|
|
||||||
|
|
||||||
# output $monitor-center bg $wallpaper fill
|
|
||||||
# output $monitor-left bg $wallpaper fill
|
|
||||||
# output $monitor-right bg $wallpaper fill
|
|
||||||
output * bg $wallpaper fill
|
output * bg $wallpaper fill
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
|
|
12
_config/sway/hosts/nisse
Normal file
12
_config/sway/hosts/nisse
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
set $monitor-center DP-1
|
||||||
|
set $monitor-left DP-2
|
||||||
|
set $kamvas HDMI-A-1
|
||||||
|
|
||||||
|
output $monitor-center pos 2160 1080 res 3840x2160
|
||||||
|
output $monitor-left pos 0 0 res 3840x2160 transform 270
|
||||||
|
output $kamvas pos 2995 3240
|
||||||
|
|
||||||
|
set $kamvas-stylus '9580:109:HID_256c:006d'
|
||||||
|
set $kamvas-pad '9580:109:HID_256c:006d_Pad'
|
||||||
|
input $kamvas-stylus map_to_output $kamvas
|
||||||
|
input $kamvas-pad map_to_output $kamvas
|
Loading…
Add table
Add a link
Reference in a new issue