From 38d96b7f0b4fb1a12aedf5dac68b7991c2cf3d59 Mon Sep 17 00:00:00 2001 From: rileyrg Date: Thu, 3 Jun 2021 06:44:58 +0200 Subject: [PATCH] restructure host specific sway config --- README.md | 30 +++++++++++++++++------------- linux-config.org | 14 +++++++++++--- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 46b8c7e..57b568a 100644 --- a/README.md +++ b/README.md @@ -999,8 +999,8 @@ bindsym $mod+r mode "resize" #input { margin: 2 px; border: none; - color: #f8f8f2; - background-color: #44475a; + color: #222222; + background-color: #eeeeee; } #inner-box { @@ -1786,7 +1786,7 @@ include /etc/sway/config.d/* ``` -### host specific +### host specific :scale:scaling: ```conf include "$HOME/.config/sway/host-config-$(hostname)" @@ -1794,17 +1794,21 @@ include "$HOME/.config/sway/host-config-$(hostname)" 1. Thinkpad T14s - ```conf - #Maintained in linux-config.org - output eDP-1 mode 1920x1080@60hz scale 1.0 - ``` + 1. scaling + + ```conf + #Maintained in linux-config.org + output eDP-1 mode 1920x1080@60hz scale 1.0 + ``` 2. XMG Neo - ```conf - #Maintained in linux-config.org - output eDP-1 mode 2560x1440@165hz scale 1.15 - ``` + 1. scaling + + ```conf + #Maintained in linux-config.org + output eDP-1 mode 2560x1440@165hz scale 1.15 + ``` ## bin,scripts :sway:wayland: @@ -2090,7 +2094,7 @@ notify-send -t 3000 "${@}" ``` - + ### ~/bin/sway/sway-screen @@ -2111,7 +2115,7 @@ swaymsg "output ${m} ${c}" ### ~/bin/sway/sway-screen-menu -Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgb175865). +Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#org63dda69). :ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9 diff --git a/linux-config.org b/linux-config.org index 492a9ab..4af507f 100644 --- a/linux-config.org +++ b/linux-config.org @@ -2429,18 +2429,26 @@ Thank you https://github.com/deanproxy/dotfiles/blob/master/linux/i3/scripts/blu #+begin_src conf include /etc/sway/config.d/* #+end_src -*** host specific +*** host specific :scale:scaling: #+begin_src conf include "$HOME/.config/sway/host-config-$(hostname)" #+end_src **** Thinkpad T14s -#+begin_src conf :tangle ~/.config/sway/host-config-thinkpadt14s +:PROPERTIES: +:header-args:conf: :tangle "~/.config/sway/host-config-thinkpadt14s" +:END: +***** scaling +#+begin_src conf #Maintained in linux-config.org output eDP-1 mode 1920x1080@60hz scale 1.0 #+end_src **** XMG Neo -#+begin_src conf :tangle ~/.config/sway/host-config-xmgneo +:PROPERTIES: +:header-args:conf: :tangle "~/.config/sway/host-config-xmgneo" +:END: +***** scaling +#+begin_src conf #Maintained in linux-config.org output eDP-1 mode 2560x1440@165hz scale 1.15 #+end_src