104 lines
3.1 KiB
Plaintext
104 lines
3.1 KiB
Plaintext
# Apply gtk theming
|
|
exec_always ~/.config/sway/scripts/import-gsettings
|
|
|
|
set $rosewater #f4dbd6
|
|
set $flamingo #f0c6c6
|
|
set $pink #f5bde6
|
|
set $mauve #c6a0f6
|
|
set $red #ed8796
|
|
set $maroon #ee99a0
|
|
set $peach #f5a97f
|
|
set $green #a6da95
|
|
set $teal #8bd5ca
|
|
set $sky #91d7e3
|
|
set $sapphire #7dc4e4
|
|
set $blue #8aadf4
|
|
set $lavender #b7bdf8
|
|
set $text #cad3f5
|
|
set $subtext1 #b8c0e0
|
|
set $subtext0 #a5adcb
|
|
set $overlay2 #939ab7
|
|
set $overlay1 #8087a2
|
|
set $overlay0 #6e738d
|
|
set $surface2 #5b6078
|
|
set $surface1 #494d64
|
|
set $surface0 #363a4f
|
|
set $base #24273a
|
|
set $mantle #1e2030
|
|
set $crust #181926
|
|
|
|
# Set inner/outer gaps
|
|
gaps inner 6
|
|
gaps outer 4
|
|
|
|
# Hide titlebar on windows:
|
|
default_border pixel 2
|
|
|
|
# Default Font
|
|
font pango:Overpass Nerd Font 12
|
|
|
|
# Thin borders:
|
|
smart_borders on
|
|
|
|
# Set wallpaper:
|
|
exec_always swaybg -i /home/nate/.config/sway/wallpapers/nix-black-4k.png
|
|
# exec_always /home/nate/.config/sway/scripts/background.sh
|
|
|
|
# Title format for windows
|
|
for_window [shell="xdg_shell"] title_format "%title (%app_id)"
|
|
for_window [shell="x_wayland"] title_format "%class - %title"
|
|
|
|
# class border bground text indicator child_border
|
|
# client.focused #e5e9f0 #e5e9f0 #3b4252 #e5e9f0 #e5e9f0
|
|
# client.focused_inactive #5e81ac #5e81ac #eceff4 #5e81ac #3b4252
|
|
# client.unfocused #3b4252 #3b4252 #BFBFBF #3b4252 #3b4252
|
|
# client.urgent #d08770 #d08770 #eceff4 #d08770 #d08770
|
|
# client.placeholder #282A36 #282A36 #eceff4 #282A36 #282A36
|
|
# client.background #F8F8F2
|
|
|
|
|
|
client.focused $flamingo $base $text $rosewater $flamingo
|
|
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
|
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
|
client.urgent $peach $base $peach $overlay0 $peach
|
|
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
|
client.background $base
|
|
#
|
|
# Status Bar:
|
|
#
|
|
# Read `man 5 sway-bar` for more information about this section.
|
|
bar {
|
|
swaybar_command waybar
|
|
}
|
|
|
|
set $opacity 0.8
|
|
set $floating_window floating enable, resize set width 1030 height 710, opacity 1.0
|
|
|
|
for_window {
|
|
[class=".*"] opacity 1.0
|
|
[app_id=".*"] opacity 1.0
|
|
[app_id="foot"] opacity $opacity
|
|
[app_id="thunar"] opacity $opacity
|
|
|
|
# Steam
|
|
[class="steam_app.*"] inhibit_idle fullscreen; floating enable; border none opacity 1.0
|
|
[class="steam"] opacity 1.0
|
|
|
|
# Godot windows
|
|
[title="(?:Create New|Select Frames|project.godot|node)"] $floating_window
|
|
[title="(?:Create Folder|Node Configuration|Warning|Please Confirm)"] $floating_window, resize set height 200
|
|
|
|
# Aseprite
|
|
[title="(?:Aseprite)"] opacity 1.0
|
|
|
|
# Floating windows
|
|
[title="(?:Open|Save|Save New|Open a) (?:File|Folder|As|Scene As)"] $floating_window
|
|
[window_role="pop-up"] $floating_window
|
|
[window_role="bubble"] $floating_window
|
|
[window_role="task_dialog"] $floating_window
|
|
[window_role="Preferences"] $floating_window
|
|
[window_type="dialog"] $floating_window
|
|
[window_type="menu"] $floating_window
|
|
[window_role="About"] $floating_window
|
|
}
|