Commits
Commits on
0c8c81ea97aabcb388021cdc1707ef4e4fa377bf2026-07-30
feat(niri): log in on a plain workspace, not "code"Ahmet Kaan Gümüş · 0c8c81e
feat(niri): log in on a plain workspace, not "code" The eight declared `workspace "name"` nodes are all created on the first output niri connects (HDMI-A-1, 14ms before DP-1), and niri makes the first declared one active there — so the second monitor logged in showing "code". workspace_startup.sh focuses the first plain workspace on every output, then hands focus back to the focus-at-startup output. `empty-workspace-above-first` puts that plain workspace at index 1 so it sits above the named block and waybar labels it 1 rather than 9. Both are needed. The option alone was tested by relogin and still comes up on "code" — it creates the workspace but never focuses it. It also shifts every Mod+<N> by one, which is accepted.
refactor(niri): declare app workspaces, drop reaperAhmet Kaan Gümüş · 09f9724
refactor(niri): declare app workspaces, drop reaper The app workspaces were named at runtime and workspace_reaper.sh un-named them once empty so niri would reap them. That daemon died mid-session: it ran a 4-fork reap() inline inside `while read` off `niri msg -j event-stream`, an event burst outran it, and niri disconnected the client for "reading events too slowly" — pipe EOF, script exit, no restart. The session then ran unreaped and left `github` named, empty and immortal. Declare the eight workspaces instead. Immortal is the point: nothing has to create, name or clean them, so "is the app running" is just "does its workspace hold a window" — one stateless query per keypress, no daemon, no marker files, no reaper to die. The empty-workspace objection that blocked this design was already moot: workspace_nav.sh filters `.name == null`, so number and directional navigation skip named workspaces, and waybar runs niri/workspaces with current-only. They show up in the overview only. No open-on-output — KDL has no variables and monitor names are kept to the `output` blocks. An explicit move-workspace-to-monitor updates a named workspace's original output, so nothing snaps back on the config reload that every wallpaper change triggers.
chore(shell,tools): freeze fish theme, WebGpu in wezterm, mpv for videoAhmet Kaan Gümüş · 15197df
chore(shell,tools): freeze fish theme, WebGpu in wezterm, mpv for video fish: conf.d/fish_frozen_theme.fish and fish_frozen_key_bindings.fish pin theme and bindings, so the SETUVAR color/binding entries leave fish_variables. ~/.local/bin added to PATH. herdr completions. wezterm: front_end = WebGpu. blink.cmp: version "1.*" instead of building the Rust matcher locally. mimeapps: video/* back to mpv from Showtime. btop 1.4.7 config keys; new bottom config.
feat(theming): widen the gtk4 template, theme GTK2 via gtkrcAhmet Kaan Gümüş · e2bfda4
feat(theming): widen the gtk4 template, theme GTK2 via gtkrc gtk4.css template covers many more libadwaita widget classes so wallust colors reach apps that were still stock. theme_colors.sh now rewrites ~/.gtkrc-2.0: forces gtk-theme-name=Raleigh (no pixmap engine, so our colors show) and moves the .mine include last so it wins. Dropped the mix() resolver — the templates emit literals now. qt5ct/qt6ct: window geometry only.
fix(hyprland/scripts): drop swapactiveworkspaces, add monitors-on menuAhmet Kaan Gümüş · 061438f
fix(hyprland/scripts): drop swapactiveworkspaces, add monitors-on menu show_desktop.sh: swapactiveworkspaces moved the wrong workspace when the two monitors were not both occupied. Focus each monitor and switch its workspace explicitly, and handle the single-monitor case. toggle_monitors.sh: the menu could only turn outputs off. HDMI-A-1 uses `keyword monitor disable/enable` rather than dpms, which dpms cannot undo.
chore(hyprland): comment out laptop lid binds, sync startupAhmet Kaan Gümüş · d71498e
chore(hyprland): comment out laptop lid binds, sync startup This is the desktop — no eDP-1, no touch device, so the lid switch binds and the touchdevice keyword were dead. Kept commented for the Zenbook. Startup gains song_detail_writer.sh and kdeconnect-indicator, matching the niri config. New hyprpaper wallpaper.
refactor(song-detail): one writer daemon, consumers read a fileAhmet Kaan Gümüş · efb4b86
refactor(song-detail): one writer daemon, consumers read a file song_detail.sh ran once per tick per consumer (eww, waybar, hyprlock) — three playerctl spawns a second. song_detail_writer.sh runs once and writes /tmp/song_detail_last; consumers cat/tail it instead.
feat(niri): drop client titlebars, disable hot cornersAhmet Kaan Gümüş · 192cda9
feat(niri): drop client titlebars, disable hot corners
prefer-no-csd asks clients to omit their own decorations, so niri's 2px
border is the only frame. Only reaches xdg-decoration clients (chromium,
mpv, alacritty, wezterm-gui, Qt6); GTK and Firefox keep their headerbars.
Costs the edge resize handles — Mod+right-drag still resizes.
hot-corners { off } — the top-left corner is active by default. `off`
must be a child node; `hot-corners off` is a KDL parse error.
Also: hotkey-overlay skip-at-startup, and the wallust gradient line.2026-07-29
feat(niri): make Mod+Up/Down vertical, matching Left/Right being horizontalAhmet Kaan Gümüş · ca95dd4
feat(niri): make Mod+Up/Down vertical, matching Left/Right being horizontal Left/Right move between columns, but Up/Down only moved inside a column, which does nothing when the column holds a single window. niri stacks workspaces vertically, so vertical motion should continue into them. workspace_nav.sh gains up/down and move-up/move-down: try the in-column move first, and if the focused window's row did not change, fall through to the workspace above/below — still skipping the named app workspaces. Comparing the row before and after is simpler and less brittle than reimplementing niri's column arithmetic. Mod+J/K keep the strictly in-column behaviour. Verified with a two-window column: down goes row 1 -> row 2, a second down crosses to the next plain workspace, and up returns to row 2 of that column.
feat(niri): app workspaces disappear when emptyAhmet Kaan Gümüş · 182dcbc
feat(niri): app workspaces disappear when empty A declared `workspace "name"` node in config.kdl is immortal, so all eight app workspaces sat there permanently even though each is reachable by its own keybind. The declarations are gone; workspaces are now named at launch and un-named once empty, after which niri reaps them. - workspace_app.sh claims the trailing empty workspace of the focused monitor, names it, and launches there. Existing workspace -> focus only, no duplicate. --move creates it on demand so Mod+Shift+<letter> keeps working. - workspace_reaper.sh follows `niri msg event-stream` and un-names any empty app workspace. Sweeps once at startup too, for leftovers from a previous session or a config reload. - app_workspaces.sh holds the name list, so only these are ever un-named and a hand-named workspace is left alone. Two races found by testing, both fixed: - a freshly named workspace is empty until the app maps its window, and was being un-named in that gap. A marker file protects it; the marker is dropped as soon as the workspace holds a window, so later emptiness reaps at once. A plain timer failed here: closing the app during the timer meant that close event was skipped and nothing retried. - niri emits WindowOpenedOrChanged (singular) on map, while WindowsChanged (plural) is only the bulk snapshot. The narrow event filter missed the moment a workspace became populated, so the marker was never cleared. Now matches *Window*|*Workspace*. Also note `unset-workspace-name` takes its reference POSITIONALLY, unlike set-workspace-name (--workspace) and move-workspace-to-monitor (--reference).
fix(wallust): drop !important from the gtk3 templateAhmet Kaan Gümüş · b4b2a3c
fix(wallust): drop !important from the gtk3 template GTK's CSS subset does not accept !important, so all six occurrences produced "Junk at end of value" / "'' is not a valid color name" parse errors in every GTK3 app that loaded ~/.config/gtk-3.0/gtk.css (visible in waybar's log). A parse error drops the whole declaration, so the scale highlight/progress and scale marks rules were never applied — the keyword meant to force them was the reason they did nothing. Verified: regenerated gtk.css has no !important, and waybar starts with 0 theme parsing errors (was 6). Note this commit also carries pre-existing uncommitted work in the same file.
feat(waybar): niri config with the niri modulesAhmet Kaan Gümüş · b439808
feat(waybar): niri config with the niri modules The shared waybar config uses hyprland/workspaces and hyprland/window, which do nothing under niri — the bar was up but those modules were inert, so the workspace indicator and window title were missing. config-niri is the same config with those two swapped for niri/workspaces and niri/window (waybar 0.15 has both). "active-only" does not exist on the niri module; "current-only" is the equivalent. style.css is shared unchanged — its selectors (#workspaces button) are module-agnostic. niri starts waybar with -c config-niri, and the niri wallpaper picker passes the same flag when it restarts the bar. Hyprland keeps using ./config.
feat(niri): hide app workspaces from number and directional navigationAhmet Kaan Gümüş · d8992e1
feat(niri): hide app workspaces from number and directional navigation The named app workspaces (code, github, ...) shared niri's per-output index space, so Mod+3 could land on "discord" and Mod+U/PageDown/wheel walked through them. They are meant to be reachable only by their own Alt+<letter> binds. scripts/niri/workspace_nav.sh indexes the PLAIN (unnamed) workspaces of the focused output instead, and all of Mod+1..0, Mod+Shift+1..0, Mod+Ctrl+1..9, Mod+U/I, Mod+Page_Up/Down and Mod+[Ctrl+]WheelScroll now route through it. N past the end clamps to the last plain workspace; niri always keeps one empty unnamed workspace per output, so a target always exists. Verified on HDMI-A-1 with named workspaces at idx 2-6: `focus 1`/`focus 2` hit idx 1 and 7, and next/prev jump 1 <-> 7 without stopping in between. niri's own move-workspace-down/up stay native on Mod+Shift+U/I and Mod+Shift+Page_Up/Down, since those reorder the list rather than navigate it.
fix(niri): app workspaces stay on the monitor they were launched onAhmet Kaan Gümüş · 30226ea
fix(niri): app workspaces stay on the monitor they were launched on Pressing Alt+G once the app is running now moves focus to that monitor, instead of dragging the workspace onto whichever monitor is focused. Only an empty (never-used) workspace is moved, so the first launch still happens where you are and the workspace homes itself there.
refactor(niri): trim the config and pull hardcoded values into scriptsAhmet Kaan Gümüş · 3fdedf2
refactor(niri): trim the config and pull hardcoded values into scripts config.kdl goes 804 -> 374 lines by dropping niri's stock tutorial comments and inert blocks (shadow with `on` commented out, focus-ring colors under an `off` block, an empty hotkey-overlay, the /- disabled eDP-1 output and two /- window rules). Sections are grouped and only decisions specific to this setup are commented. Verified behaviour-preserving: same 108 binds, and a diff of comment-stripped lines shows only overlay-title wording, alignment, and the substitutions below. De-hardcoding, as far as KDL allows — it has no variables, so output names cannot be parameterised: - scripts/shared/webapp.sh builds the Chromium web-app command from a URL and profile id, deriving the window class as chrome-<host>__-Default the way Chromium does. Replaces four near-identical 400-character bind lines. Dry-run compared against the originals: byte-identical, mullvad-exclude included where it was. - scripts/niri/monitors.sh defines LEFT_MONITOR / RIGHT_MONITOR, sourced by toggle_monitors.sh, whose rofi entries are now generated from them. - no more /home/tahinli in the config: absolute `spawn` paths became `spawn-sh` with ~, which the shell expands. Output names now appear only in the two `output` blocks and the four monitor binds, with a summary at the top of the file.
feat(niri): add full width to the Mod+R preset cycleAhmet Kaan Gümüş · b5dcf5c
feat(niri): add full width to the Mod+R preset cycle New windows open at proportion 1.0, so without 1.0 in the presets a single Mod+R dropped a window to 1/3 with no way to cycle back.
fix(niri): make the wallust border gradient actually track the wallpaperAhmet Kaan Gümüş · 3eb761e
fix(niri): make the wallust border gradient actually track the wallpaper The hook read ~/.cache/wallust/sequences, but the picker runs `wallust run -qs` and -s skips writing that file — so it froze at whatever palette was current when it was last written, and the border silently re-applied stale colors on every wallpaper change. Colors now come from a wallust template, which regenerates on every run. ~/.config/wallust uses per-file symlinks rather than a directory symlink, so the new template also needs one in ~/.config/wallust/templates/ to be visible to wallust at all. Also: - draw the border AROUND windows (draw-border-with-background false). niri uses the border as the window background by default, which is invisible behind an opaque window, so the border never showed up. - geometry-corner-radius 12 + clip-to-geometry, so the border follows the rounded corners GTK4/libadwaita apps draw for themselves. - interpolate in "oklch" instead of "oklch longer hue". The long arc walked 290 degrees around the hue wheel and put blue, cyan and green in the middle of a pink-to-gold gradient. Note: fullscreen windows have no border at all, and unfocused ones show only the flat inactive color.
feat(niri): port Hyprland setup to niriAhmet Kaan Gümüş · d068d19
feat(niri): port Hyprland setup to niri Outputs, startup, input, look, binds, app workspaces and window rules translated from hyprland.conf. Hyprland config and scripts are untouched; both compositors stay usable side by side. niri-specific scripts under .config/scripts/niri: - workspace_app.sh emulates on-created-empty (niri has none) and pulls the named workspace to the focused monitor before launching - toggle_monitors.sh drives `niri msg output`; niri has no per-output DPMS - wallpaper_picker.sh + wallpaper_restore.sh use awww instead of hyprpaper, which needs Hyprland's IPC socket - show_desktop.sh sends every output to an empty unnamed workspace - wallust_niri_colors.sh rewrites the border gradient in place, since niri has no include directive mpv: keepaspect-window=no. mpv derives height from the width it is given and ignores the compositor's configured height, so under niri the window outgrew its tile and pushed the OSC controls off screen. Hyprland forced the geometry instead. Compositor-neutral change. Dropped, no niri equivalent: tearing (allow_tearing / immediate), 10-bit output, scratchpad workspace, swapactiveworkspaces, dwindle-specific binds.
2026-04-10
fix: resolve mix() for Flatpak GTK4 apps and add explicit widget rulesAhmet Kaan Gümüş · 3ed98cc
fix: resolve mix() for Flatpak GTK4 apps and add explicit widget rules Flatpak libadwaita 1.8 ignores @define-color overrides, requiring explicit CSS rules. Also pre-compute mix() values in hook script for cross-runtime compatibility. Rename qt_colors.sh to theme_colors.sh.
2026-04-07
feat: wallpaper picker, wallust theming, waybar improvementsAhmet Kaan Gümüş · 605b23b
feat: wallpaper picker, wallust theming, waybar improvements - Add rofi wallpaper picker with thumbnail grid (Super+W) - Integrate wallust for wallpaper-based color theming - Add collapsible tray with hamburger menu - Update hyprland config: split workspaces, monitor variables, tearing support - Improve song_detail with sticky player preference to prevent flickering - Add toggle_monitors and wallust_run scripts
2026-04-03
feat: ✨ dual monitor setup, nvim improvements, and config updatesAhmet Kaan Gümüş · 6529437
feat: ✨ dual monitor setup, nvim improvements, and config updates Multi-monitor keybindings and show_desktop script for hyprland, marksman LSP and render-markdown plugin for nvim, format-on-save, web apps via ungoogled chromium, and misc config refreshes across btop, rofi, fish, and hyprpaper.