diff --git a/home/desktop/niri.nix b/home/desktop/niri.nix index 7d421cc..c081a86 100644 --- a/home/desktop/niri.nix +++ b/home/desktop/niri.nix @@ -95,6 +95,22 @@ in draw-border-with-background = true; clip-to-geometry = true; } + { + matches = [ + { + app-id = "google-chrome"; + title = "^Picture-in-Picture$"; + } + ]; + open-floating = true; + default-column-width = { fixed = 480; }; + default-window-height = { fixed = 270; }; + default-floating-position = { + x = 32; + y = 32; + relative-to = "bottom-left"; + }; + } ]; # Vim Keybindings & Built-in Features diff --git a/home/jashton.nix b/home/jashton.nix index c002a56..92ea177 100644 --- a/home/jashton.nix +++ b/home/jashton.nix @@ -271,7 +271,6 @@ in $DRY_RUN_CMD mkdir -p $HOME/school ''; }; - home.stateVersion = "26.05"; # DO NOT CHANGE } diff --git a/home/programs/layout.custom.h b/home/programs/layout.custom.h index 97ba6a8..802d23d 100644 --- a/home/programs/layout.custom.h +++ b/home/programs/layout.custom.h @@ -1172,9 +1172,9 @@ static struct key keys_landscape_special[] = { {"\\", "|", 1.0, Code, KEY_BACKSLASH, .scheme = 1}, {";", ":", 1.0, Code, KEY_SEMICOLON, .scheme = 1}, {"'", "\"", 1.0, Code, KEY_APOSTROPHE, .scheme = 1}, - {"/", ">", 1.0, Code, KEY_SLASH, .scheme = 1}, {",", "<", 1.0, Code, KEY_COMMA, .scheme = 1}, - {".", ">", 1.0, Code, KEY_DOT, .scheme = 1}, + {".", ">", 1.0, Code, KEY_SLASH, .scheme = 1}, + {"/", "?", 1.0, Code, KEY_SLASH, .scheme = 1}, {"", "", 0.0, EndRow}, @@ -1183,7 +1183,6 @@ static struct key keys_landscape_special[] = { {"↓", "↓", 1.25, Code, KEY_DOWN, .scheme = 1}, {"←", "←", 1.25, Code, KEY_LEFT, .scheme = 1}, {"→", "→", 1.25, Code, KEY_RIGHT, .scheme = 1}, - {"/", "?", 1.0, Code, KEY_SLASH, .scheme = 1}, {"⌫", "⌫", 3.0, Code, KEY_BACKSPACE, .scheme = 1}, {"", "", 0.0, EndRow}, diff --git a/system/packages.nix b/system/packages.nix index 670fa6c..b468e21 100644 --- a/system/packages.nix +++ b/system/packages.nix @@ -24,6 +24,7 @@ mypy networkmanagerapplet nitrogen + ollama pasystray picom pulseaudioFull diff --git a/test b/test deleted file mode 100755 index 9efd9a3..0000000 --- a/test +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# Adjust this path to wherever dank-material-shell drops its color file -THEME_CACHE="$HOME/.cache/DankMaterialShell/dms-colors.json" - -if [ -f "$THEME_CACHE" ]; then - # Parse hex tokens directly out of the active shell profile - BG=$(jq -r '.["colors"]["dark"]["background"]' "$THEME_CACHE" | tr -d '#') - FG=$(jq -r '.["colors"]["dark"]["surface_container_lowest"]' "$THEME_CACHE" | tr -d '#') - TXT=$(jq -r '.["colors"]["dark"]["on_background"]' "$THEME_CACHE" | tr -d '#') - PRIMARY=$(jq -r '.["colors"]["dark"]["surface_container_lowest"]' "$THEME_CACHE" | tr -d '#') - ON_PRIMARY=$(jq -r '.["colors"]["dark"]["on_background"]' "$THEME_CACHE" | tr -d '#') - - echo -e "BG: $BG\nFG: $FG\nText: $TXT\nFG-Special: $PRIMARY\nText-Special: $ON_PRIMARY\n" - - wvkbd-mobintl --hidden --bg "$BG" --press "$BG" --fg "$FG" --text "$TXT" --fg-sp "$PRIMARY" --text-sp "$ON_PRIMARY" -L 300 -else - # Default fallback if the shell cache isn't built yet - wvkbd-mobintl --hidden -fi