Works on Arch (and Arch-based: CachyOS, EndeavourOS) and Ubuntu 26.04 (and Debian-based). One repo for both — the installer detects the distro by itself and installs every package with the right package manager.
- Type in terminal next commands (IMPORTANT: clone repo to home directory —
~/Dotfileson every machine, all configs and scripts rely on this path):
cd ~
git clone https://github.com/Irrisorr/Dotfiles
cd Dotfiles
./install.sh
-
The package picker and the config menu run in fzf (installed automatically; with fzf older than 0.59 the installer falls back to plain gum menus): every category on one screen,
j/kor arrows to move,Spaceto tick,Ctrl-Ato tick a whole category,/orCtrl-Fto search. Ticking a package unfolds its dependencies, ticking Niri / Hyprland ecosystem unfolds what it configures — untick what you don't need. The right panel shows where a package comes from on this distro and whether it is installed (✓,↑= an update is available) -
Packages:
Entershows the install plan and asks;Nobrings the list back with your ticks. Config:Enterasks to run the ticked steps (or the one under the cursor), then runs them with their output on screen; the list comes back with✓/✗and each step's output in its preview. The preview starts with one sentence on what the step does (the# About:line above its function) -
After it reboot your device: on the first login a terminal opens with
post_install.shby itself (the default terminal fromdefapps; a one-shot user unit the installer leaves on this machine,dotfiles-post-install.service, runsscripts/wrappers/post-install-once.shand deletes itself — nothing stays in the configs). A terminal opened before that runs it too (a one-shot fish hook). It has the steps that need an app started by hand first — each one says what to do (start Obsidian / Spotify / iMe, wait for Syncthing, ...) and waits for Enter. The hook runs only in a terminal of the desktop ($WAYLAND_DISPLAY), not on a text console: Obsidian (vaults from the phone through Syncthing, then the~/Documentslink and the wallpaper colors), Spotify (spicetify can't apply before Spotify's first start), iMe (itstg://launcher exists after its first start), Telegram / iMe (pick the wallpaper theme file and the font once in the client), plus GitHub login, RustDesk (latest release) and Hyprland plugins (only when Hyprland is installed). A config step that can't run yet for such a reason (no vaults, no Spotify prefs, no fingerprint reader) is skipped with a note instead of failing. If something went wrong, you can run it manually:
cd Dotfiles
./post_install.sh
- Same steps, same menus — nothing to choose by hand. Differences the installer handles by itself:
- niri,
xwayland-satelliteand the Dux shell (formerly DankMaterialShell; the Ubuntu package is still calleddms) come from the author's PPAs (ppa:duxlabs/dux-repo,ppa:duxlabs/dms) — they are not in the Ubuntu repos.quickshellhas its own line withdux-repo:dmsneeds it from there, so DMS installs even when niri isn't picked. Under DMS alsocava(the audio visualizer widget) andqt6-multimedia(qml6-module-qtmultimediaon Ubuntu; DMS's sound effects) — both on indms/settings.json - apps that are only in the AUR and work fine sandboxed (Obsidian, Vesktop, Discord, Podman Desktop, Rnote, ...) are installed from Flathub — and get a command with the usual name in
/usr/local/bin(obsidian,discord, ...), so niri keybinds and the config menu work the same as on Arch - Zen is upstream's tarball in
~/.local/share/zen(linked as/usr/local/bin/zen-browser), not the flatpak: the flatpak's read-only app dir can't take the Sine bootloader. It is owned by you, so Zen updates itself from inside the browser clipse(release binary), JetBrains Mono Nerd Font (official nerd-fonts release), kitty (upstream build into/opt/kitty.app— apt's 0.45 is too old for thiskitty.conf; it brings its ownslangcfor custom shaders), Antigravity (Google's tarball, into/opt/Antigravity), spicetify (upstream release into/opt/spicetify-cli, like Arch's package), gowall (release binary), Spotify (Spotify's own apt repo, not the flatpak: spicetify patches its files), VS Code (Microsoft's.deb, whose install adds Microsoft's apt repo, so apt updates it; the flatpak's sandbox hides the host's SDKs, docker and git setup from the editor and its terminal, and DMS's theme never reaches it), IntelliJ IDEA (JetBrains' snap in classic confinement — no sandbox, snap updates it), Google Chrome (Google's.deb, which adds Google's apt repo; the flatpak is a community repack that breaks password-manager extensions and security keys), Telegram (telegram.org's tarball in~/.local/share/telegram, linked astelegram-desktop, updates itself; the flatpak sees files only through the portal and wouldn't follow the wallpaper theme), Zoom (zoom.us's.deb, re-run the package step to update), iMe (imem.app's tarball, on Arch too — there is no package:~/.local/share/ime-desktop, linked asime, updates itself. Telegram-based apps name their launcher entryorg.ime.desktop._<md5 of the binary's path>, so a fixed path gives the same entry on every machine with the same home, anddefappsmaps a saved entry to this machine's one when the home differs, so thetg://handler indefapps/mimeapps.listfinds it; the session in~/.local/share/iMeis apart from the program), Zed (zed.dev's installer:~/.local/zed.app, linked as~/.local/bin/zed, updates itself; Arch's package calls the commandzeditor), Postman (postman.com's tarball in~/.local/share/postman, linked aspostman, updates itself;etc/apparmor.d/postmanlets its Electron sandbox use user namespaces, which Ubuntu's AppArmor otherwise refuses). Where one of these was a flatpak before, the installer carries it over — settings, extensions, the Telegram session copied to where the native app looks (nothing overwritten), its/usr/local/binshim removed — and prints theflatpak uninstallline to run yourself; swayimg (built from the release tag into/usr/local— apt's 4.7 predates the Lua config) and FreeOffice (SoftMaker's apt repo) have their own installers inscripts/install/system/sources.sh; re-run the package step to update clipse, kitty, the font, Antigravity, spicetify, gowall, swayimg and Zoom (Zen, Telegram, iMe, Zed and Postman update themselves; VS Code, Chrome and Spotify through apt, IDEA through snap)- SDDM replaces GDM as the login screen (the SDDM config step switches it; it prints the command to switch back)
- the Dux greeter needs Ubuntu 26.04+ (that's the oldest release
ppa:duxlabs/dux-repobuilds it for). Ubuntu's/etc/pam.d/greetdhas no line starting withauth(@include login,-auth ...), anddms-greeter installstops on that ("no auth directive found"): the greeter step first spells the include out asauth/account/password/session include login, the same thing, so its fingerprint block goes before the password. It also always reports "Failed to handle gdm3: still in state 'alias'":gdm3is an alias ofgdm.service, which it did disable, so it's harmless (readlink /etc/systemd/system/display-manager.service→greetd.service); the step answers its "Continue anyway?" and its sudo / run0 question (DMS_PRIVESC=sudo) itself
- niri,
- Known differences:
- 11 packages have no Ubuntu source and are skipped (the installer names them before installing):
shader-slang(bundled with the upstream kitty build),anyrun,walker,hyprswitch,hyprshot,arronax,vimix-gtk-themes,waydroid,terminal-rain-lightning,logmein-hamachi,ags-hyprpanel-git - fingerprint driver (
libfprint-2-tod1-goodix-v2, 27c6:550a) is installed from the same.debthe AUR package repackages — it doesn't update by itself claude-codecomes from Anthropic's installer (~/.local/bin/claude, updates itself);claude-desktopfrom Anthropic's apt repo (downloads.claude.ai/claude-desktop/apt, key in/usr/share/keyrings/claude-desktop-archive-keyring.asc), updated byapt upgrade. Slack is the flatpak — apt'sslackis an unrelated admin tool
- 11 packages have no Ubuntu source and are skipped (the installer names them before installing):
- Hardware fixes (both distros):
- fingerprint (Arch):
libfprint-todis built from its AUR PKGBUILD with libfprint's thermal model turned off (its source is a signed git tag: the step first imports the PKGBUILD'svalidpgpkeysinto your keyring, which a fresh system doesn't have — otherwise makepkg stops on the signature) — otherwise the Goodix reader is disabled "to prevent overheating" after ~3 min on the lock screen.pacman -Qi libfprint-todshows(no thermal limit)on the patched build; an AUR update brings the stock one back, re-run the package step then - volume keys (ThinkBook 14 G8 IRL): the keyboard controller sometimes drops the key release, so volume keeps changing.
etc/udev/hwdb.d/61-thinkbook-volume-release.hwdbmakes the kernel release them itself; the Keyboard fixes (udev hwdb) config step installs it (a hardware quirk, so the same on Ubuntu). Check:cat /sys/bus/serio/devices/serio0/force_releaselists174,176 - Wi-Fi (Intel Wi-Fi 6/6E,
iwlwifi): an old TP-Link AP (WPA/WPA2 mixed, group TKIP) silently drops association requests carrying 802.11ax capabilities — authentication passes, association times out, NetworkManager keeps asking for the password. Not an installer step: thewifialias (also inasd) → Fix installsetc/modprobe.d/iwlwifi-no-11ax.conf(options iwlwifi disable_11ax=1) and reloads the driver. It turns 11ax off on every network; the real fix is WPA2-PSK + AES on the router, thenwifi→ Remove the fix
- fingerprint (Arch):
- One line in
scripts/install/packages.txtunder its category — it's installed on both distros. If on Ubuntu the package has another name or comes from somewhere else, add a tail (full format in INSTALLATION.MD):
neovim
sqlite ubuntu:apt=sqlite3 (needs for sync private dotfiles)
zen-browser-bin ubuntu:source=zen (based on firefox | Ubuntu: upstream tarball, updates itself)
logmein-hamachi ubuntu:skip (VPN service | Ubuntu: .deb at vpn.net, unversioned URL)
- Something a package only needs for a feature goes right under it with a
-— the picker shows it after you pick the package, pre-checked:
swayimg ubuntu:source=swayimg (view images)
- imagemagick (saving rotation of other formats)
- Configs are symlinks into
~/Dotfiles, so the repo is the config: change something on one machine, commit & push, thengit pullon the other one — done - WM configs never hold distro-specific paths (polkit agent, portals go through
scripts/wrappers/), so the same niri/hyprland config works on both - Things that are per machine and need care:
- monitors (
niri/conf/output.kdl,open-on-outputinworkspaces.kdl) — u can list the monitors of both machines in the same file, niri ignores outputs that aren't connected fish/fish_variablesis rewritten by fish itself (and depends on its version) — expect it to show up ingit statusset-env/set-javawrite intofish/config.fish, which is in the repo — f.e.JAVA_HOMEis/usr/lib/jvm/java-25-openjdkon Arch but/usr/lib/jvm/java-25-openjdk-amd64on Ubuntu, so don't commit machine-specific values
- monitors (
- All configs u can edit at ur installation directory (
/Dotfiles) where u cloned this repository. All configs have symlinks to itself at~/.config/or other directories (such as SDDM config that store at root directory)
- For touchpad using, there is no mouse configurations
AltandCtrlare swapedEscandCapsLockare swapedSuper+Spacefor switching keyboard layout (language)- Focus follows mouse
- Disabled hot corners at gestures property
- tablet mode map for
eDP-1monitor (u need to change monitor name to yours)
You should change this configuration by urself using command niri msg outputs to get names of ur monitors (ex. eDP-1 or HDMI-1) and set necessary flags reading official wiki
DMS writes these itself from its Settings (keybinds, outputs, layout overrides, cursor, alt-tab, wallpaper blur, ...) and overwrites manual edits. Only the files niri/config.kdl includes matter: dms/binds.kdl (tracked) and dms/colors.kdl (wallpaper colors, regenerated, ignored) — both optional=true, so niri also starts before DMS creates them. The rest is ignored by git: niri doesn't load it, and some of it is per machine (outputs.kdl lists this PC's monitors — they come from niri/conf/output.kdl; DMS applies its own output changes at runtime through wlr-output-management, so they last until niri restarts).
| Plugin | Source | What it does |
|---|---|---|
| Bongo Cat | hthienloc/dms-plugins | Cat in the middle of the bar that taps along with typing |
| Dank Pomodoro Timer | duxlabs-dev/dux-plugins | Pomodoro timer widget |
| Niri Windows | rochacbruno/DankNiriWindows | Open-window switcher inside the launcher (Ctrl+Space, or ! in the launcher) |
| Wallpaper Carousel | motor-dev/wallpaperCarousel | Fullscreen carousel to pick a wallpaper (needs DMS to manage the wallpaper, not swaybg) |
DMS keeps some settings outside settings.json, in ~/.local/state/dms/session.json: the wallpaper transition (stripes) and cycling (random, every 5 min), the current wallpaper, and the lock screen / greeter / desktop widget layout. Those keys (DMS_SESSION_KEYS in scripts/install/system/niri.sh) are kept in dms/session.json — sync.sh dms (or the asd sync menu) copies them there, the wallpaper path with ~ for the home; Niri ecosystem → Dux shell state merges them back (stopping DMS meanwhile, it writes the file back from memory). Not in it: launcher history, last player, hidden audio devices, weather location.
Only dms/plugins.lock.json (each plugin's repo and commit) and dms/plugin_settings.json (their settings) are tracked; the plugin clones in dms/plugins/ are ignored. configure_niri clones them back with dms plugins restore. After installing, updating or removing a plugin, refresh the lockfile:
dms plugins lockBongo Cat reads the keyboard through evtest / libinput (libinput-tools), so the user has to be in the input group — configure_niri adds it (re-login to apply).
With Settings → Theme → Dynamic, DMS runs matugen on every wallpaper change: it builds a Material You palette from the wallpaper and fills DMS's templates with it. The scheme (matugenScheme) and the per-app templates (matugenTemplate*) are in dms/settings.json. Our own templates (Spotify, VS Code, Telegram, Obsidian, fish, fzf, clipse, Zed, Chrome) are in matugen/: Niri ecosystem → Dux shell config links it to ~/.config/matugen, and DMS runs them together with its own (runUserMatugenTemplates), so their files appear with the first wallpaper DMS sets.
| App | Generated file | Hooked up in |
|---|---|---|
| niri (focus ring, border, shadow, tabs, insert hint) | niri/dms/colors.kdl |
include next to dms/binds.kdl in niri/config.kdl — before its layout block, which would override any color it sets, so the gradients there are commented out |
| kitty | kitty/dank-theme.conf |
globinclude in kitty/kitty.conf (the old static palette is kept commented) |
| Zen browser | dms/zen.css |
local Sine mod zen-browser/chrome/sine-mods/dms-colors: its script loads the file and reloads it within ~2 s of every change (no Zen restart; needs sine.allow-unsafe-js from user.js), its CSS lets folders take the color too. Fills the window background, so Zen's workspace gradients don't show |
| Vesktop | ~/.config/vesktop/themes/dank-discord.css |
configure_vesktop enables it in Vencord's settings (native install only — the flatpak can't read it) |
| VS Code | the DankLinux.dms-theme extension's theme files |
configure_vscode installs the extension and sets workbench.colorTheme (settings.json stays untracked). Our template matugen/templates/vscode-soften.json softens the "Dark" and default variants: its post_hook (scripts/wrappers/vscode-soften.sh) waits for DMS to write them, then moves the backgrounds a step up from near-black (surface_container_high for the editor, surface_container for the side bar and panel), dims the text to on_surface_variant lightened a little and makes comments outline. "Light" stays as DMS writes it |
| Telegram, iMe, AyuGram | ~/.local/share/matugen/dms.tdesktop-theme: our template matugen/templates/telegram-colors.tdesktop-theme (Telegram's night theme with its blue-grey surfaces, text and blue accent swapped for the matugen colors; other hues stay) packed by its post_hook (scripts/wrappers/telegram-theme.sh) with a chat background — a gradient surface → surface_container_low made by ImageMagick, a step below the incoming bubbles (msgInBg: surface_container_high) |
once per client: Settings → Chat Settings → Choose from file → that file → Apply — post-install → Telegram / iMe puts the path in the clipboard and lists the clicks. The client watches the applied file and repaints, chat background included, on every change (no restart) |
| Obsidian | .obsidian/snippets/dms-colors.css in every vault Obsidian knows (obsidian.json): our template matugen/templates/obsidian-colors.css, copied there by its post_hook (scripts/wrappers/obsidian-snippet.sh). It fills the AnuPpuccin theme's --ctp-custom-* hooks — greys and text from the matugen surfaces, the accent from primary; Catppuccin's other hues (tags, headings, red/green) stay. Without AnuPpuccin the same colors go into Obsidian's own palette (--color-base-*, --accent-h/s/l): each --color-base-* reads AnuPpuccin's --ctp-* first and falls back to the wallpaper color, so with AnuPpuccin on nothing changes. Dark mode only |
configure_obsidian turns the snippet on in every vault (enabledCssSnippets in appearance.json; Obsidian closed). Obsidian reloads it on every change. Off: Settings → Appearance → CSS snippets → dms-colors |
| Qt apps (VLC, Wireshark, OBS, VirtualBox, Octopi, ...) | qt5ct/colors/matugen.conf, qt6ct/colors/matugen.conf |
every Qt app runs with QT_QPA_PLATFORMTHEME=qt5ct (niri/conf/envs.kdl; qt6ct's plugin answers to that name too, so Qt6 apps get qt6ct): Fusion, the matugen palette, Adwaita icons (the GTK ones too), fonts, open/save dialogs through the portal (dfiles). Niri ecosystem → Qt apps: wallpaper colors links qt5ct/ and qt6ct/. Before, the session had gtk3, whose Qt5 side gives no colors, and only VLC got qt5ct. An app takes the colors when it starts; the new variable needs a new login. Icons: the config step Icon theme picks one of the installed themes (Adwaita, Papirus, ...) for Qt apps, Dux files and the DMS tray (icon_theme= in qt5ct.conf / qt6ct.conf) and GTK (gsettings, settings.ini). Dux files has no icon set of its own, it draws the system one; Adwaita lacks many apps' tray icons, Papirus has them. color_scheme_path is ~/.config/qt5ct/colors/matugen.conf (qt5ct / qt6ct expand ~), so no user name in the repo — saving in the qt5ct GUI writes an absolute path back, don't commit that |
| fish, fzf | ~/.cache/matugen/fish-colors.fish, ~/.cache/matugen/fzf-colors from our templates matugen/templates/fish-colors.fish, fzf-colors |
fish/conf.d/dms-colors.fish: every open shell sources the fish colors at its next prompt (the path in the prompt is a chip, on_primary_container on primary_container, readable on any wallpaper) when the file changed, over config.fish's static theme (which stays without it); it points FZF_DEFAULT_OPTS_FILE at the fzf one, read by every fzf start. Back to the static theme: remove conf.d/dms-colors.fish |
clipse (Mod+V) |
~/.config/clipse/custom_theme.json (useCustom: true) from our template matugen/templates/clipse-theme.json |
clipse reads it on every start (themeFile in clipse/config.json). Image previews (imageDisplay): scaleX / scaleY are pixels of image per terminal cell, heightCut divides the preview's height for a kitty image, since clipse prints the preview's lines below it — 10 / 18 / 3 keep it whole in this window |
| Zed | ~/.config/zed/themes/dank-soft.json ("DankShell Soft"), built by our hook scripts/wrappers/zed-soften.sh (template matugen/templates/zed-soften.json) from DMS's "DankShell Dark" (dank-zed-theme.json, matugenTemplateZed): surfaces a step up from near-black (surface_container_high editor, surface_container panels), text a little dimmer, and the syntax in the wallpaper's colors (keywords primary, strings tertiary, functions secondary, types and numbers their *_fixed, comments outline) — DMS's uses its terminal palette, which the wallpaper hardly moves |
configure_zed picks DankShell Soft (dark) / DankShell Light in settings.json (untracked, JSONC, edited in place). Zed reloads the theme on change. Back: pick DankShell Dark |
| Google Chrome | ~/.cache/matugen/chrome-color from our template matugen/templates/chrome-color: the wallpaper's seed color (source_color) |
Chrome builds its whole theme from one seed color, as matugen does. configure_chrome puts a copy of google-chrome.desktop in ~/.local/share/applications that starts scripts/wrappers/chrome-theme.sh, which writes the seed into every profile's Preferences (browser.theme.user_color2, tonal-spot variant, GTK mode off) while no Chrome runs. So the colors come with Chrome's next start — turn off Chrome's own background running (Settings → System → "Continue running background apps…"), or it never really closes. Theme sync has to be off (Settings → You and Google → Sync → Manage → Themes): a synced account theme replaces the local color at start. Back: Chrome → Settings → Appearance → Reset to default, and remove that .desktop copy |
| Spotify (spicetify) | spicetify/Themes/dms-colors/color.ini from our own template matugen/templates/spicetify-color.ini (matugen/config.toml → ~/.config/matugen; DMS runs user templates in the same matugen run as its own, in no set order) |
configure_spicetify: theme dms-colors in spicetify/config-xpui.ini; the template's post_hook runs spicetify refresh -s, the dms-live.js extension swaps the colors in an open Spotify within ~2 s (no restart). A pacman / apt hook (etc/pacman.d/hooks/spicetify.hook, etc/apt/apt.conf.d/99spicetify) re-applies spicetify after every Spotify update. More: Spotify |
dgop (dgop top) |
~/.config/dgop/colors.json |
nothing to do: dgop reads it itself (keybinds.json next to it is dgop's own default, not tracked) |
| Dux greeter | — | reads DMS's dms-colors.json through /var/cache/dms-greeter/colors.json, see Dux greeter |
The generated files inside Dotfiles change with every wallpaper, so they are in .gitignore; DMS recreates them on a new machine (after the next wallpaper change). Until then every app falls back to its own colors.
- Small gaps (10 px) between window's edges and no background color (transparent)
- Never centered a window when changing focus between windows and always center when only 1 window is on a worskspace
- Default window (column) width is 100%
- Presets for actions like
switch-preset-column-width (Mod+R)andswitch-preset-window-height (Mod+Shift+R)are 0.5 (50%) and 1.0 (100%) - Focus ring around active window (colors from the wallpaper, see above)
- Shadows below windows (u can see them )
- There is 4 named workspaces: _media, browser, ide and notes
- They r opened on my specific monitor, so u had to change the name of monitor to urs (at
open-on-output "<here ur monitor name>") - Workspaces are sorted alphabetically, so i had to add
_in _media if i wanted this worspace to be the first
- Corner radius for all windows is 18
- Indicate screencasted windows with red colors
- Rules about a page, chat or dialog match its title alone, without an app-id, so they hold in any browser or Telegram client and
defappshas nothing to copy for them; app-ids only where the app itself is meant (workspaces, clipse, terminals, Obsidian, Telegram calls) - Some apps that blocked from screencasting (u can add ur apps if u want): bank pages by title (
santander|erste|centrum24|logowanie), saved passwords (Пароли —/Passwords —), Saved Messages in Telegram / iMe / AyuGram (Избранное), plus Zen while a page loads — its title is the bareZen Browserfor 15-335 ms between pages, so every page load in Zen is black for that moment in a screencast, clipse - This PC's own rules go in
niri/conf/sensitive_rules.kdl(gitignored, included withoptional=true— fine if it's missing): rules you don't want in git, like blocking your mail or notes from screencasting - Apps that should open on the _media / browser / ide / notes workspace
- Picture in picture always floating (by title:
Picture-in-Picture/Картинка в картинке) - Clipse always opens floating and small size
- Terminal (kitty, and whatever defapps added) always opens at 50% (0.5) window size proportion
- Obsidian has scroll-factor 0.2
- Telegram, iMe: a new window of theirs takes focus, so an incoming call comes up in front (its window has only the contact's name as title, so every new window does, except at login)
- VLC isn't sized by a rule: it resized its window to the video (wider than the column for 1080p) —
configure_vlcturns that off invlcrc - Rofi has blur effect
- Wallpaper has place-within-backdrop rule (see in niri wiki)
- All apps that use Wayland protocol have blur effect
- Default niri animations
- Blur for all windows
- Global setting for blur in
niri/config.kdl
- wl-clipboard for clipboard history
- polkit-mate for authenticate apps (started through
scripts/wrappers/polkit-agent.sh, because the agent's path differs per distro) - dms - panel bar (Dux shell, formerly DankMaterialShell; the command is still
dms) - swaybg - wallpaper tool
- syncthing - local server for synchronize folders between laptop and phone or another devices in real time
- started as
syncthing serve --no-browser(niri and Hyprland autostart), so it doesn't open its web UI in the browser on every login — that's http://127.0.0.1:8384 when needed - syncs
~/Obsidianwith the phone. Documents live in the vault,~/Obsidian/Быт/Документы, and~/Documentsis a link to it: Syncthing doesn't follow symlinks and Android has none, so the real folder has to be inside the synced one. The config step Documents -> Obsidian vault makes the link (merges a real~/Documentsin first, stops on a file with the same name and other content) ~/Obsidian/.stignore(not in the dotfiles, Syncthing doesn't sync it either — add the same line on the phone):(?d).obsidian/plugins/recent-files-obsidian/data.json— the plugin rewrites it on every opened note on each device, so it only made conflicts;(?d)lets Syncthing delete it with its folder, without it a deleted vault stays on the other device
- started as
- clipse - clipboard app
- history expires by time through our timer, not clipse's own
deleteAfter: in clipse 1.2.1 that one only runs when the history is read (openingMod+V, a new copy), removes by indexes that shift after every removal — so each run drops about every other expired item and may hit a pinned one — and leaves the items' images intmp_files. Soclipse/config.jsonhasdeleteAfter: 0and our ownpruneAfter(seconds, 14400 = 4 h);systemd/user/clipse-prune.timerrunsscripts/wrappers/clipse-prune.shevery 5 min: drops unpinned items older than that and images no item points to. Config step Clipse → Expire history on time links the units into~/.config/systemd/userand enables the timer
- history expires by time through our timer, not clipse's own
- kill all xdg-desktop-portals for rerun while startup to avoid unexpected problems during the session
ELECTRON_OZONE_PLATFORM_HINT "auto"- Force Electron applications (like VS Code, Discord, Obsidian) to automatically detect and use the native Wayland display server on LinuxQT_QPA_PLATFORM "wayland"- Force Qt-based applications (like KDE apps, VLC, OBS) to use the native Wayland display protocol instead of running through the XWayland compatibility layerELECTRON_ENABLE_WAYLAND "1"- Forces Electron applications to run natively on the Wayland display protocolMOZ_ENABLE_WAYLAND "1"- Force Mozilla applications (like Firefox) to use the native Wayland display protocol instead of running through the XWayland compatibility layerGDK_BACKEND "wayland"- Force GTK applications (like Gnome apps) to use the native Wayland display protocol instead of running through the XWayland compatibility layerOBSIDIAN_USE_WAYLAND "1"- Force Obsidian to use the native Wayland display protocol instead of running through the XWayland compatibility layerQT_QPA_PLATFORMTHEME "qt5ct"- Qt applications take qt5ct / qt6ct: the wallpaper palette, Fusion, portal dialogs (see Wallpaper colors; wasgtk3, which gave Qt5 no colors)
- The Dux greeter (
dux-greeter-binfrom the AUR,dux-greeterfromppa:duxlabs/dux-repoon Ubuntu 26.04+) runs DMS's login screen under greetd and replaces SDDM - Niri ecosystem → Dux greeter in the config menu runs
dms-greeter install --yes: installs greetd, sets/etc/greetd/config.toml, disables the old display manager, adds you to thegreetergroup, gives that group read access to~,~/.config,~/Dotfilesand the DMS state, and links/var/cache/dms-greeter/{settings,session,colors}.jsonto your live DMS files - So the login screen follows DMS: wallpaper, matugen colors, fonts and the
greeter*keys indms/settings.json— its own widget layout (greeterWidgetInstances,greeterFollowLockScreen: false, edited in Settings → Greeter), and fingerprint login (greeterEnableFprintwrites thepam_fprintdline into/etc/pam.d/greetdon sync) - The group applies after the next login; until then
dms-greeter statuscan't read/var/cache/dms-greeterand reports the links as missing - After toggling fingerprint/U2F in Settings → Greeter:
dms-greeter sync. Logs:journalctl -t dms-greeter/niri -b,journalctl -t dms-greeter/session -b. Back to the previous display manager:dms-greeter uninstall - Fingerprint at the greeter: dms-greeter writes
pam_fprintd.so max-tries=2 timeout=10into/etc/pam.d/greetd, so the reader gives up 10 s after the greeter appears. The optional action Niri ecosystem → Dux greeter: wait 5 min for a fingerprint (not ticked with the step, tick it on machines with a reader) setstimeout=300; typing the password still logs in at once.dms-greeter syncand the fingerprint toggle writetimeout=10back, so re-run it after them
- Dux calendar (
dcal,dux-calendar-binfrom the AUR,dux-calendarfromppa:duxlabs/dux-repoon Ubuntu 26.04+) is DMS's calendar backend (calendarBackend: "dankcal"indms/settings.json); no autostart entry is needed - Niri ecosystem → Dux calendar config links
dankcal/to~/.config/dankcal— only the UI settings (ui-settings.json). Accounts, tokens and the event cache are per machine (~/.local/share/dankcal), so add the Google account again:dcal account add google - Google Tasks come through the shared built-in OAuth client, whose daily Tasks API quota can run out (log:
Google Tasks failed ... retry deferred, fixes itself at midnight Pacific). For your own quota:dcal account setup google, thendcal account add google --client-id ... --client-secret ...
- Dux files (
dfiles,dux-files-binfrom the AUR,dux-filesfromppa:duxlabs/dux-repoon Ubuntu 26.04+) - Niri ecosystem → Dux files config links
dfiles/(settingsui-settings.json, sidebarbookmarks.json) to~/.config/dfiles, makes it the default file manager (xdg-mime default dev.duxlabs.files.desktop inode/directory) and linksxdg-desktop-portal/niri-portals.conf, so other apps' open/save dialogs are Dux files windows (FileChooser=dfiles;gnome;gtk;)bookmarks.jsonneeds absolute paths (Dux files drops a~one), so the repo keeps@HOME@/@USER@in their place: the git filterhome-path(.gitattributes,scripts/wrappers/home-path-filter.sh) writes them on commit and puts this machine's home back on checkout. The same step registers it in the clone (git config filter.home-path.*) and fills in a file checked out before that
- Open tabs, folder views and folder badges are in
~/.local/state/dfilesand stay per machine
- Theme corners — based on aczw/sddm-theme-corners, ported to Qt6 (upstream is Qt5-only), so the same theme works on Arch and Ubuntu (Ubuntu's sddm has only the Qt6 greeter)
- Greeter runs on Wayland (
DisplayServer=wayland,weston --shell=kioskas its compositor) — no X server needed - Preview the theme in a window without logging out:
sddm-greeter-qt6 --test-mode --theme ~/Dotfiles/sddm/corners
configure_sddmcopies the theme anddefault.confinto the system dirs, so after editing them re-run the SDDM step in./install.sh
Spotify painted in the wallpaper colors, plus Marketplace and Listening Stats.
What's installed in Marketplace and Spicy Lyrics' settings are two JSON files
in spicetify/, exported and imported from Spotify itself.
wallpaper change ─► DMS runs matugen ─► spicetify/Themes/dms-colors/color.ini
│ post_hook: spicetify refresh -s
▼
<Spotify>/Apps/xpui/colors.css, user.css
│ dms-live.js re-reads them every 2 s
▼
open Spotify repaints, no restart
~/.config/spicetifyis a symlink toDotfiles/spicetify, as a whole. Whatever spicetify, the installers orspicewrite lands here, so a plugin update never breaks the link; it only shows up as a change ingit status.~/.config/matugenis a symlink toDotfiles/matugen(Niri ecosystem → Dux shell config): our own matugen templates, which DMS runs together with its own (runUserMatugenTemplates).- spicetify patches Spotify's files:
/opt/spotifyon Arch,/usr/share/spotifyon Ubuntu (Spotify's apt repo — the flatpak can't be patched). A Spotify update undoes the patch; the pacman / apt hook puts it back (spicetify backup apply). - spicetify writes this machine's paths (Spotify, its prefs — with the user
name) and its
[Backup]version intoconfig-xpui.ini. A git filter blanks them in commits and puts this machine's back on a pull, so one config serves both machines without conflicts.
| File | What it is |
|---|---|
config-xpui.ini |
spicetify's config: theme dms-colors, extensions, custom_apps. The app installers write it; commit its changes. spotify_path, prefs_path and [Backup] stay blank in git (the filter) |
Themes/dms-colors/user.css |
The wallpaper theme: paints Spotify's own color tokens (--background-base, --text-subdued, the green accent, …) with the matugen colors, mixes 10-20 % of the accent into the near-black DMS surfaces, accent on the play button and progress bars |
Themes/dms-colors/color.ini |
The colors themselves, written by DMS on every wallpaper change. Not in git |
Extensions/dms-live.js |
Repaints an open Spotify when colors.css / user.css change (swaps the stylesheet, nothing flashes) |
Extensions/synthesis-spicetify.js |
Synthesis Spicetify, only on machines that want it — see Synthesis. Not in git |
Extensions/lyrics-settings.js |
Adds "Export / Import Spicy Lyrics settings" to the profile menu (Spicy Lyrics has no export of its own) |
CustomApps/marketplace/, CustomApps/listening-stats/ |
Downloaded by their official installers. Not in git: the installer step and spice → Update apps put them back |
marketplace-backup.json |
What's installed in Marketplace (themes, extensions, snippets): Marketplace → Settings → Back up/Restore → Export, saved here |
spicy-lyrics-settings.json |
Spicy Lyrics' settings: profile menu → Export Spicy Lyrics settings, saved here |
Elsewhere in the dotfiles:
| File | What it is |
|---|---|
scripts/functions/spicetify.sh |
The spice menu |
fish/functions/spice.fish |
spice in fish |
scripts/functions/alias_menu.sh |
"Spotify (spicetify)" in the asd menu runs spice |
scripts/install/apps/spicetify.sh |
The installer's Spicetify step (configure_spicetify) |
matugen/config.toml, matugen/templates/spicetify-color.ini |
The matugen template that writes color.ini |
etc/spicetify-reapply.sh |
Installed as /usr/local/bin/spicetify-reapply: when Spotify is stock (after an install / update), re-applies spicetify as the owner of each ~/.config/spicetify |
etc/pacman.d/hooks/spicetify.hook |
Arch: runs spicetify-reapply after spotify is installed / updated |
etc/apt/apt.conf.d/99spicetify |
Ubuntu: runs spicetify-reapply after every dpkg run (it does nothing unless Spotify is stock) |
.gitattributes, scripts/wrappers/spicetify-config-filter.sh |
The git filter for config-xpui.ini; this machine's values wait in .git/spicetify-machine.ini; keeps synthesis-spicetify.js out of the committed extensions line |
scripts/install/system/sources.sh |
Ubuntu: install_source_spotify (Spotify's apt repo), install_source_spicetify (release into /opt/spicetify-cli, linked to /usr/local/bin) |
The menu: update Marketplace / Listening Stats / Synthesis, Repair, Restore stock, install or remove Synthesis — see Scripts.
- Marketplace's extensions load from their GitHub repos on
every Spotify start, so they update by themselves. Marketplace keeps only
the list of what's installed, inside Spotify — that's
marketplace-backup.json. After installing or removing something: Marketplace → Settings → Back up/Restore → Export, save overDotfiles/spicetify/marketplace-backup.json, commit. - Spicy Lyrics' settings live inside Spotify too: profile menu → Export
Spicy Lyrics settings, save over
Dotfiles/spicetify/spicy-lyrics-settings.json. - Marketplace and Listening Stats themselves are files in
CustomApps/, not in git: the installer andspice→ Update apps download them. - Listening Stats' history: export / import in its own Settings, if you want it.
Synthesis Spicetify adds Spotify / YouTube Music tabs to Spotify's search, plays the results, queues them with Spotify's own tracks and saves them to Spotify playlists (as silent local placeholder files). Installed per machine, never through Marketplace (its backup would carry it to every machine):
- install: post-install → Spotify: Synthesis, installer → Spicetify step → the
Synthesis substep (optional), or
spice→ Synthesis — install; - it downloads
synthesis-spicetify.jsfrom the latest tag intospicetify/Extensions/(.gitignore) and runs the repo'swisp_ondemand.py install: wisp-js (npm, pinned by Synthesis) in~/.local/share/synthesis-spicetify/, systemd user unitssynthesis-spicetify-wisp-proxy.socket/-proxy.service/-backend.serviceon127.0.0.1:6001, started on the first connection, stopped after 5 idle minutes. Needs python3, npm and Node.js 22.18+ (or 24.11+); without them search still works, playback doesn't; - then in Spotify: profile menu → Synthesis Spicetify settings → Enable
playback, pick the placeholder folder (e.g.
~/Music/Synthesis), Connection test; - update:
spice→ Update apps; remove:spice→ Synthesis — remove (the placeholder folder stays: playlists may hold its files); - saved tracks play only where the placeholder folder is a Local Files source and Synthesis is installed — sync the folder (Syncthing) to use them on another PC; phones can't play them.
- Packages (
scripts/install/packages.txt):spotify,spicetify-cli(withunzipfor Listening Stats' installer). On Ubuntu: Spotify from its apt repo (remove the flatpakcom.spotify.Clientif it's there), spicetify from its GitHub release. - Installer → Spicetify step:
- links
~/.config/spicetify(~/.config/matugencomes with Niri ecosystem → Dux shell config); - registers the git filter for
config-xpui.iniin this clone; - makes Spotify's folder writable for spicetify (sudo);
- installs
spicetify-reapplyand the pacman (Arch) or apt (Ubuntu) hook (sudo); - applies (
backup applyon an untouched Spotify); - installs Marketplace and Listening Stats.
- links
- Start Spotify, log in:
- Marketplace → Settings → Back up/Restore → Import from file →
Dotfiles/spicetify/marketplace-backup.json: installs every plugin from it; - profile menu → Import Spicy Lyrics settings →
Dotfiles/spicetify/spicy-lyrics-settings.json.
- Marketplace → Settings → Back up/Restore → Import from file →
- Change the wallpaper once: DMS writes
color.ini, Spotify takes the colors.
- Spotify is stock after an update —
spice→ Repair. The hook should have done it: installer → Spicetify step → the hook substep. git statusshowsconfig-xpui.inichanged, butgit diffis empty — the file only changed size (spicetify wrote a path);git add spicetify/config-xpui.iniclears it, nothing is staged.- Colors don't follow the wallpaper — setting the same wallpaper again
doesn't regenerate; pick another. A Spotify started before
dms-live.jswas on needs one restart.
Right now there is only fish shell aliases, but u can add shell scripts for other shells too using their functions
- Each alias is its own file in
scripts/functions/<func_name>.sh(one function per file) - You can run aliases by it's name in terminal (see below)
- You can run menu with all aliases by typing
asdin terminal and choose needed script - Every menu in the repo is one universal
menufunction (scripts/lib/helpers.sh). You pass it"Label|function"entries (optionally"Label|function|guard"to hide an entry unless the guard passes: a command name,distro:arch/distro:debian, ortest:<function>; join several with+). The label is decoupled from the function name, sopackage_commandscan show asSystem packages - A menu entry whose function calls
menuagain becomes a submenu with its own back button — that's howSystem packages(scripts/functions/system_packages.sh) opensSystem update/System upgrade - Adding an alias = drop a
scripts/functions/<name>.shfile defining its function, then add one"Label|<func>"line to themenucall inscripts/functions/alias_menu.sh - Shared path constants and includes (
DOTFILES_DIR,PRIVATE_DIR,CONFIG_DIR, the gum/print helpers, ...) live inscripts/lib/common.sh— source it instead of repeating paths
The two entry points sit at the repo root; everything else lives under scripts/:
Dotfiles/
install.sh # the installer MENUS only (sources the engine, then config_menu + first menu) (./install.sh)
post_install.sh # runs once after reboot: ./post_install.sh
systemd/user/ # user units linked into ~/.config/systemd/user by config steps (clipse-prune.timer)
etc/ # system files copied into /etc by config steps (udev hwdb keyboard fixes; iwlwifi 802.11ax off, by the `wifi` alias; spicetify-reapply + its pacman / apt hook; AppArmor profile for Postman's tarball on Ubuntu)
scripts/
lib/ # reusable helpers (no app-specific logic)
common.sh # path constants + sources lib/ (source this everywhere)
distro.sh # distro detection + package managers (pacman/yay/apt, flatpak, snap, PPAs)
paths.sh # paths that differ between distros (polkit, portals, sddm, fish, ...)
gum.sh # gum bootstrap + UI wrappers
helpers.sh # universal menu(), execute_*, create_symlink, package engine, system_update
fzf.sh # shared parts of the fzf pickers (modes, keys, footer) + fzf bootstrap
wrappers/ # launchers called from WM configs, resolve distro-specific paths (polkit, portals); git's filter for spicetify/config-xpui.ini; matugen's hooks (VS Code, Telegram, Obsidian, Zed themes); Chrome's launcher; clipse's history expiry (clipse-prune.sh)
install/
main.sh # installer ENGINE: sourcing + core-step functions + run_final_steps (no menus)
packages.txt # one line per package, works for both distros
fzf_picker.sh # fzf package picker (run on its own to try it: installs nothing)
fzf_config.sh # fzf config menu (run on its own: dry run)
system/ # system-level config functions: niri (+ Dux shell, plugins, greeter), hyprland, sddm, fingerprint, hwdb, gtk/bluetooth/polkit, xdg, flatpak, sources.sh (custom installers)
apps/ # per-app config functions: zen, kitty, fish, thunar, rofi, ... (ONE file per app)
functions/ # everyday shell aliases + alias_menu.sh (the `asd` menu)
sync/ # sync.sh: copies live configs back into Dotfiles (modules/ + sync_map.json, see below)
A script that needs its own folder (assets, a JSON config, ...) just gets a
subfolder under functions/ — the asd menu sources every *.sh recursively
and ignores everything else (so sync/sync_map.json is left alone).
Every menu is one universal menu function (scripts/lib/helpers.sh) fed
"Label|function[|guard]" entries. install.sh holds only the menus: it
sources the engine (install/main.sh), then declares config_menu and the first
menu, then calls run_final_steps. The first menu lists the core steps plus a
config_menu entry; picking it opens the config submenu (a function that calls
menu again, so it gets a back button automatically). Each config action is a
configure_* function in its own file under scripts/install/apps/ (or
system/); the engine sources them all. Want to change how an app is configured?
Edit its single file. Add a new one? Write configure_<name> in a file there and
add one line to config_menu in install.sh — the engine is never touched.
asd- Menu with all useful scripts by choosing from list:set-env <var_name> <var_value>- Set a new environment variable (writes toconfig.fish; with no args it asks viagum). Applied in the current shell right away, no restart neededdelete-env <var_name>- Delete an environment variable (with no args it lets you pick viagum). Removed from the current shell right awayset-java- Set Java environment variable with selection from existing java versions (check/usr/lib/jvm/)rain- Rain animation (if installedterminal-rainpackage)rain-float- Rain animation in mini floating window (if installedterminal-rainpackage)vim- open nvim on ide workspace and maximize window (if installedneovimpackage)Sync to Dotfiles(scripts/functions/sync/sync.sh) - menu of sync modules: Zen Sine mod settings, Dux shell state (dms/session.json), the files insync_map.json(sync-privateruns just the latter; see below)- 'System packages' - update / upgrade on both distros:
update- sync package lists (yay -Sy/apt update)upgrade- install all updates:yay -Syu/apt full-upgrade, plusflatpak update(asks before installing, like running them by hand)
- 'Image tools (gowall)' (
scripts/functions/gowall.sh, ifgowallis installed) - every gowall feature with a description before each one:gw- the menu;gw <image>- straight to editing that image- Edit an image: recolor to a theme, replace a color, invert, format, brightness/contrast/gamma/saturation, grayscale, flip/mirror, 3D tilt, pixel art, border/grid/round corners, resize, compress, AI upscale, remove background. Every change opens in
swayimgfirst: keep it, retry with other settings or drop it; changes stack, Undo goes back one. History lists every version of the session (dropped tries too) with what was done and an image preview in fzf; any of them can be opened, saved or continued from. Nothing reaches~/Pictures/gowalluntil Finish → Save (or Save and set as wallpaper through DMS, or copy to clipboard) - Also: the same change on many images (previewed on the first), stack images / make a GIF, OCR (image or PDF; local
tesseractcomes with the packages —tesseract-data-eng/-rus(Ubuntu:tesseract-ocr-eng/-rus), languageeng+rusfor both; other providers and keys: gowall docs), palette of an image, themes and their colors, color tools (blend, lighten/darken, variants, color wheel, gradient image), recolor an SVG/ICO icon, wallpaper of the day (the top r/wallpaper post of the day, read from the RSS feed like gowall's master does:gowall -win 0.2.4 gets 403 from Reddit) - Images come from the current wallpaper, the clipboard (a niri screenshot lands there), fzf over
~/Pictures(with a preview in kitty) or a typed path - Edits go through gowall's stdout; compress, upscale, stack, gif and bg write a temp file instead (they can't use stdout, or ask to download a model on the first run)
- Something missing (tesseract, its language, rsvg-convert, magick, ollama, …) → it says what to install, with this distro's package names. On Ubuntu gowall itself is the release binary in
/usr/local/bin(installer's package step)
defapps- 'Default apps' (scripts/functions/default_apps.sh): which app opens what; a menu with two parts. Every installed app is offered, also hidden ones (swayimg) and ones that don't claim the type (VS Code for text). Choices go to~/.config/mimeapps.list— the file DMS Settings → Default apps,xdg-open, the portals and dfiles read; "Ask every time (DMS chooser)" is DMS's own picker (dms-open)- Default apps — the roles DMS has (terminal, browser, file manager, text editor, image viewer, video, music, PDF, mail, calendar), each writing the same group of types DMS writes, so both show the same. Terminal has no file type: it goes first in
~/.config/xdg-terminals.list(read by DMS forTerminal=trueapps and byxdg-terminal-exec). The preview says what each role does and doesn't affect — e.g. "Show in folder" is theorg.freedesktop.FileManager1D-Bus service, not mimeapps.list - Terminal, browser and file manager follow niri: on every start
defappsreads their binds inniri/conf/binds.kdl(Mod+Return,Mod+B,Mod+E), finds the app each starts (by Exec, else by package:zen-browser→zen.desktop) and makes it the default everywhere — so editing a bind by hand carries over; what was taken is shown at the top. It also sets the bind's title to what it starts (Terminal (Alacritty)) and rewrites binds that run a command inside a terminal (Mod+V:kitty --class clipse -e 'clipse'→alacritty --class clipse -e 'clipse', class kept so window rules still match; kitty, alacritty, foot, wezterm). Window rules inniri/conf/rules.kdlandniri/conf/sensitive_rules.kdl(if there is one) cover the new app too: next to every match line of another app of the same kind (another terminal, browser, file manager) that matches by app-id alone goes a copy with the new app's app-id — a line with a title isn't copied (such rules match by title alone, see Window/Layer rules) — (taken from its open window vianiri msg windows, elseStartupWMClass, else the desktop id), rest of the line kept, and the comment above the rule gets the name added; nothing is added where a line already matches the new app (r#"(?i)chrome"#covers google-chrome), so switching back and forth changes nothing. The rules themselves match case-insensitive substrings (app-id=r#"(?i)obsidian"#,title=r#"(?i)santander"#), so a renamed app-id (Obsidian 1.15:md.obsidian.Obsidian) or a flatpak id still matches; only clipse is exact ((?i)^clipse$, it would catch Eclipse). Picking one of them indefappsrewrites that bind line in place (title and spawn; reverted ifniri validatefails). A role set to "Ask every time" stays, a bind can't ask.Mod+Cstays VS Code - File types — categories (Your extensions, Images, Text & code, Video, Audio, PDF & books, Office, Archives, Web & links, Folders, Calendar, All types) fold open with Enter/Tab; each row is one MIME type with its extensions and what opens it now: plain = chosen by you, gray
(system: …)= nobody chose, red✗ missing= the chosen app isn't installed,via= taken from the parent type (e.g. text/plain for .py) - Enter on a row picks its app; Space ticks rows (on a category: all of it) and Alt+Enter picks one app for the ticked ones, or for the whole category under the cursor. Ctrl-R resets to what the system picks
- Extensions come from shared-mime-info (
/usr/share/mime, updated by packages), read on every start — a package that adds a type shows up by itself. Your extensions → + Add extension handles the rest: an unknown extension gets its own type (application/x-<ext>) or opens like an existing one (.confas text/plain); a known one can be split off into its own type. Stored in~/.local/share/mime/packages/defapps.xml(thenupdate-mime-database); Ctrl-D removes one - Dotfiles: on exit
defappssaves this machine's choices todefapps/—mimeapps.list(only[Default Applications]; entries of apps not installed here, kept from another PC, stay) andxdg-terminals.list;defapps.xmllives there and the mime dir links to it. Changes made in DMS get saved on the nextdefappsrun. The installer step Default apps (defapps) puts them back: links the extensions (+update-mime-database), merges the saved defaults into~/.config/mimeapps.listfor the apps installed (lists the skipped ones, the rest of the file stays) and writes the terminal order - Ubuntu: flatpak apps are found right after the installer put them in (before the next login adds them to
XDG_DATA_DIRS), and a default saved under an app's Arch id finds its Ubuntu package or flatpak (vesktop.desktop↔dev.vencord.Vesktop.desktop, also Obsidian, Chrome's old flatpak, IntelliJ's snapintellij-idea-ultimate_intellij-idea-ultimate.desktop, and VS Code:com.microsoft.VSCode.desktop↔code.desktopof Microsoft's.deb— theDA_SAME_APPtable) and back. Telegram-based clients (iMe, Telegram's tarball) name their launcher after a hash of the binary's path (org.ime.desktop._<md5>.desktop), which changes with the home directory: a saved one of those finds this machine's launcher of the same client, sotg://works under another user name too
- Default apps — the roles DMS has (terminal, browser, file manager, text editor, image viewer, video, music, PDF, mail, calendar), each writing the same group of types DMS writes, so both show the same. Terminal has no file type: it goes first in
fonts- 'Fonts' (scripts/functions/fonts.sh): one interface font, one monospace font and the interface size, written to every place that keeps its own; the menu shows each place and ✓ / ✗ against the choice. Fonts are picked in fzf with a sample drawn in the font itself (kitty)- fontconfig (
fontconfig/fonts.conf→~/.config/fontconfig): whatsans-serif,serif,system-uiandmonospacemean — Electron apps, niri's hotkey overlay, alacritty, web pages and everything else that asks for a generic family - GTK (gsettings
font-name/document-font-name/monospace-font-name,gtk-font-nameinsettings.ini), Qt (qt5ct/,qt6ct/— every Qt app), DMS (fontFamily,monoFontFamilyindms/settings.json; it was "Fira Code", which isn't installed), Zen (font.name.*inzen-browser/user.js, on Zen's next start), kitty (font_family, reloaded at once), VS Code (editor and terminal font; an old flatpak install's settings under~/.var/appwhile there is no~/.config/Code) - The choice lives in the dotfiles (families in
fontconfig/fonts.conf, size inqt5ct.conf); the installer's Fonts step linksfontconfig/and writes GTK and VS Code from them. Telegram and Obsidian (Appearance → Font) keep their own, set them there — post-install's Obsidian and Telegram / iMe steps say which. The Fonts step first checks that the chosen families are installed and installs JetBrains Mono Nerd (ttf-jetbrains-mono-nerd) if it's missing — otherwise every place would name a font fontconfig quietly replaces
- fontconfig (
spice- 'Spotify (spicetify)' (scripts/functions/spicetify.sh), the whole setup: Spotify- Update apps — Marketplace and Listening Stats (and Synthesis where it's installed): installed → latest version, outdated ones preselected; runs each repo's official installer
- Synthesis — install on this machine / remove from it: YouTube Music and SoundCloud in Spotify, see Synthesis
- Repair — applies spicetify again:
backup applywhen Spotify is stock after an update (what the pacman / apt hook does), elseapply - Restore stock Spotify — removes spicetify (asks first), to see whether a problem is Spotify's or a plugin's; Repair puts it back
- Plugins and Spicy Lyrics settings aren't in the menu: they are exported / imported in Spotify itself (
spicetify/marketplace-backup.json,spicetify/spicy-lyrics-settings.json)
wifi- 'Wi-Fi' (scripts/functions/wifi.sh): the 802.11ax fix for Intel cards and the checks that found it; shows the card, whether 802.11ax is off (/sys/module/iwlwifi/parameters/disable_11ax), whether the fix is installed and the current link. Installs what it needs first (networkmanager,iw,pciutils,kmod)- Fix —
etc/modprobe.d/iwlwifi-no-11ax.confinto/etc/modprobe.d/(sudo; replaces the oldiwlwifi-m4a.conf), then offers to reload the driver now (Wi-Fi drops for a few seconds) instead of waiting for a reboot - Connection test — connects a saved network 8 times in a row and counts failures: the bug is intermittent, one success proves nothing
- Log — this boot's association lines from the kernel log: no
RX AssocRespafterassociate withmeans the AP ignores the request, before any password check - Remove the fix — once the router runs WPA2-PSK + AES; then run the connection test
- Fix —
sync.shlists the modules inmodules/(fzf menu, Space ticks several);sync.sh <name>...runs them without the menu. A newmodules/<name>.shwithSYNC_TITLE,SYNC_DESCandsync_moduleshows up on its ownzen- the settings of the Sine mods (only their ownprefs.jskeys) →zen-browser/sine-prefs.js; the mods themselves live inzen-browser/chrome(the profile'schromelinks there). The other way round isconfigure_zen(config menu): it linkszen-browser/*into the profile (chrome/as a whole), installs Sine with its officialupdater.sh(native package only — it asks for root for the bootloader in/opt) and writessine-prefs.jsback intoprefs.jsdms- the Dux shell state kept outsidesettings.json(wallpaper transition and cycling, lock screen / greeter layout) →dms/session.json, see Dux shell pluginsmap- the files insync_map.json(sync-privateruns just this one):- Sensitive profile data (Zen sessions, etc.) lives in a separate private repo (
~/Dotfiles-private), not here scripts/functions/sync/sync_map.jsonis an array of two kinds of entry:- file group:
{ "dest": "~/Dotfiles-private/zen-browser", "sources": ["fileA", "folderB", ...] }— files or folders (copied recursively),~and*globs supported - sqlite table:
{ "dest": "...", "sqlite": "~/.../places.sqlite", "table": "zen_bookmarks_workspaces" }— backs up just one table (dumped to<table>.sql) instead of the whole DB - an optional
"comment"field per object is ignored
- file group:
- Run
sync-private(or pick it from theasdmenu) to sync into the private repo, then commit/push it (needsjq; sqlite entries needsqlite3). Files that already exist in a dest are shown in one gum selection, all pre-selected — unselect the ones you want to keep instead of overwriting
| Keybinding | App |
|---|---|
Mod+Return |
Kitty (Terminal) |
Mod+B |
Zen Browser (Browser) |
Mod+E |
Nautilus (File Explorer) |
Mod+C |
VSCode |
Mod+N |
Obsidian (Notes) |
Mod+M |
Spotify (Music) |
Mod+Shift+T |
iMe (Telegram client) |
Mod+D |
Vesktop (Discord client) |
Mod+V |
Clipse (Clipboard) |
These live in niri/dms/binds.kdl, which DMS writes itself (Settings → Keybinds) and which niri/config.kdl includes after conf/binds.kdl — so for the same key DMS wins. The rofi / Hyprlock / Wlogout / volume binds it replaced are kept commented out in conf/binds.kdl.
| Keybinding | Action |
|---|---|
Alt+Space |
Application Launcher |
Ctrl+Space |
Switch Windows (Niri Windows) |
Mod+Comma |
Settings |
Mod+L |
Lock Screen |
Mod+Shift+L |
Power Menu |
Mod+Shift+M |
Task Manager |
Mod+Shift+N |
Notepad |
Mod+Shift+W |
Browse Wallpapers |
Mod+Alt+W |
Wallpaper Carousel |
Mod+Shift+/ |
Keybinds Cheatsheet |
XF86AudioRaiseVolume |
Volume +5% |
XF86AudioLowerVolume |
Volume -5% |
XF86AudioMute |
Toggle Mute |
XF86AudioMicMute |
Toggle Mic Mute |
XF86MonBrightnessUp |
Brightness +5% |
XF86MonBrightnessDown |
Brightness -5% |
Mod+XF86AudioRaiseVolume |
Media: Next Track |
Mod+XF86AudioLowerVolume |
Media: Previous Track |
Mod+XF86AudioMute |
Media: Play / Pause |
| Keybinding | Action |
|---|---|
Mod+Q |
Close Window |
Mod+R |
Switch Preset Column Width (50/100 %) |
Mod+Shift+R |
Switch Preset Window Height (50/100 %) |
Mod+Ctrl+R |
Reset Window Height |
Mod+F |
Maximize Column |
Mod+Ctrl+Shift+F |
Toggle Windowed Fullscreen (fake) |
Mod+Shift+F |
Fullscreen Window |
Mod+Ctrl+F |
Expand Column to Available Width |
Mod+Tab |
Focus Previous Window |
Mod+Left |
Focus Left Window |
Mod+Right |
Focus Right Window |
Mod+Shift+Left |
Move Window Left |
Mod+Shift+Right |
Move Window Right |
Mod+Shift+Down |
Move Window to Workspace Down |
Mod+Shift+Up |
Move Window to Workspace Up |
Mod+G |
Toggle Column Tabbed (Group) |
Mod+Shift+G |
Consume window into group |
Mod+Ctrl+G |
Expel window from group |
Mod+T |
Toggle Window Floating |
Mod+Minus |
Window Width -10% |
Mod+Equal |
Window Width +10% |
Mod+Shift+Equal |
Window Height +10% |
Mod+Shift+Minus |
Window Height -10% |
Mod+Shift+TouchpadScrollLeft |
Window width +5% |
Mod+Shift+TouchpadScrollRight |
Window width -5% |
Mod+Shift+TouchpadScrollUp |
Window height +5% |
Mod+Shift+TouchpadScrollDown |
Window height -5% |
| Keybinding | Action |
|---|---|
Mod+O |
Toggle Overview |
Mod+Down |
Switch Workspace Down |
Mod+Up |
Switch Workspace Up |
Mod+Ctrl+Down |
Move Workspace Down |
Mod+Ctrl+Up |
Move Workspace Up |
Mod+Shift+Page_Up |
Move Workspace to Monitor Up |
Mod+Shift+Page_Down |
Move Workspace to Monitor Down |
Mod+[1-9] |
Focus Workspace [1-9] |
Mod+Ctrl+[1-9] |
Move Column to Workspace [1-9] |
| Keybinding | Action |
|---|---|
Mod+Shift+S |
Screenshot (Ctrl+C to copy) |
Mod+Shift+End |
Screenshot Screen |
Mod+End |
Screenshot Window |
Mod+Backspace |
Pick Window for Screencast |
Mod+Shift+Backspace |
Pick Monitor for Screencast |
Mod+Alt+Backspace |
Clear Dynamic Screencast |
Mod+TouchpadScrollDown |
Volume -2% |
Mod+TouchpadScrollUp |
Volume +2% |
Mod+Shift+P |
Power Off Monitors |
