Breaking out ui config for sway.

This commit is contained in:
James Patrick 2019-06-01 22:09:09 -04:00
parent 1073587022
commit 5916ec344e
2 changed files with 23 additions and 21 deletions

View File

@ -48,18 +48,6 @@ exec swayidle -w \
# resumed. It will also lock your screen before your computer goes to sleep. # 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 set $PIP floating enabled ; sticky enabled ; border pixel 0
for_window [class="mpv"] $PIP for_window [class="mpv"] $PIP
@ -67,9 +55,6 @@ for_window [class="pip"] $PIP
#for_window [class="pip"] sticky enabled #for_window [class="pip"] sticky enabled
### Font stuff
font pango:Fira Code 9
### Key bindings ### Key bindings
# #
# Basics: # Basics:
@ -232,12 +217,6 @@ bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp 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: # Status Bar:

23
sway/config.d/ui Normal file
View File

@ -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