link config files instead of writing them

This commit is contained in:
lucy 2026-10-15 13:33:06 +02:00
commit f647fb3971
13 changed files with 597 additions and 107 deletions

104
dotfiles/emacs/init.el Normal file
View file

@ -0,0 +1,104 @@
;; -*- lexical-binding: t; -*-
(setq make-backup-files nil)
(add-to-list 'default-frame-alist '(font . "JetBrainsMono Nerd Font Mono-12"))
(require 'package)
(add-to-list 'package-archives
'("melpa-snapshots"
.
"https://snapshots.melpa.org/packages/")
t)
;; load current selected tinty theme
(use-package base16-theme :ensure t)
(load-theme
(intern
(string-trim
(shell-command-to-string
"tinty current -d /home/lucy/.local/share/tinted-theming/tinty/")))
t)
;; add packages
(use-package org-view-mode :ensure t)
(use-package envrc :ensure t)
(use-package nix-mode :ensure t)
(use-package
eldoc-box
:ensure t
:hook (eglot-managed-mode . eldoc-box-hover-mode)
)
(use-package
elisp-autofmt
:ensure t
:commands (elisp-autofmt-buffer elisp-autofmt-mode)
:hook (emacs-lisp-mode . elisp-autofmt-mode)
:config)
(use-package portage-modes :ensure t)
(use-package
corfu
:ensure t
:init
(setq
corfu-auto t
corfu-auto-prefix 1
corfu-auto-delay 0.2)
(global-corfu-mode))
(setq tab-always-indent 'complete)
(use-package
cape
:ensure t
:bind ("C-c p" . cape-prefix-map) ;; Alternative key: M-<tab>, M-p, M-+
:init (add-hook 'completion-at-point-functions #'cape-file))
(setq corfu-auto-prefix 2)
(use-package qml-mode :ensure t)
(use-package lua-mode :ensure t)
(use-package elcord :ensure t :init (elcord-mode))
(add-to-list
'display-buffer-alist
'("\\*compilation\\*" (display-buffer-reuse-window
display-buffer-below-selected)
(window-height . 0.3)))
;; remove useless shit and set default opts
(setq org-hide-emphasis-markers t)
(setq ring-bell-function 'ignore)
(menu-bar-mode -1)
(tool-bar-mode -1)
(setq display-line-numbers-type 'relative)
(global-display-line-numbers-mode +1)
(global-tab-line-mode 1)
(scroll-bar-mode -1)
(setq inhibit-splash-screen 1)
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror)
;; lsp shit
(add-hook 'nix-mode-hook #'eglot-ensure)
(add-hook 'c-mode-hook #'eglot-ensure)
(add-hook 'qml-mode-hook #'eglot-ensure)
(with-eval-after-load 'eglot
(add-to-list 'eglot-server-programs '(nix-mode . ("nixd")))
(add-to-list 'eglot-server-programs '(qml-mode . ("qmlls"))))
;; keybindings
(keymap-global-set "C-c f" 'eglot-format)
(keymap-global-set "C-c t" 'term)
(keymap-global-set "C-c c" 'compile)
(keymap-global-set "C-c k b" 'kill-current-buffer)
(keymap-global-set "C-c k w" 'kill-buffer-and-window)
(keymap-global-set "C-c v" 'org-view-mode)
(windmove-default-keybindings)
;; replace dashes with bullets in org mode
(font-lock-add-keywords 'org-mode
'(("^ +\\([-*]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "•"))))))
(setq org-view-prettify-credentials nil)
(setq org-view-hide-keywords nil)
(envrc-global-mode)

5
dotfiles/foot/foot.ini Normal file
View file

@ -0,0 +1,5 @@
include = ~/.local/share/tinted-theming/tinty/tinted-terminal-themes-foot-file.ini
pad = 15x15
font = JetBrainsMono Nerd Font:size=12
[colors-dark]
alpha = 1.0

View file

@ -0,0 +1,7 @@
[main]
include = ~/.local/share/tinted-theming/tinty/tinted-fuzzel-build-file
font = Roboto:size=14
dpi-aware = no
[border]
width = 2

View file

@ -0,0 +1,8 @@
quit-after-last-window-closed = false
theme = "tinted-theming"
font-family = "JetBrainsMono Nerd Font"
font-size = 14
window-padding-x = 15
window-padding-y = 15
shell-integration = none
confirm-close-surface = false

View file

@ -0,0 +1,47 @@
# vim: ft=ghostty
# Gruvbox dark, hard theme for Ghostty
# Scheme Author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
# Scheme System: base16
# Template Author: Tinted Terminal (https://github.com/tinted-theming/tinted-terminal)
# Color palette
palette = 0=#1d2021
palette = 1=#fb4934
palette = 2=#b8bb26
palette = 3=#fabd2f
palette = 4=#83a598
palette = 5=#d3869b
palette = 6=#8ec07c
palette = 7=#d5c4a1
palette = 8=#665c54
palette = 9=#fb4934
palette = 10=#b8bb26
palette = 11=#fabd2f
palette = 12=#83a598
palette = 13=#d3869b
palette = 14=#8ec07c
palette = 15=#fbf1c7
palette = 16=#fe8019
palette = 17=#d65d0e
palette = 18=#3c3836
palette = 19=#504945
palette = 20=#bdae93
palette = 21=#ebdbb2
# Foreground & background colors
background = #1d2021
foreground = #d5c4a1
cursor-color = #d5c4a1
selection-background = #d5c4a1
selection-foreground = #504945
search-background = #fabd2f
search-foreground = #3c3836
search-selected-background = #fe8019
search-selected-foreground = #3c3836
# Set `macos-icon = custom-style` in your main configuration file to enable theming of the app icon.
#
# Set the ghost color to the lightest foreground:
macos-icon-ghost-color = #fbf1c7
# Replace the official icon's blue background with the designated bright blue color:
macos-icon-screen-color = #83a598

View file

@ -0,0 +1,17 @@
[Settings]
gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Adwaita Sans 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=none
gtk-application-prefer-dark-theme=1

View file

@ -0,0 +1,7 @@
[Settings]
gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Adwaita Sans 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=24
gtk-application-prefer-dark-theme=1

156
dotfiles/niri/#config.kdl# Normal file
View file

@ -0,0 +1,156 @@
prefer-no-csd
hotkey-overlay {
skip-at-startup
}
environment {
GTK_THEME "adw-gtk3-dark"
XDG_CURRENT_DESKTOP "niri"
XDG_SESSION_TYPE "wayland"
XDG_SESSION_DESKTOP "niri"
QT_QPA_PLATFORM "wayland;xcb"
OZONE_PLATFORM "wayland"
ELECTRON_OZONE_PLATFORM_HINT "auto"
}
cursor {
xcursor-size 24
xcursor-theme "macOS"
}
input {
keyboard {
xkb {
layout "eu"
}
}
touchpad {
tap
natural-scroll
}
mouse {
accel-speed -0.4
accel-profile "flat"
}
focus-follows-mouse max-scroll-amount="20%"
}
output "PNP(BNQ) BenQ EX2710Q K6R04023019" {
mode "2560x1440@165.002"
scale 1
transform "normal"
position x=1920 y=0
}
output "Dell Inc. DELL P2317H 9KFDW6C533DB" {
position x=0 y=0
}
output "eDP-1" {
scale 1
}
layout {
gaps 16
center-focused-column "never"
default-column-width { proportion 0.6; }
focus-ring {
off
}
border {
width 2
active-color "#ffc87f"
inactive-color "#505050"
}
}
spawn-at-startup "qs"
screenshot-path null
animations {}
window-rule {
geometry-corner-radius 16
clip-to-geometry true
}
binds {
Mod+return { spawn "foot"; }
Mod+space { spawn "fuzzel"; }
Mod+e { spawn "nautilus"; }
Alt+MouseRight { }
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; }
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; }
XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; }
XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; }
XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; }
XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; }
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; }
Mod+O repeat=false { toggle-overview; }
Mod+Q repeat=false { close-window; }
Mod+Left { focus-column-left; }
Mod+Down { focus-window-down; }
Mod+Up { focus-window-up; }
Mod+Right { focus-column-right; }
Mod+H { focus-column-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+L { focus-column-right; }
Mod+Ctrl+Left { move-column-left; }
Mod+Ctrl+Down { move-window-down; }
Mod+Ctrl+Up { move-window-up; }
Mod+Ctrl+Right { move-column-right; }
Mod+Ctrl+H { move-column-left; }
Mod+Ctrl+J { move-window-down; }
Mod+Ctrl+K { move-window-up; }
mod+ctrl+l { move-column-right; }
Mod+comma { focus-monitor-left; }
Mod+period { focus-monitor-right; }
Mod+Shift+comma { move-column-to-monitor-left; }
Mod+Shift+period { move-column-to-monitor-right; }
Mod+Shift+WheelScrollDown { focus-column-right; }
Mod+Shift+WheelScrollUp { focus-column-left; }
Mod+1 { focus-workspace 1; }
Mod+2 { focus-workspace 2; }
Mod+3 { focus-workspace 3; }
Mod+4 { focus-workspace 4; }
Mod+5 { focus-workspace 5; }
Mod+6 { focus-workspace 6; }
Mod+7 { focus-workspace 7; }
Mod+8 { focus-workspace 8; }
Mod+9 { focus-workspace 9; }
Mod+Shift+1 { move-column-to-workspace 1; }
Mod+Shift+2 { move-column-to-workspace 2; }
Mod+Shift+3 { move-column-to-workspace 3; }
Mod+Shift+4 { move-column-to-workspace 4; }
Mod+Shift+5 { move-column-to-workspace 5; }
Mod+Shift+6 { move-column-to-workspace 6; }
Mod+Shift+7 { move-column-to-workspace 7; }
Mod+Shift+8 { move-column-to-workspace 8; }
Mod+Shift+9 { move-column-to-workspace 9; }
Mod+BracketLeft { consume-or-expel-window-left; }
Mod+BracketRight { consume-or-expel-window-right; }
Mod+F { maximize-column; }
Mod+Minus { set-column-width "-10%"; }
Mod+Equal { set-column-width "+10%"; }
Mod+V { toggle-window-floating; }
Mod+Shift+S { screenshot; }
Alt+Shift+S { screenshot-screen; }
Alt+Ctrl+S { screenshot-window; }
Mod+Shift+q { quit; }
}
include "~/.local/share/tinted-theming/tinty/tinted-niri-themes-file.kdl"

155
dotfiles/niri/config.kdl Normal file
View file

@ -0,0 +1,155 @@
prefer-no-csd
hotkey-overlay {
skip-at-startup
}
environment {
GTK_THEME "adw-gtk3-dark"
XDG_CURRENT_DESKTOP "niri"
XDG_SESSION_TYPE "wayland"
XDG_SESSION_DESKTOP "niri"
QT_QPA_PLATFORM "wayland;xcb"
OZONE_PLATFORM "wayland"
ELECTRON_OZONE_PLATFORM_HINT "auto"
}
cursor {
xcursor-size 24
xcursor-theme "macOS"
}
input {
keyboard {
xkb {
layout "eu"
}
}
touchpad {
tap
natural-scroll
}
mouse {
accel-speed -0.4
accel-profile "flat"
}
focus-follows-mouse max-scroll-amount="20%"
}
output "PNP(BNQ) BenQ EX2710Q K6R04023019" {
mode "2560x1440@165.002"
scale 1
transform "normal"
position x=1920 y=0
}
output "Dell Inc. DELL P2317H 9KFDW6C533DB" {
position x=0 y=0
}
output "eDP-1" {
scale 1
}
layout {
gaps 16
center-focused-column "never"
default-column-width { proportion 0.6; }
focus-ring {
off
}
border {
width 2
active-color "#ffc87f"
inactive-color "#505050"
}
}
spawn-at-startup "qs"
screenshot-path null
animations {}
window-rule {
geometry-corner-radius 16
clip-to-geometry true
}
binds {
Mod+return { spawn-sh "ghostty +new-window"; }
Mod+space { spawn "fuzzel"; }
Mod+e { spawn "nautilus"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; }
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; }
XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; }
XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; }
XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; }
XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; }
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; }
Mod+O repeat=false { toggle-overview; }
Mod+Q repeat=false { close-window; }
Mod+Left { focus-column-left; }
Mod+Down { focus-window-down; }
Mod+Up { focus-window-up; }
Mod+Right { focus-column-right; }
Mod+H { focus-column-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+L { focus-column-right; }
Mod+Ctrl+Left { move-column-left; }
Mod+Ctrl+Down { move-window-down; }
Mod+Ctrl+Up { move-window-up; }
Mod+Ctrl+Right { move-column-right; }
Mod+Ctrl+H { move-column-left; }
Mod+Ctrl+J { move-window-down; }
Mod+Ctrl+K { move-window-up; }
mod+ctrl+l { move-column-right; }
Mod+comma { focus-monitor-left; }
Mod+period { focus-monitor-right; }
Mod+Shift+comma { move-column-to-monitor-left; }
Mod+Shift+period { move-column-to-monitor-right; }
Mod+Shift+WheelScrollDown { focus-column-right; }
Mod+Shift+WheelScrollUp { focus-column-left; }
Mod+1 { focus-workspace 1; }
Mod+2 { focus-workspace 2; }
Mod+3 { focus-workspace 3; }
Mod+4 { focus-workspace 4; }
Mod+5 { focus-workspace 5; }
Mod+6 { focus-workspace 6; }
Mod+7 { focus-workspace 7; }
Mod+8 { focus-workspace 8; }
Mod+9 { focus-workspace 9; }
Mod+Shift+1 { move-column-to-workspace 1; }
Mod+Shift+2 { move-column-to-workspace 2; }
Mod+Shift+3 { move-column-to-workspace 3; }
Mod+Shift+4 { move-column-to-workspace 4; }
Mod+Shift+5 { move-column-to-workspace 5; }
Mod+Shift+6 { move-column-to-workspace 6; }
Mod+Shift+7 { move-column-to-workspace 7; }
Mod+Shift+8 { move-column-to-workspace 8; }
Mod+Shift+9 { move-column-to-workspace 9; }
Mod+BracketLeft { consume-or-expel-window-left; }
Mod+BracketRight { consume-or-expel-window-right; }
Mod+F { maximize-column; }
Mod+Minus { set-column-width "-10%"; }
Mod+Equal { set-column-width "+10%"; }
Mod+V { toggle-window-floating; }
Mod+Shift+S { screenshot; }
Alt+Shift+S { screenshot-screen; }
Alt+Ctrl+S { screenshot-window; }
Mod+Shift+q { quit; }
}
include "~/.local/share/tinted-theming/tinty/tinted-niri-themes-file.kdl"

