Monochrome SwayFX glass rice

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 23:44:59 +05:00
co-authored by Claude Sonnet 5.5
commit fc4a744e12
17 changed files with 658 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
# Monochrome
set $base #0c0c0c
set $mantle #000000
set $surface0 #1c1c1c
set $surface1 #2e2e2e
set $text #e8e8e8
set $subtext #8c8c8c
set $accent #f5f5f5
set $red #ff5c5c
font pango:JetBrains Mono 10
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders smart
gaps inner 10
gaps outer 6
smart_gaps on
# border background text indicator child_border
client.focused $accent $base $text $accent $accent
client.focused_inactive $surface1 $base $subtext $surface1 $surface1
client.unfocused $surface0 $base $subtext $surface0 $surface0
client.urgent $red $base $text $red $red
client.placeholder $base $base $text $base $base
client.background $base
# Autostart
exec_always sh -c 'pkill -x dunst; exec dunst'
exec_always sh -c 'pkill -x nm-applet; exec nm-applet --indicator'
bindsym $mod+Shift+x exec swaylock -f
# Touchpad
input type:touchpad {
tap enabled
tap_button_map lrm
natural_scroll enabled
dwt enabled
middle_emulation enabled
pointer_accel 0.3
}
# Window rules
for_window [app_id="pavucontrol|nm-connection-editor|blueman-manager"] floating enable, resize set 700 500, border pixel 2
for_window [window_role="pop-up"] floating enable
for_window [app_id="rofi"] border none
titlebar_padding 6 3
focus_follows_mouse no
workspace_auto_back_and_forth yes
bindsym $mod+Shift+p exec ~/.config/rofi/powermenu.sh
# Wallpaper + idle/lock
output * bg ~/Pictures/wallpapers/mono-glow.jpg fill
exec_always ~/.config/sway/idle.sh
+42
View File
@@ -0,0 +1,42 @@
# SwayFX effects (swayfx 0.6)
corner_radius 16
smart_corner_radius on
# Frosted-glass blur
blur enable
blur_xray disable
blur_passes 4
blur_radius 7
blur_noise 0.03
blur_brightness 0.85
blur_contrast 1.1
blur_saturation 1.2
# Shadows: soft white-ish glow on focused window, deep shadow on the rest
shadows enable
shadows_on_csd enable
shadow_blur_radius 30
shadow_offset 0 6
shadow_color #ffffff18
shadow_inactive_color #00000099
# Dim inactive windows
default_dim_inactive 0.15
dim_inactive_colors.unfocused #000000
dim_inactive_colors.urgent #ff5c5c
# Thin outline instead of fat border -> cleaner look
titlebar_separator disable
# Frosted glass for layers
layer_effects "waybar" blur enable; blur_ignore_transparent enable; corner_radius 14; shadows enable
layer_effects "rofi" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "notifications" blur enable; blur_ignore_transparent enable; corner_radius 14; shadows enable
layer_effects "swaynag" blur enable; blur_ignore_transparent enable; corner_radius 12
# Translucent terminals, glass shows through
for_window [app_id="kitty"] opacity 0.88
for_window [app_id="scratch"] opacity 0.82
for_window [app_id="(?i)thunar|org.gnome.Nautilus"] opacity 0.92
for_window [app_id="pavucontrol|nm-connection-editor|blueman-manager"] opacity 0.92
+27
View File
@@ -0,0 +1,27 @@
# Workflow helpers
# Drop-down scratchpad terminal: $mod+grave
exec kitty --class scratch
for_window [app_id="scratch"] move scratchpad, resize set 1000 560, move position center, border pixel 2
bindsym $mod+grave scratchpad show
# Workspace navigation
bindsym $mod+Tab workspace next_on_output
bindsym $mod+Shift+Tab workspace prev_on_output
bindsym $mod+Ctrl+Right workspace next_on_output
bindsym $mod+Ctrl+Left workspace prev_on_output
# Quick layout / window helpers
bindsym $mod+Shift+f floating toggle, resize set 1000 600, move position center
bindsym $mod+c exec swaymsg [con_id=__focused__] move position center
# Screenshots: area -> clipboard, area -> file
bindsym Shift+Print exec ~/.config/sway/screenshot.sh clip
bindsym $mod+Print exec ~/.config/sway/screenshot.sh file
# Keep video/browser-video windows undimmed
for_window [app_id="firefox"] inhibit_idle fullscreen
for_window [app_id="mpv"] floating enable, dim_inactive 0
# Mirror internal screen to HDMI/TV on hotplug
exec_always ~/.config/sway/mirror.sh