Modularize sway configs
This commit is contained in:
22
sericea/.config/sway/config.d/04-inputs.conf
Normal file
22
sericea/.config/sway/config.d/04-inputs.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
# vim: set ft=swayconfig:
|
||||
#
|
||||
# This file stores global confguration for input devices
|
||||
#
|
||||
|
||||
# Mice
|
||||
#input "type:pointer" {
|
||||
# accel_profile flat # Disables mouse acceleration
|
||||
# pointer_accel 0.000 # Set a sens that I like
|
||||
#}
|
||||
input "type:touchpad" {
|
||||
drag enabled
|
||||
dwt disabled
|
||||
tap enabled
|
||||
tap_button_map lrm
|
||||
}
|
||||
# Keyboards
|
||||
input "type:keyboard" {
|
||||
xkb_capslock disabled
|
||||
xkb_numlock enabled
|
||||
}
|
||||
|
38
sericea/.config/sway/config.d/05-theme.conf
Normal file
38
sericea/.config/sway/config.d/05-theme.conf
Normal file
@@ -0,0 +1,38 @@
|
||||
# vim: set ft=swayconfig:
|
||||
#
|
||||
# This file controls all theming within swaywm, including colors, gaps,
|
||||
# borders, fonts, etc.
|
||||
#
|
||||
# Right now we're staring at a nice gruvbox theme
|
||||
#
|
||||
font pango:IBM Plex Sans 12
|
||||
default_border pixel 4
|
||||
titlebar_border_thickness 4
|
||||
focus_on_window_activation none
|
||||
gaps inner 8
|
||||
|
||||
set $red #fb4934
|
||||
set $green #b8bb26
|
||||
set $yellow #fabd2f
|
||||
set $blue #83a598
|
||||
set $magenta #de869b
|
||||
set $cyan #8ec07c
|
||||
set $white #ebdbb2
|
||||
set $black #282828
|
||||
set $gray #32302f
|
||||
|
||||
# See sway(5) for details on these
|
||||
# Border color of the view itself v
|
||||
# Indicator color (like for v/h split) v
|
||||
# Titlebar text color v
|
||||
# Titlebar backgrouond color v
|
||||
# Titlebar border color v
|
||||
# <colorclass> <brd> <bg> <text> <ind> <chld>
|
||||
# The currently focused window
|
||||
client.focused $blue $blue $black $gray $blue
|
||||
# The most recently focused view in an unfocused container
|
||||
client.focused_inactive $gray $black $white $gray $gray
|
||||
# Any other unfocused views
|
||||
client.unfocused $gray $gray $white $gray $gray
|
||||
# Any view with an urgency hint
|
||||
client.urgent $yellow $black $white $gray $yellow
|
16
sericea/.config/sway/config.d/40-window-rules.conf
Normal file
16
sericea/.config/sway/config.d/40-window-rules.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
# vim: set ft=swayconfig:
|
||||
#
|
||||
# This file allocates rules for organizing windows
|
||||
#
|
||||
|
||||
for_window {
|
||||
[app_id="org.mozilla.firefox"] move container to workspace $w1
|
||||
[app_id="org.mozilla.Thunderbird"] move container to workspace $w7
|
||||
[app_id="org.keepassxc.KeePassXC"] move container to workspace $w8
|
||||
[app_id="com.discordapp.Discord"] move container to workspace $w9
|
||||
[app_id="com.discordapp.Discord"] inhibit_idle visible
|
||||
[class="Element"] move container to workspace $w9
|
||||
[class="Element"] inhibit_idle visible
|
||||
[class="Spotify"] move container to workspace $w10
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# vim: set ft=swayconfig:
|
||||
#
|
||||
# Idle and lock configuration
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
|
@@ -1,5 +1,10 @@
|
||||
# vim: set ft=swayconfig:
|
||||
# wlsunset(1)
|
||||
#
|
||||
# wlsunset is more or less redshift. It reddens the screen as the day draws
|
||||
# to a close.
|
||||
#
|
||||
# For customization, see wlsunset(1)
|
||||
#
|
||||
exec wlsunset \
|
||||
-T 5300 \
|
||||
-t 3500 \
|
||||
|
2
sericea/.config/sway/config.d/template
Normal file
2
sericea/.config/sway/config.d/template
Normal file
@@ -0,0 +1,2 @@
|
||||
# vim: set ft=swayconfig:
|
||||
|
Reference in New Issue
Block a user