mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
@@ -45,6 +45,12 @@ DankModal {
|
|||||||
close()
|
close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function hideInstant() {
|
||||||
|
onColorSelectedCallback = null
|
||||||
|
shouldBeVisible = false
|
||||||
|
visible = false
|
||||||
|
}
|
||||||
|
|
||||||
onColorSelected: (color) => {
|
onColorSelected: (color) => {
|
||||||
if (onColorSelectedCallback) {
|
if (onColorSelectedCallback) {
|
||||||
onColorSelectedCallback(color)
|
onColorSelectedCallback(color)
|
||||||
@@ -78,7 +84,7 @@ DankModal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function pickColorFromScreen() {
|
function pickColorFromScreen() {
|
||||||
hide()
|
hideInstant()
|
||||||
Proc.runCommand("hyprpicker", ["hyprpicker", "--format=hex"], (output, errorCode) => {
|
Proc.runCommand("hyprpicker", ["hyprpicker", "--format=hex"], (output, errorCode) => {
|
||||||
if (errorCode !== 0) {
|
if (errorCode !== 0) {
|
||||||
console.warn("hyprpicker exited with code:", errorCode)
|
console.warn("hyprpicker exited with code:", errorCode)
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
[templates.dmskitty]
|
[templates.dmskitty]
|
||||||
input_path = './matugen/templates/kitty.conf'
|
input_path = './matugen/templates/kitty.conf'
|
||||||
output_path = '~/.config/kitty/dank-theme.conf'
|
output_path = '~/.config/kitty/dank-theme.conf'
|
||||||
|
|
||||||
|
[templates.dmskittytabs]
|
||||||
|
input_path = './matugen/templates/kitty-tabs.conf'
|
||||||
|
output_path = '~/.config/kitty/dank-tabs.conf'
|
||||||
24
matugen/templates/kitty-tabs.conf
Normal file
24
matugen/templates/kitty-tabs.conf
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
tab_bar_edge top
|
||||||
|
tab_bar_style powerline
|
||||||
|
tab_powerline_style slanted
|
||||||
|
tab_bar_align left
|
||||||
|
tab_bar_min_tabs 2
|
||||||
|
tab_bar_margin_width 0.0
|
||||||
|
tab_bar_margin_height 2.5 1.5
|
||||||
|
tab_bar_margin_color {{colors.surface.default.hex}}
|
||||||
|
|
||||||
|
tab_bar_background {{colors.surface.default.hex}}
|
||||||
|
|
||||||
|
active_tab_foreground {{colors.on_primary_container.default.hex}}
|
||||||
|
active_tab_background {{colors.primary_container.default.hex}}
|
||||||
|
active_tab_font_style bold
|
||||||
|
|
||||||
|
inactive_tab_foreground {{colors.on_surface_variant.default.hex}}
|
||||||
|
inactive_tab_background {{colors.surface_container.default.hex}}
|
||||||
|
inactive_tab_font_style normal
|
||||||
|
|
||||||
|
tab_activity_symbol " ● "
|
||||||
|
tab_numbers_style 1
|
||||||
|
|
||||||
|
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title[:30]}{title[30:] and '…'} [{index}]"
|
||||||
|
active_tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title[:30]}{title[30:] and '…'} [{index}]"
|
||||||
Reference in New Issue
Block a user