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/beets/config.yaml | 21 ++ .../source-registry.conf.d/00-home-src.conf | 1 + .../source-registry.conf.d/01-lab-lisp.conf | 1 + .../source-registry.conf.d/02-slynk.conf | 1 + common/.config/fontconfig/fonts.conf | 80 +++++++ common/.config/mimeapps.list | 25 ++ common/.config/screenkey.json | 23 ++ common/.config/user-dirs.dirs | 8 + common/.config/wal/templates/dark.css | 72 ++++++ common/.config/wal/templates/dunstrc | 30 +++ common/.config/wal/templates/gtkrc | 253 +++++++++++++++++++++ 11 files changed, 515 insertions(+) create mode 100644 common/.config/beets/config.yaml create mode 100644 common/.config/common-lisp/source-registry.conf.d/00-home-src.conf create mode 100644 common/.config/common-lisp/source-registry.conf.d/01-lab-lisp.conf create mode 100644 common/.config/common-lisp/source-registry.conf.d/02-slynk.conf create mode 100644 common/.config/fontconfig/fonts.conf create mode 100644 common/.config/mimeapps.list create mode 100644 common/.config/screenkey.json create mode 100644 common/.config/user-dirs.dirs 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') diff --git a/common/.config/beets/config.yaml b/common/.config/beets/config.yaml new file mode 100644 index 0000000..ca04d22 --- /dev/null +++ b/common/.config/beets/config.yaml @@ -0,0 +1,21 @@ +directory: ~/mus +library: ~/mus/beets.db +plugins: + - edit + - parentwork + - fetchart + - missing + - replaygain + +fetchart: + sources: filesystem coverart wikipedia itunes + +replaygain: + backend: ffmpeg + +paths: + genre:classical: $parent_composer/$parentwork/$album%aunique{}/$track $title + "album:The Battle for Wesnoth OST": $album/$track $title + singleton: $artist/$title + comp: compilation/$album%aunique{}/$track $title + default: $albumartist/$album%aunique{}/$track $title diff --git a/common/.config/common-lisp/source-registry.conf.d/00-home-src.conf b/common/.config/common-lisp/source-registry.conf.d/00-home-src.conf new file mode 100644 index 0000000..7e9e0a9 --- /dev/null +++ b/common/.config/common-lisp/source-registry.conf.d/00-home-src.conf @@ -0,0 +1 @@ +(:tree (:home "src/lisp/")) diff --git a/common/.config/common-lisp/source-registry.conf.d/01-lab-lisp.conf b/common/.config/common-lisp/source-registry.conf.d/01-lab-lisp.conf new file mode 100644 index 0000000..697ed82 --- /dev/null +++ b/common/.config/common-lisp/source-registry.conf.d/01-lab-lisp.conf @@ -0,0 +1 @@ +(:tree (:home "lab/lisp")) diff --git a/common/.config/common-lisp/source-registry.conf.d/02-slynk.conf b/common/.config/common-lisp/source-registry.conf.d/02-slynk.conf new file mode 100644 index 0000000..ea1e5e8 --- /dev/null +++ b/common/.config/common-lisp/source-registry.conf.d/02-slynk.conf @@ -0,0 +1 @@ +(:tree (:home ".emacs.d/elpa/")) \ No newline at end of file diff --git a/common/.config/fontconfig/fonts.conf b/common/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..b7b1034 --- /dev/null +++ b/common/.config/fontconfig/fonts.conf @@ -0,0 +1,80 @@ + + + + + serif + + Iosevka Martial Etoile + Iosevka Etoile + Roboto Slab + DejaVu Serif + + + + sans-serif + + Iosevka Martial Aile + Iosevka Aile + B612 + Roboto + DejaVu Sans + + + + sans + + sans-serif + + + + monospace + + Iosevka Martial + Iosevka + B612 Mono + Hack + DejaVu Sans Mono + + + + cursive + + Elegante + serif + + + + + + ja + + + serif + + + Noto Serif CJK JP + + + + + ja + + + sans-serif + + + Noto Sans CJK JP + + + + + ja + + + monospace + + + Noto Sans Mono CJK JP + + + diff --git a/common/.config/mimeapps.list b/common/.config/mimeapps.list new file mode 100644 index 0000000..70f6cc8 --- /dev/null +++ b/common/.config/mimeapps.list @@ -0,0 +1,25 @@ +[Default Applications] +image/jpg=emacsclient.desktop; +image/png=emacsclient.desktop; + +video/mp4=emacsclient.desktop; +video/webm=emacsclient.desktop; +video/x-msvideo=emacsclient.desktop + +audio/mpeg=emacsclient.desktop; +audio/x-vorbis+ogg=emacsclient.desktop; + +text/plain=emacsclient.desktop; +text/html=firefox-esr.desktop; + +application/pdf=emacsclient.desktop; +application/epub+zip=emacsclient.desktop; + +x-scheme-handler/magnet=torrent.desktop; +application/x-bittorrent=torrent.desktop; + +x-scheme-handler/mailto=emacsclient-mail.desktop; + +x-scheme-handler/http=firefox-esr.desktop; +x-scheme-handler/https=firefox-esr.desktop; +x-scheme-handler/about=firefox-esr.desktop; diff --git a/common/.config/screenkey.json b/common/.config/screenkey.json new file mode 100644 index 0000000..d972e27 --- /dev/null +++ b/common/.config/screenkey.json @@ -0,0 +1,23 @@ +{ + "opacity": 0.4, + "mods_only": false, + "font_desc": "monspace 10", + "compr_cnt": 3, + "screen": 0, + "no_systray": false, + "bg_color": "black", + "vis_space": true, + "position": "bottom", + "key_mode": "composed", + "vis_shift": false, + "mods_mode": "normal", + "ignore": [], + "font_size": "small", + "recent_thr": 0.1, + "bak_mode": "baked", + "geometry": null, + "multiline": false, + "timeout": 1.0, + "persist": false, + "font_color": "white" +} diff --git a/common/.config/user-dirs.dirs b/common/.config/user-dirs.dirs new file mode 100644 index 0000000..51bb939 --- /dev/null +++ b/common/.config/user-dirs.dirs @@ -0,0 +1,8 @@ +XDG_DOCUMENTS_DIR="$HOME/etc" +XDG_DOWNLOAD_DIR="$HOME/tmp/dl" +XDG_MUSIC_DIR="$HOME/mus" +XDG_PICTURES_DIR="$HOME/img" +XDG_VIDEOS_DIR="$HOME/vid" +XDG_DESKTOP_DIR="$HOME" +XDG_TEMPLATES_DIR="$HOME" +XDG_PUBLICSHARE_DIR="$HOME" 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