View file

@ -0,0 +1,9 @@
[ColorScheme]
# Active: text, bg, window text, button, mid, dark, text, bright text, text, base, window, shadow, highlight, highlighted text, link, visited link, etc.
active_colors=#cdd6f4, #1e1e2e, #cdd6f4, #181825, #181825, #181825, #cdd6f4, #b4befe, #cdd6f4, #1e1e2e, #1e1e2e, #181825, #89b4fa, #1e1e2e, #89b4fa, #cba6f7, #181825, #1e1e2e, #181825, #cdd6f4, #181825
# Inactive
inactive_colors=#45475a, #181825, #cdd6f4, #181825, #181825, #181825, #45475a, #b4befe, #45475a, #1e1e2e, #1e1e2e, #181825, #45475a, #1e1e2e, #89b4fa, #cba6f7, #181825, #1e1e2e, #181825, #45475a, #181825
# Disabled
disabled_colors=#45475a, #181825, #cdd6f4, #181825, #181825, #181825, #45475a, #b4befe, #45475a, #1e1e2e, #1e1e2e, #181825, #45475a, #1e1e2e, #89b4fa, #cba6f7, #181825, #1e1e2e, #181825, #45475a, #181825

32
dotfiles/qt6ct/qt6ct.conf Normal file
View file

