Switch to DankMaterialShell: bar, launcher, control center, notifications

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 10:20:48 +05:00
co-authored by Claude Sonnet 5.5
parent bee45f21ad
commit d744a1b972
7 changed files with 50 additions and 13 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ output * bg /usr/share/backgrounds/default.jxl fill
bindsym --to-code $mod+Shift+q kill
# Start your launcher
bindsym --to-code $mod+d exec $menu
bindsym --to-code $mod+d exec dms ipc call spotlight toggle
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
+2 -2
View File
@@ -26,7 +26,7 @@ client.placeholder $base $base $text $base $base
client.background $base
# Autostart
exec_always sh -c 'pkill -x dunst; pkill -x swaync; exec swaync'
exec_always sh -c 'pkill -x dunst; pkill -x swaync; true'
exec_always sh -c 'pkill -x nm-applet; exec nm-applet --indicator'
bindsym --to-code $mod+Shift+x exec ~/.config/sway/lock.sh
@@ -47,7 +47,7 @@ for_window [app_id="rofi"] border none
titlebar_padding 6 3
focus_follows_mouse no
workspace_auto_back_and_forth yes
bindsym --to-code $mod+Shift+p exec ~/.config/rofi/powermenu.sh
bindsym --to-code $mod+Shift+p exec dms ipc call powermenu toggle
# Wallpaper + idle/lock
output * bg ~/Pictures/wallpapers/current fill
+2 -2
View File
@@ -33,5 +33,5 @@ bindsym --to-code $mod+F1 exec ~/.config/sway/cheatsheet.sh
# Performance mode: toggle blur + shadows
bindsym --to-code $mod+Shift+b blur toggle; shadows toggle
# Control center (notifications + quick settings)
bindsym --to-code $mod+n exec swaync-client -t -sw
bindsym --to-code $mod+Shift+n exec swaync-client -d -sw
bindsym --to-code $mod+n exec dms ipc call control-center toggle
bindsym --to-code $mod+Shift+n exec dms ipc call notifications toggle
+21
View File
@@ -0,0 +1,21 @@
# DankMaterialShell: bar, launcher, control center, notifications (replaces waybar/swaync/rofi launcher)
exec_always sh -c 'pgrep -f "dms run" >/dev/null || exec dms run'
# Hotkeys: $mod+d launcher, $mod+n control center, $mod+Shift+n notifications, $mod+Shift+p power menu (set in config / config.d)
bindsym --to-code $mod+Shift+v exec dms ipc call clipboard toggle
# SwayFX blur/shadows/rounding for DMS surfaces (layer names from: swaymsg -t get_outputs)
layer_effects "dms:bar" blur enable; blur_ignore_transparent enable; corner_radius 14; shadows enable
layer_effects "dms:control-center" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:app-launcher" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:spotlight" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:notification-center-popout" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:notification-popup" blur enable; blur_ignore_transparent enable; corner_radius 14; shadows enable
layer_effects "dms:dash" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:battery" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:clipboard-popout" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:network-info" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:bluetooth-pairing" blur enable; blur_ignore_transparent enable; corner_radius 20; shadows enable
layer_effects "dms:osd" blur enable; blur_ignore_transparent enable; corner_radius 16; shadows enable
layer_effects "dms:dock" blur enable; blur_ignore_transparent enable; corner_radius 18; shadows enable