sway theme updated

This commit is contained in:
CGH0S7
2025-12-11 15:52:44 +08:00
parent 99f8c4585a
commit f1a212b4ac
3 changed files with 244 additions and 28 deletions

59
config
View File

@@ -24,6 +24,56 @@ set $term foot
set $menu "rofi -show drun"
set $browser firefox
# ... (previous config)
### Appearance
#
# Gaps
gaps inner 10
gaps outer 5
smart_gaps on
# Borders
default_border pixel 2
default_floating_border pixel 2
hide_edge_borders smart
# Colors (Catppuccin Mocha Inspired)
set $rosewater #f5e0dc
set $flamingo #f2cdcd
set $pink #f5c2e7
set $mauve #cba6f7
set $red #f38ba8
set $maroon #eba0ac
set $peach #fab387
set $yellow #f9e2af
set $green #a6e3a1
set $teal #94e2d5
set $sky #89dceb
set $sapphire #74c7ec
set $blue #89b4fa
set $lavender #b4befe
set $text #cdd6f4
set $subtext1 #bac2de
set $subtext0 #a6adc8
set $overlay2 #9399b2
set $overlay1 #7f849c
set $overlay0 #6c7086
set $surface2 #585b70
set $surface1 #45475a
set $surface0 #313244
set $base #1e1e2e
set $mantle #181825
set $crust #11111b
# class border backgr. text indicator child_border
client.focused $mauve $base $text $rosewater $mauve
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
client.unfocused $overlay0 $base $text $rosewater $overlay0
client.urgent $red $base $peach $overlay0 $red
client.placeholder $overlay0 $base $text $overlay0 $overlay0
client.background $base
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
@@ -102,7 +152,7 @@ input * xkb_options caps:escape_shifted_capslock
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+Shift+c exec pkill waybar && swaymsg reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
@@ -264,4 +314,11 @@ include /etc/sway/config.d/*
exec --no-startup-id fcitx5 -d
exec --no-startup-id brightnessctl set 2000
exec --no-startup-id /usr/libexec/pipewire-launcher
exec_always mako
# Idle configuration
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
seat * hide_cursor 5000