mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
compositor+matugen: border override, hypr/mango layout overrides, new
templates, respect XDG paths - Add Hyprland and MangoWC templates - Add GUI gaps, window radius, and border thickness overrides for niri, Hyprland, and MangoWC - Add replacement support in matugen templates for DATA_DIR, CACHE_DIR, CONFIG_DIR fixes #1274 fixes #1273
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
[templates.dmsalacritty]
|
||||
input_path = 'SHELL_DIR/matugen/templates/alacritty.toml'
|
||||
output_path = '~/.config/alacritty/dank-theme.toml'
|
||||
output_path = 'CONFIG_DIR/alacritty/dank-theme.toml'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsdgop]
|
||||
input_path = 'SHELL_DIR/matugen/templates/dgop.json'
|
||||
output_path = '~/.config/dgop/colors.json'
|
||||
output_path = 'CONFIG_DIR/dgop/colors.json'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsequibop]
|
||||
input_path = 'SHELL_DIR/matugen/templates/vesktop.css'
|
||||
output_path = '~/.config/equibop/themes/dank-discord.css'
|
||||
output_path = 'CONFIG_DIR/equibop/themes/dank-discord.css'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsfirefox]
|
||||
input_path = 'SHELL_DIR/matugen/templates/firefox-userchrome.css'
|
||||
output_path = '~/.config/DankMaterialShell/firefox.css'
|
||||
output_path = 'CONFIG_DIR/DankMaterialShell/firefox.css'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsfoot]
|
||||
input_path = 'SHELL_DIR/matugen/templates/foot.ini'
|
||||
output_path = '~/.config/foot/dank-colors.ini'
|
||||
output_path = 'CONFIG_DIR/foot/dank-colors.ini'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsghostty]
|
||||
input_path = 'SHELL_DIR/matugen/templates/ghostty.conf'
|
||||
output_path = '~/.config/ghostty/themes/dankcolors'
|
||||
output_path = 'CONFIG_DIR/ghostty/themes/dankcolors'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[templates.dmsgtk3]
|
||||
input_path = 'SHELL_DIR/matugen/templates/gtk-colors.css'
|
||||
output_path = '~/.config/gtk-3.0/dank-colors.css'
|
||||
output_path = 'CONFIG_DIR/gtk-3.0/dank-colors.css'
|
||||
|
||||
[templates.dmsgtk4]
|
||||
input_path = 'SHELL_DIR/matugen/templates/gtk-colors.css'
|
||||
output_path = '~/.config/gtk-4.0/dank-colors.css'
|
||||
output_path = 'CONFIG_DIR/gtk-4.0/dank-colors.css'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[templates.dmsgtk3]
|
||||
input_path = 'SHELL_DIR/matugen/templates/gtk-light-colors.css'
|
||||
output_path = '~/.config/gtk-3.0/dank-colors.css'
|
||||
output_path = 'CONFIG_DIR/gtk-3.0/dank-colors.css'
|
||||
|
||||
[templates.dmsgtk4]
|
||||
input_path = 'SHELL_DIR/matugen/templates/gtk-colors.css'
|
||||
output_path = '~/.config/gtk-4.0/dank-colors.css'
|
||||
output_path = 'CONFIG_DIR/gtk-4.0/dank-colors.css'
|
||||
|
||||
3
quickshell/matugen/configs/hyprland.toml
Normal file
3
quickshell/matugen/configs/hyprland.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[templates.dmshyprland]
|
||||
input_path = 'SHELL_DIR/matugen/templates/hypr-colors.conf'
|
||||
output_path = 'CONFIG_DIR/hypr/dms/colors.conf'
|
||||
@@ -1,11 +1,11 @@
|
||||
[templates.dmskcolorscheme]
|
||||
input_path = 'SHELL_DIR/matugen/templates/kcolorscheme.colors'
|
||||
output_path = '~/.local/share/color-schemes/DankMatugen.colors'
|
||||
output_path = 'DATA_DIR/color-schemes/DankMatugen.colors'
|
||||
|
||||
[templates.dmslightkcolorscheme]
|
||||
input_path = 'SHELL_DIR/matugen/templates/light-kcolorscheme.colors'
|
||||
output_path = '~/.local/share/color-schemes/DankMatugenLight.colors'
|
||||
output_path = 'DATA_DIR/color-schemes/DankMatugenLight.colors'
|
||||
|
||||
[templates.dmsdarkkcolorscheme]
|
||||
input_path = 'SHELL_DIR/matugen/templates/dark-kcolorscheme.colors'
|
||||
output_path = '~/.local/share/color-schemes/DankMatugenDark.colors'
|
||||
output_path = 'DATA_DIR/color-schemes/DankMatugenDark.colors'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[templates.dmskitty]
|
||||
input_path = 'SHELL_DIR/matugen/templates/kitty.conf'
|
||||
output_path = '~/.config/kitty/dank-theme.conf'
|
||||
output_path = 'CONFIG_DIR/kitty/dank-theme.conf'
|
||||
|
||||
[templates.dmskittytabs]
|
||||
input_path = 'SHELL_DIR/matugen/templates/kitty-tabs.conf'
|
||||
output_path = '~/.config/kitty/dank-tabs.conf'
|
||||
output_path = 'CONFIG_DIR/kitty/dank-tabs.conf'
|
||||
|
||||
3
quickshell/matugen/configs/mangowc.toml
Normal file
3
quickshell/matugen/configs/mangowc.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[templates.dmsmango]
|
||||
input_path = 'SHELL_DIR/matugen/templates/mango-colors.conf'
|
||||
output_path = 'CONFIG_DIR/mango/dms/colors.conf'
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsneovim]
|
||||
input_path = 'SHELL_DIR/matugen/templates/neovim.lua'
|
||||
output_path = '~/.config/nvim/lua/plugins/dankcolors.lua'
|
||||
output_path = 'CONFIG_DIR/nvim/lua/plugins/dankcolors.lua'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsniri]
|
||||
input_path = 'SHELL_DIR/matugen/templates/niri-colors.kdl'
|
||||
output_path = '~/.config/niri/dms/colors.kdl'
|
||||
output_path = 'CONFIG_DIR/niri/dms/colors.kdl'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[templates.dmspywalfox]
|
||||
input_path = 'SHELL_DIR/matugen/templates/pywalfox-colors.json'
|
||||
output_path = '~/.cache/wal/dank-pywalfox.json'
|
||||
output_path = 'CACHE_DIR/wal/dank-pywalfox.json'
|
||||
post_hook = 'sh -c "command -v pywalfox && test -f ~/.cache/wal/colors.json && pywalfox update"'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsqt5ct]
|
||||
input_path = 'SHELL_DIR/matugen/templates/qtct-colors.conf'
|
||||
output_path = '~/.config/qt5ct/colors/matugen.conf'
|
||||
output_path = 'CONFIG_DIR/qt5ct/colors/matugen.conf'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsqt6ct]
|
||||
input_path = 'SHELL_DIR/matugen/templates/qtct-colors.conf'
|
||||
output_path = '~/.config/qt6ct/colors/matugen.conf'
|
||||
output_path = 'CONFIG_DIR/qt6ct/colors/matugen.conf'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmsvesktop]
|
||||
input_path = 'SHELL_DIR/matugen/templates/vesktop.css'
|
||||
output_path = '~/.config/vesktop/themes/dank-discord.css'
|
||||
output_path = 'CONFIG_DIR/vesktop/themes/dank-discord.css'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmswezterm]
|
||||
input_path = 'SHELL_DIR/matugen/templates/wezterm.toml'
|
||||
output_path = '~/.config/wezterm/colors/dank-theme.toml'
|
||||
output_path = 'CONFIG_DIR/wezterm/colors/dank-theme.toml'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[templates.dmszenbrowser]
|
||||
input_path = 'SHELL_DIR/matugen/templates/zen-userchrome.css'
|
||||
output_path = '~/.config/DankMaterialShell/zen.css'
|
||||
output_path = 'CONFIG_DIR/DankMaterialShell/zen.css'
|
||||
|
||||
25
quickshell/matugen/templates/hypr-colors.conf
Normal file
25
quickshell/matugen/templates/hypr-colors.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
# ! Auto-generated file. Do not edit directly.
|
||||
# Remove source = ./dms/colors.conf from your config to override.
|
||||
|
||||
$primary = rgb({{colors.primary.default.hex_stripped}})
|
||||
$outline = rgb({{colors.outline.default.hex_stripped}})
|
||||
$error = rgb({{colors.error.default.hex_stripped}})
|
||||
|
||||
general {
|
||||
col.active_border = $primary
|
||||
col.inactive_border = $outline
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = $primary
|
||||
col.border_inactive = $outline
|
||||
col.border_locked_active = $error
|
||||
col.border_locked_inactive = $outline
|
||||
|
||||
groupbar {
|
||||
col.active = $primary
|
||||
col.inactive = $outline
|
||||
col.locked_active = $error
|
||||
col.locked_inactive = $outline
|
||||
}
|
||||
}
|
||||
6
quickshell/matugen/templates/mango-colors.conf
Normal file
6
quickshell/matugen/templates/mango-colors.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# ! Auto-generated file. Do not edit directly.
|
||||
# Remove source = ./dms/colors.conf from your config to override.
|
||||
|
||||
bordercolor = 0x{{colors.outline.default.hex_stripped}}ff
|
||||
focuscolor = 0x{{colors.primary.default.hex_stripped}}ff
|
||||
urgentcolor = 0x{{colors.error.default.hex_stripped}}ff
|
||||
@@ -1,3 +1,6 @@
|
||||
// ! Auto-generated file. Do not edit directly.
|
||||
// Remove `include "dms/colors.kdl"` from your config to override.
|
||||
|
||||
layout {
|
||||
background-color "transparent"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user