@ -0,0 +1,32 @@
[Appearance]
color_scheme_path=/home/lucy/.config/qt6ct/colors/tinted.conf
custom_palette=true
icon_theme=Papirus-Dark
standard_dialogs=default
style=Fusion
[Fonts]
fixed="Liberation Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0"
general="Liberation Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0"
[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4_\0\0\x4W\0\0\0\0\0\0\0\0\0\0\x4_\0\0\x4W\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x4_\0\0\x4W)
[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()

View file

@ -0,0 +1,49 @@
[[items]]
path = "https://git.lucy.rip/lucy/tinted-qtct"
name = "tinted-qt"
themes-dir = "build"
hook = "cp %f ~/.config/qt6ct/colors/tinted.conf"
[[items]]
path = "https://git.lucy.rip/lucy/tinted-gtk"
name = "tinted-gtk"
themes-dir = "build"
hook = "cp %f ~/.config/gtk-3.0/gtk.css; cp %f ~/.config/gtk-4.0/gtk.css"
[[items]]
path = "https://github.com/tinted-theming/tinted-terminal"
name = "tinted-terminal"
themes-dir = "themes/ghostty" # Directory name of terminal theme you want to use
supported-systems = ["base16", "base24"]
hook = """
mkdir -p ~/.config/ghostty/themes
command cp %f ~/.config/ghostty/themes/tinted-theming
systemctl --user reload app-com.mitchellh.ghostty.service
"""
[[items]]
path = "https://git.lucy.rip/lucy/tinted-mangowc/"
name = "tinted-mangowc"
themes-dir = "build"
hook = "mmsg dispatch reload_config"
[[items]]
path = "https://git.lucy.rip/lucy/tinted-fuzzel.git"
name = "tinted-fuzzel"
themes-dir = "build"
[[items]]
path = "https://git.lucy.rip/lucy/tinted-discord.git"
name = "tinted-discord"
themes-dir = "build"
hook = "cp %f ~/.config/vesktop/settings/quickCss.css"
[[items]]
path = "https://git.lucy.rip/lucy/tinted-chromium.git"
name = "tinted-chromium"
themes-dir = "build"
[[items]]
path = "https://git.lucy.rip/lucy/tinted-niri.git"
name = "tinted-niri"
themes-dir = "themes"