diff --git a/README.md b/README.md index 5dad9b9..649b5a7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ - [alacritty](https://alacritty.org/) - [fish](https://fishshell.com/) - [helix](https://helix-editor.com/) -- [mango](https://mangowm.github.io/) with [Noctalia v5](https://noctalia.dev/) +- [mango](https://mangowm.github.io/) with [dankmaterialshell](https://danklinux.com/) - [zellij](https://zellij.dev/) ### Prerequisite diff --git a/mango/.config/mango/autostart.sh b/mango/.config/mango/autostart.sh index 27f6177..d4ffb4c 100755 --- a/mango/.config/mango/autostart.sh +++ b/mango/.config/mango/autostart.sh @@ -3,7 +3,7 @@ set +e # pipewire -sleep 1 && gentoo-pipewire-launcher restart >/dev/null 2>&1 & +# gentoo-pipewire-launcher restart >/dev/null 2>&1 & # ssh agent ssh-agent -a /run/user/1000/ssh-agent.socket >/dev/null 2>&1 & @@ -17,7 +17,9 @@ ssh-agent -a /run/user/1000/ssh-agent.socket >/dev/null 2>&1 & # clipboard content manager wl-paste --type text --watch cliphist store >/dev/null 2>&1 & -discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized >/dev/null 2>&1 & +discord --start-minimized >/dev/null 2>&1 & +# Noctalia +# qs -c noctalia-shell & # dankshell -# dms run & +dms run & diff --git a/mango/.config/mango/config.conf b/mango/.config/mango/config.conf index f3db2dd..a2a1f17 100644 --- a/mango/.config/mango/config.conf +++ b/mango/.config/mango/config.conf @@ -26,7 +26,7 @@ tagrule = id:9, layout_name:scroller # env = QT_QPA_PLATFORMTHEME_QT6,qt6ct env=QT_QPA_PLATFORM,wayland env=ELECTRON_OZONE_PLATFORM_HINT,auto -env=QT_QPA_PLATFORMTHEME,qt6ct +env=QT_QPA_PLATFORMTHEME,gtk3 # | Input Devices | # Configure your input devices here. | https://mangowm.github.io/docs/configuration/input @@ -71,15 +71,12 @@ drag_tile_to_tile = 1 # | Look n Feel | # theming | https://mangowm.github.io/docs/visuals -gappih=5 -gappiv=5 -gappoh=10 -gappov=10 +gappih = 20 +gappiv = 20 +gappoh = 40 +gappov = 40 borderpx = 4 -border_radius = 6 -no_radius_when_single=0 -focused_opacity=1.0 -unfocused_opacity=1.0 +border_radius = 10 scratchpad_width_ratio = 0.8 scratchpad_height_ratio = 0.9 @@ -97,26 +94,26 @@ cursor_theme = capitaine-cursors cursor_size = 24 blur = 1 -blur_layer = 0 +blur_layer = 1 blur_optimized = 1 blur_params_num_passes = 2 -blur_params_radius = 5 -blur_params_noise = 0.02 +blur_params_radius = 4 +blur_params_noise = 0.04 blur_params_brightness = 0.9 blur_params_contrast = 0.9 -blur_params_saturation = 1.0 -layer_animations=0 +blur_params_saturation = 1.2 -shadows = 1 -layer_shadows = 0 +shadows = 0 +layer_shadows = 1 shadow_only_floating = 0 -shadows_size = 4 -shadows_blur = 12 -shadows_position_x = 2 -shadows_position_y = 2 +shadows_size = 10 +shadows_blur = 5 +shadows_position_x = 0 +shadows_position_y = 0 shadowscolor = 0x000000ff animations = 1 +layer_animations = 1 animation_type_open = zoom animation_type_close = zoom animation_fade_in = 1 @@ -151,9 +148,42 @@ bind = SUPER, b, spawn, firefox-bin # Please choose the text editor of your choice. # bind = SUPER, x, spawn, alacritty -e hx +# DMS specific keybinds. +bind = SUPER+CTRL, Return, spawn, dms ipc call spotlight toggle +bind = SUPER, c, spawn, dms ipc call clipboard toggle +bind = SUPER, m, spawn, dms ipc call processlist focusOrToggle +bind = SUPER, s, spawn, dms ipc call settings focusOrToggle +bind = SUPER, n, spawn, dms ipc call notifications toggle +bind = SUPER, w, spawn, dms ipc call dankdash wallpaper +bind = SUPER+SHIFT, q, spawn, dms ipc call powermenu toggle + +# Lockscreen +bind = SUPER+ALT, l, spawn, dms ipc call lock lock + +# Screenshots +bind = SUPER, p, spawn, ~/.config/mango/scripts/screenshot.sh + # Reload config bind = SUPER, r, reload_config +# Audio controls +bind = NONE, XF86AudioRaiseVolume, spawn, dms ipc call audio increment 5 +bind = NONE, XF86AudioLowerVolume, spawn, dms ipc call audio decrement 5 +bind = NONE, XF86AudioMute, spawn, dms ipc call audio mute + +# Brightness controls +bind = NONE, XF86MonBrightnessUp, spawn, dms ipc call brightness increment 5 backlight:intel_backlight +bind = NONE, XF86MonBrightnessDown, spawn, dms ipc call brightness decrement 5 backlight:intel_backlight + +# bind=SUPER,space,spawn,qs -c noctalia-shell ipc call launcher toggle +# bind=SUPER,s,spawn,qs -c noctalia-shell ipc call controlCenter toggle +# bind=SUPER,comma,spawn,qs -c noctalia-shell ipc call settings toggle +# bind=NONE,XF86AudioRaiseVolume,spawn,qs -c noctalia-shell ipc call volume increase +# bind=NONE,XF86AudioLowerVolume,spawn,qs -c noctalia-shell ipc call volume decrease +# bind=NONE,XF86AudioMute,spawn,qs -c noctalia-shell ipc call volume muteOutput +# bind=NONE,XF86MonBrightnessUp,spawn,qs -c noctalia-shell ipc call brightness increase 5 backlight:intel_backlight +# bind=NONE,XF86MonBrightnessDown,spawn,qs -c noctalia-shell ipc call brightness decrease 5 backlight:intel_backlight + bind = SUPER, q, killclient, # Switch window focus @@ -242,19 +272,6 @@ mousebind = SUPER, btn_left, moveresize,curmove mousebind = NONE, btn_middle, togglemaximizescreen, 0 mousebind = SUPER, btn_right, moveresize, curresize -# Noctalia -bind=SUPER,space,spawn,noctalia msg panel-toggle launcher -bind=SUPER,s,spawn,noctalia msg panel-toggle control-center -bind=SUPER,comma,spawn,noctalia msg settings-toggle -bind=NONE,XF86AudioRaiseVolume,spawn,noctalia msg volume-up -bind=NONE,XF86AudioLowerVolume,spawn,noctalia msg volume-down -bind=NONE,XF86AudioMute,spawn,noctalia msg volume-mute -bind=NONE,XF86MonBrightnessUp,spawn,noctalia msg brightness-up -bind=NONE,XF86MonBrightnessDown,spawn,noctalia msg brightness-down -bind=SUPER+SHIFT,q,spawn,noctalia msg panel-toggle session - -# Screenshots -bind = SUPER, p, spawn, noctalia msg screenshot-region # | Rules | # Window/Tag/Layer rules. | https://mangowm.github.io/docs/window-management/rules @@ -265,9 +282,17 @@ windowrule = isfloating:1, appid:steam, title:Steam Settings layerrule = noanim:1, noblur:1, layer_name:selection +source=~/.config/mango/dms/colors.conf +source=~/.config/mango/dms/layout.conf +source=~/.config/mango/dms/outputs.conf +source=./dms/cursor.conf + # autostart your favorite applications here -env=SSH_AUTH_SOCK,/run/user/1000/ssh-agent.socket exec-once=~/.config/mango/autostart.sh exec-once=kdeconnectd -exec-once=sleep 1 && noctalia --daemon + +source=./dms/cursor.conf + +source=./dms/outputs.conf +source = ./dms/binds.conf diff --git a/mango/.config/mango/dms/binds.conf b/mango/.config/mango/dms/binds.conf new file mode 100644 index 0000000..e69de29 diff --git a/mango/.config/mango/dms/colors.conf b/mango/.config/mango/dms/colors.conf new file mode 100644 index 0000000..0151676 --- /dev/null +++ b/mango/.config/mango/dms/colors.conf @@ -0,0 +1,6 @@ +# ! Auto-generated file. Do not edit directly. +# Remove source = ./dms/colors.conf from your config to override. + +bordercolor = 0x4d80ffff +focuscolor = 0xff6600ff +urgentcolor = 0xff3366ff diff --git a/mango/.config/mango/dms/cursor.conf b/mango/.config/mango/dms/cursor.conf new file mode 100644 index 0000000..d4e2492 --- /dev/null +++ b/mango/.config/mango/dms/cursor.conf @@ -0,0 +1,3 @@ +# Auto-generated by DMS - do not edit manually +cursor_size=24 +cursor_theme=Adwaita diff --git a/mango/.config/mango/dms/layout.conf b/mango/.config/mango/dms/layout.conf new file mode 100644 index 0000000..61ff92e --- /dev/null +++ b/mango/.config/mango/dms/layout.conf @@ -0,0 +1,7 @@ +# Auto-generated by DMS - do not edit manually +border_radius=12 +gappih=28 +gappiv=28 +gappoh=28 +gappov=28 +borderpx=3 diff --git a/mango/.config/mango/dms/outputs.conf b/mango/.config/mango/dms/outputs.conf new file mode 100644 index 0000000..e69de29 diff --git a/mango/.config/mango/scripts/screenshot.png b/mango/.config/mango/scripts/screenshot.png new file mode 100644 index 0000000..6ba1d01 Binary files /dev/null and b/mango/.config/mango/scripts/screenshot.png differ diff --git a/mango/.config/mango/scripts/screenshot.sh b/mango/.config/mango/scripts/screenshot.sh new file mode 100755 index 0000000..2ff5331 --- /dev/null +++ b/mango/.config/mango/scripts/screenshot.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# +DIR="$HOME/Pictures/Screenshots" +mkdir -p "$DIR" + +FILE="$DIR/screenshot_$(date +'%Y-%m-%d_%H-%M-%S').png" + +grim -g "$(slurp)" - | tee "$FILE" | wl-copy + +notify-send "Screenshot Captured" "Saved to $FILE" -i $HOME/.config/mango/scripts/screenshot.png