From d2c331b9f036951eef062dd5141c75182375ba12 Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Tue, 22 Jul 2025 00:56:22 +0200 Subject: Add current configuration --- common/.config/wal/templates/dark.css | 72 ++++++++++ common/.config/wal/templates/dunstrc | 30 ++++ common/.config/wal/templates/gtkrc | 253 ++++++++++++++++++++++++++++++++++ 3 files changed, 355 insertions(+) create mode 100644 common/.config/wal/templates/dark.css create mode 100644 common/.config/wal/templates/dunstrc create mode 100644 common/.config/wal/templates/gtkrc (limited to 'common/.config/wal/templates') diff --git a/common/.config/wal/templates/dark.css b/common/.config/wal/templates/dark.css new file mode 100644 index 0000000..1d8547d --- /dev/null +++ b/common/.config/wal/templates/dark.css @@ -0,0 +1,72 @@ + +@import url("gtk-version.css"); +@import url("../general/gtk-colors.css"); +@import url("../general/widgets.css"); +@import url("../general/titlebar.css"); + +@define-color gtk_titlebar_bg_color mix(@gtk_bg_color,@gtk_fg_color,0.05); + +@define-color gtk_fg_color {color15}; +@define-color gtk_text_color @gtk_fg_color; +@define-color gtk_base_color {color0}; +@define-color gtk_bg_color mix(@gtk_base_color, @gtk_fg_color, 0.03); + +@define-color gtk_button_color mix(@gtk_bg_color, @gtk_fg_color, 0.1); +@define-color gtk_widget_color alpha(currentcolor,0.1); + +@define-color gtk_shadow alpha(black,0.3); +@define-color gtk_button_shadow alpha(@gtk_shadow,0.15); +@define-color gtk_menu_shadow alpha(@gtk_shadow,0.5); + +@define-color text_shadow_color alpha(@panel_bg,0.5); + +@define-color gtk_borders mix(@gtk_bg_color,@gtk_fg_color,0.1); +@define-color gtk_transparent_borders alpha(@gtk_fg_color,0.1); + +@define-color gtk_selected_bg_color {color4}; +@define-color gtk_selected_fg_color shade(@gtk_selected_bg_color, 0.2); + +@define-color gtk_highlight alpha(@gtk_selected_bg_color,0.6); +@define-color gtk_titlebar_highlight alpha(@gtk_selected_bg_color,0.2); + +check, +radio, +treeview.view.content-view.check:not(list), +iconview.content-view.check:not(list), +.content-view:not(list) check, +.view check:not(:checked):selected, +.view radio:not(:checked):selected, +check.view:not(treeview):not(:checked):selected, +radio.view:not(treeview):not(:checked):selected, +progressbar trough +{{background-clip: padding-box;}} +check:checked, +check:indeterminate, +radio:checked, +radio:indeterminate, +treeview.view check:checked, +treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate, +treeview.view.content-view.check:not(list):checked, +iconview.content-view.check:not(list):checked, +.content-view:not(list) check:checked, +switch, +progressbar progress, +levelbar block, +scale highlight, +button.suggested-action, +button.destructive-action +{{background-clip: border-box;}} + +.window-frame, .window-frame:backdrop {{ + box-shadow: 0 0 0 black; /* removes shadow completely */ + border-style: none; + margin: 1px; /* this retains the ability to resize with the mouse, if 1px is too narrow, set some higher values */ + border-radius: 0; +}} + +window-frame, window, headerbar, .titlebar, menubar {{ + box-shadow: none; + margin: 1px; +}} diff --git a/common/.config/wal/templates/dunstrc b/common/.config/wal/templates/dunstrc new file mode 100644 index 0000000..bcfbdb8 --- /dev/null +++ b/common/.config/wal/templates/dunstrc @@ -0,0 +1,30 @@ +[global] +follow = mouse +enable_posix_regex = true + +width = (200, 300) +offset = (20, 10) + +transparency = 20 + +gap_size = 1 + +idle_threshold = 5m + +frame_color = "{cursor}" + +[urgency_low] + background = "{background}" + foreground = "{foreground}" + timeout = 5 + +[urgency_normal] + background = "{background}" + foreground = "{foreground}" + timeout = 10 + +[urgency_critical] + background = "{background}" + foreground = "{foreground}" + frame_color = "{color4}" + timeout = 0 diff --git a/common/.config/wal/templates/gtkrc b/common/.config/wal/templates/gtkrc new file mode 100644 index 0000000..e93d5ce --- /dev/null +++ b/common/.config/wal/templates/gtkrc @@ -0,0 +1,253 @@ +gtk_color_scheme = "fg_color:{color15} +bg_color:{color0} +base_color:{color8} +text_color:{color15} +selected_bg_color:{color4} +selected_fg_color:{color0} +tooltip_bg_color:{color8} +tooltip_fg_color:{color15} +border_color:{color4}" + +style "default" +{{ + xthickness = 2 + ythickness = 2 + + GtkEntry::cursor_color = @fg_color + GtkEntry::cursor_aspect_ratio = 0.05 + + GtkRange::stepper-size = 20 + GtkScale ::slider-length = 20 + GtkScale ::trough-side-details = 0 # 0 = thin slider, >0 = thick slider + + GtkTextView::cursor_aspect_ratio = 0.1 + GtkTextView::cursor_color = @fg_color + + GtkTreeView::expander-size = 16 + + GtkWidget::focus-padding = 0 + GtkWidget::interior_focus = 2 + GtkWidget::link-color = @selected_bg_color + GtkWidget::visited-link-color = shade(0.8,@selected_bg_color) + + GtkToolbar :: shadow-type = GTK_SHADOW_NONE + GtkMenuBar :: shadow-type = GTK_SHADOW_NONE + + GtkToolbar ::internal-padding = 4 + + GtkScrollbar ::has-backward-stepper = 0 + GtkScrollbar ::has-forward-stepper = 0 + + GtkCheckButton ::indicator-size = 16 + + GtkProgressBar ::min-vertical-bar-width = 6 + GtkProgressBar ::min-horizontal-bar-height = 6 + + fg[NORMAL] = @fg_color # this is the color of borders + text[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + text[PRELIGHT] = @fg_color + fg[ACTIVE] = @fg_color + text[ACTIVE] = @fg_color + fg[SELECTED] = @fg_color + text[SELECTED] = @fg_color + fg[INSENSITIVE] = mix(0.5, @base_color, @fg_color) + text[INSENSITIVE] = mix(0.5, @base_color, @fg_color) + + bg[NORMAL] = @bg_color + base[NORMAL] = @base_color + bg[PRELIGHT] = @bg_color + base[PRELIGHT] = @bg_color + bg[ACTIVE] = mix(0.2,@fg_color,@bg_color) + base[ACTIVE] = mix(0.1,@fg_color,@base_color) + bg[SELECTED] = @selected_bg_color + base[SELECTED] = mix(0.1,@fg_color,@base_color) + bg[INSENSITIVE] = @bg_color + base[INSENSITIVE] = @bg_color + + engine "murrine" +{{ + contrast = 0.0 + arrowstyle = 2 #to draw filled arrows. + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight + gradient_shades = {{1.0, 1.0, 1.0, 1.0}} # default: {{1.1,1.0,1.0,1.1}} + highlight_shade = 1.0 # set highlight amount for buttons or widgets + lightborder_shade = 1.0 # sets lightborder amount for buttons or widgets + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + focusstyle = 1 + reliefstyle = 0 + menustyle = 0 + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + progressbarstyle = 0 + border_shades = {{ 1.0, 1.0 }} # this for light borders +}} + +}} + +style "entry" +{{ + xthickness = 4 + ythickness = 4 + + engine "murrine" {{border_shades = {{ 1.5, 1.5 }}}} +}} + +style "button" +{{ + xthickness = 4 + ythickness = 4 + + engine "murrine" {{ roundness = 3 border_shades = {{ 1.5, 1.5 }} }} + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = @bg_color + bg[ACTIVE] = mix(0.2, @fg_color,@bg_color) +}} + +style "radiocheck" +{{ + text[NORMAL] = @selected_fg_color # Text in window + text[PRELIGHT] = @selected_fg_color # Text on Mouseover + text[ACTIVE] = @selected_fg_color # Text on click + + bg[SELECTED] = @selected_bg_color +}} + +style "progressbar" +{{ + xthickness = 0 + ythickness = 0 + + engine "murrine" {{}} + + fg[PRELIGHT] = @selected_fg_color +}} + +style "scale" +{{ + GtkRange ::slider-width = 14 + GtkScale ::slider-length = 14 + GtkScale ::trough-side-details = 1 + + engine "murrine" {{roundness = 4 border_shades = {{ 1.5, 1.5 }}}} + + bg[NORMAL] = @base_color + bg[PRELIGHT] = @base_color +}} + +style "menubar" +{{ +}} + +style "menubaritem" +{{ + fg[NORMAL] = @fg_color +}} + +style "menu" +{{ + xthickness = 1 + ythickness = 4 + + bg[NORMAL] = @bg_color + +}} + +style "menuitem" +{{ + xthickness = 4 + ythickness = 4 + + engine "murrine" {{ contrast = 0.0}} + + bg[SELECTED] = mix(0.1,@fg_color,@bg_color) + + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + fg[PRELIGHT] = @fg_color +}} + +style "menu-separator" +{{ + GtkSeparatorMenuItem::horizontal-padding = 0 + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 1 + xthickness = 1 + ythickness = 2 + + engine "hcengine" {{ edge_thickness = 1}} + fg[NORMAL] = @border_color +}} + +style "separator" +{{ + engine "hcengine" {{ edge_thickness = 1}} + fg[NORMAL] = @border_color +}} + +style "toolbar" +{{ + +}} + +style "scrollbar" +{{ + engine "murrine" {{ border_shades = {{ 1.65, 1.65 }} gradient_shades = {{1.0, 1.0, 1.0, 1.0}} }} + bg[SELECTED] = mix(0.5,@fg_color, @base_color) +}} + +style "notebook" +{{ + xthickness = 5 + ythickness = 2 + + bg[NORMAL] = @base_color + bg[ACTIVE] = @bg_color +}} + +style "notebook_viewport" {{ + bg[NORMAL] = @base_color +}} + +style "tooltips" +{{ + xthickness = 6 + ythickness = 6 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color +}} + +class "GtkWidget" style "default" + +class "GtkEntry" style "entry" +widget_class "*" style "button" +class "GtkRadio*" style "radiocheck" +class "GtkCheck*" style "radiocheck" +widget_class "*" style "progressbar" +class "GtkScale" style "scale" + +class "GtkFrame" style "separator" +class "GtkSeparator" style "separator" +class "GtkVSeparator" style "separator" +class "GtkHSeparator" style "separator" +class "GtkSeparatorToolItem" style "separator" + +class "GtkMenuBar" style "menubar" +widget_class "*MenuBar.*" style "menubaritem" +class "GtkMenu" style "menu" +widget_class "**" style "menuitem" +widget_class "**" style "menu-separator" + +class "GtkToolbar" style "toolbar" +class "GtkScrollbar" style "scrollbar" +widget "gtk-tooltip*" style "tooltips" + +widget_class "**" style "notebook" +widget_class "**" style "notebook" +widget_class "**" style "notebook" +widget_class "***" style "notebook_viewport" +widget_class "*" style "notebook" -- cgit v1.2.3