From 5916ec344e6b8f6b1bbebe61e8d6f17d9ee70dac Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 1 Jun 2019 22:09:09 -0400 Subject: [PATCH] Breaking out ui config for sway. --- sway/config | 21 --------------------- sway/config.d/ui | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 21 deletions(-) create mode 100644 sway/config.d/ui diff --git a/sway/config b/sway/config index fa0c9c7..0a9d5aa 100644 --- a/sway/config +++ b/sway/config @@ -48,18 +48,6 @@ exec swayidle -w \ # resumed. It will also lock your screen before your computer goes to sleep. -################################################################################ -# UI tweaks -gaps inner 5 -gaps outer 2 - -### Colors -# class border backgr text indicator child_border -client.focused #12e689 #12e689 #1f212e #12e689 #12e689 -client.focused_inactive #1f212e #1f212e #aab5c6 #1f212e #1f212e -client.unfocused #161720 #161720 #aab5c6 #161720 #161720 -client.urgent #ff4551 #ff4551 #1f212e #ff4551 #ff4551 - set $PIP floating enabled ; sticky enabled ; border pixel 0 for_window [class="mpv"] $PIP @@ -67,9 +55,6 @@ for_window [class="pip"] $PIP #for_window [class="pip"] sticky enabled -### Font stuff -font pango:Fira Code 9 - ### Key bindings # # Basics: @@ -232,12 +217,6 @@ bindsym XF86MonBrightnessDown exec brightnessctl set 5%- bindsym XF86MonBrightnessUp exec brightnessctl set +5% -# GTK 3 settings -# See https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland for more info. -exec_always ~/.config/sway/import-gsettings \ - gtk-theme:gtk-theme-name \ - icon-theme:gtk-icon-theme-name \ - cursor-theme:gtk-cursor-theme-name # # Status Bar: diff --git a/sway/config.d/ui b/sway/config.d/ui new file mode 100644 index 0000000..2a1302c --- /dev/null +++ b/sway/config.d/ui @@ -0,0 +1,23 @@ +################################################################################ +# UI tweaks + +### Font stuff +font pango:Fira Code 9 + + +gaps inner 5 +gaps outer 2 + +### Colors +# class border backgr text indicator child_border +client.focused #12e689 #12e689 #1f212e #12e689 #12e689 +client.focused_inactive #1f212e #1f212e #aab5c6 #1f212e #1f212e +client.unfocused #161720 #161720 #aab5c6 #161720 #161720 +client.urgent #ff4551 #ff4551 #1f212e #ff4551 #ff4551 + +# GTK 3 settings +# See https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland for more info. +exec_always ~/.config/sway/import-gsettings \ + gtk-theme:gtk-theme-name \ + icon-theme:gtk-icon-theme-name \ + cursor-theme:gtk-cursor-theme-name \ No newline at end of file