diff --git a/SETUP.md b/SETUP.md new file mode 100644 index 0000000..b30c994 --- /dev/null +++ b/SETUP.md @@ -0,0 +1,96 @@ +# Setup after pulling (Arch) + +Everything needed to bring the Cursor Dark theme up on a machine that has just +pulled these changes. + +## 1. Packages + +```sh +sudo pacman -S --needed papirus-icon-theme ttf-nerd-fonts-symbols-mono +``` + +| Package | Why | +| --- | --- | +| `papirus-icon-theme` | rofi, dunst and the GTK configs all reference `Papirus-Dark` | +| `ttf-nerd-fonts-symbols-mono` | the tmux status bar uses powerline separators (U+E0B0–E0B3), and `kitty.conf` maps that range to `Symbols Nerd Font Mono` | + +Not in the repos: **Berkeley Mono** (`kitty.conf`) and **Hack JBM Ligatured** +(waybar, rofi, hyprlock) are installed by hand. + +## 2. Deploy + +```sh +cd ~/.dotfiles +stow fish kitty tmux nvim hypr waybar rofi dunst gtktheme +``` + +> The README suggests `stow *`, which now also picks up `SETUP.md`. +> Use `stow */` or an explicit list. + +## 3. Reload + +```sh +# fish - close every running fish session BEFORE pulling (see notes) +exec fish + +# tmux - plugins now bootstrap themselves, no prefix+I needed +tmux kill-server && tmux + +# nvim - installs vscode.nvim, drops everforest +nvim --headless "+Lazy! sync" +qa + +# desktop +hyprctl reload +killall -SIGUSR2 waybar +killall dunst # respawns via dbus +``` + +kitty: `ctrl+shift+F5` to reload, or restart it. rofi has no daemon. + +## 4. GTK theme + +The configs are set to `Orchis-Dark-Compact` (Material Design, accent `#1A73E8`). + +```sh +sudo pacman -S orchis-theme xdg-desktop-portal-gtk +``` + +libadwaita ignores `gtk-theme-name`, so GTK4 apps also need the portal settings +and Orchis' own GTK4 stylesheet linked in: + +```sh +gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' +gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark' +gsettings set org.gnome.desktop.interface gtk-theme 'Orchis-Dark-Compact' + +mkdir -p ~/.config/gtk-4.0 +ln -sf /usr/share/themes/Orchis-Dark-Compact/gtk-4.0/gtk.css ~/.config/gtk-4.0/gtk.css +ln -sf /usr/share/themes/Orchis-Dark-Compact/gtk-4.0/assets ~/.config/gtk-4.0/assets +``` + +### Window buttons + +Both `settings.ini` files set `gtk-decoration-layout=close,minimize,maximize:` +— everything left of the `:` sits on the **left**, which is macOS placement and +order. That is client-side decoration, so it is all Hyprland apps use. + +Orchis' `--tweaks macos` is **not** useful here: it only replaces `xfwm4` and +`metacity-1` assets (Xfce / Marco window managers) and touches no GTK CSS, so it +would change nothing under Hyprland — and it requires building from source, +giving up the packaged theme. Circular red/yellow/green buttons are not +available from Orchis for GTK client-side decorations. + +## Notes + +- **fish universal variables.** The colours live in `fish/.config/fish/fish_variables`, + which fish rewrites from memory whenever any universal variable changes. Close + running fish sessions before pulling so an old session can't write the previous + palette back over it. +- **`cat` is broken on Arch.** `config.fish` defines `cat` as `batcat …`, which is + the Debian binary name. Arch's `bat` package installs `/usr/bin/bat`. Either + `sudo pacman -S bat` and rename the call, or add an alias. +- **nwg-look overwrites GTK config.** It regenerates `.gtkrc-2.0` and the + `settings.ini` files. Run it *before* editing these by hand, or re-apply after. +- **`gtktheme/.gtkrc-2.0` line 4** includes `/home/n0x/.gtkrc-2.0.mine`, a stale + path from a previous username. Harmless, but dead. +- **`~/.tmux/plugins/nord-tmux`** is no longer used or tracked. Safe to delete. diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index 3e7232a..ac3f839 100644 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -201,7 +201,7 @@ enable_recursive_icon_lookup = true # Set icon theme (only used for recursive icon lookup) - icon_theme = Nordzy-green-dark + icon_theme = Papirus-Dark # You can also set multiple icon themes, with the leftmost one being used first. # icon_theme = "Adwaita, breeze" diff --git a/gtktheme/.config/gtk-3.0/settings.ini b/gtktheme/.config/gtk-3.0/settings.ini index 8f7f85d..cca6ce5 100644 --- a/gtktheme/.config/gtk-3.0/settings.ini +++ b/gtktheme/.config/gtk-3.0/settings.ini @@ -1,6 +1,6 @@ [Settings] -gtk-theme-name=Everforest-Teal-Dark -gtk-icon-theme-name=Everforest-Light +gtk-theme-name=Orchis-Dark-Compact +gtk-icon-theme-name=Papirus-Dark gtk-font-name=Noto Sans 11 gtk-cursor-theme-name=default gtk-cursor-theme-size=24 diff --git a/gtktheme/.config/gtk-4.0/settings.ini b/gtktheme/.config/gtk-4.0/settings.ini index 1d0c83f..e1dd3fa 100644 --- a/gtktheme/.config/gtk-4.0/settings.ini +++ b/gtktheme/.config/gtk-4.0/settings.ini @@ -1,7 +1,9 @@ [Settings] -gtk-theme-name=Everforest-Teal-Dark -gtk-icon-theme-name=Everforest-Light +gtk-theme-name=Orchis-Dark-Compact +gtk-icon-theme-name=Papirus-Dark gtk-font-name=Noto Sans 11 gtk-cursor-theme-name=default gtk-cursor-theme-size=24 gtk-application-prefer-dark-theme=1 +# macOS-style button placement (all on the left), matching gtk-3.0 +gtk-decoration-layout=close,minimize,maximize: diff --git a/gtktheme/.gtkrc-2.0 b/gtktheme/.gtkrc-2.0 index 8dddf1e..c5a5e3a 100644 --- a/gtktheme/.gtkrc-2.0 +++ b/gtktheme/.gtkrc-2.0 @@ -2,8 +2,8 @@ # Any customization should be done in ~/.gtkrc-2.0.mine instead. include "/home/n0x/.gtkrc-2.0.mine" -gtk-theme-name="Everforest-Teal-Dark" -gtk-icon-theme-name="Everforest-Light" +gtk-theme-name="Orchis-Dark-Compact" +gtk-icon-theme-name="Papirus-Dark" gtk-font-name="Noto Sans 11" gtk-cursor-theme-name="default" gtk-cursor-theme-size=24 diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index 6625f11..93539c1 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -6,7 +6,7 @@ configuration { modi: "combi,run,drun"; show-icons: true; - icon-theme: "Nordzy-green-dark"; + icon-theme: "Papirus-Dark"; } @theme "/dev/null"