From 4376d18b552dc751c20bf7176ad5291e2fb36e8e Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Thu, 18 Sep 2025 21:33:34 +0200 Subject: [PATCH] make new dots work --- .config/hypr/hyprland.conf | 6 +- .config/illogical-impulse/config.json | 285 ++++++++++++++++++++++++++ .config/quickshell | 2 +- configuration.nix | 4 + dots-hyprland | 2 +- fast-copy.sh | 3 + home.nix | 2 +- 7 files changed, 299 insertions(+), 5 deletions(-) create mode 100644 .config/illogical-impulse/config.json diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 2c91046..5cbf15f 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -77,9 +77,9 @@ exec-once = swww-daemon # "$(cat ~/.local/state/quickshell/user/generated/wallpaper/path.txt)" exec-once = sleep 0.5; swww img ~/.config/hypr/wallpapers/sunflowers.jpg --transition-step 100 --transition-fps 120 --transition-type grow --transition-angle 30 --transition-duration 1 # exec-once=waybar -exec-once=quickshell +exec-once=quickshell -c ii exec-once=blueman-applet -exec-once=dunst +# exec-once=dunst exec-once=udev-block-notify #exec-once=~/.config/hypr/scripts/sleep.sh exec-once=echo us > /tmp/kb_layout @@ -269,6 +269,8 @@ windowrule=tile,title:*vivaldi* # can be more specific (:bar, :mediaControls, etc) layerrule = blur, quickshell:bar layerrule = ignorealpha .2, quickshell:bar +layerrule = blur, quickshell:popup +layerrule = ignorealpha .2, quickshell:popup layerrule = blur, quickshell:overview layerrule = blurpopups, quickshell:overview layerrule = ignorealpha .2, quickshell:overview diff --git a/.config/illogical-impulse/config.json b/.config/illogical-impulse/config.json new file mode 100644 index 0000000..d51902f --- /dev/null +++ b/.config/illogical-impulse/config.json @@ -0,0 +1,285 @@ +{ + "ai": { + "extraModels": [ + { + "api_format": "openai", + "description": "This is a custom model. Edit the config to add more! | Anyway, this is DeepSeek R1 Distill LLaMA 70B", + "endpoint": "https://openrouter.ai/api/v1/chat/completions", + "homepage": "https://openrouter.ai/deepseek/deepseek-r1-distill-llama-70b:free", + "icon": "spark-symbolic", + "key_get_link": "https://openrouter.ai/settings/keys", + "key_id": "openrouter", + "model": "deepseek/deepseek-r1-distill-llama-70b:free", + "name": "Custom: DS R1 Dstl. LLaMA 70B", + "requires_key": true + } + ], + "systemPrompt": "Use casual tone. Be brief and concise: When explaining concepts, use bullet points (prefer minus sign (-) over asterisk (*)) and highlight keywords in bold to pinpoint the main concepts instead of long paragraphs. User uses NixOS and is knowledgable in rust and web development.", + "tool": "functions" + }, + "appearance": { + "extraBackgroundTint": true, + "fakeScreenRounding": 0, + "palette": { + "type": "auto" + }, + "transparency": { + "automatic": true, + "backgroundTransparency": 0.11, + "contentTransparency": 0.57, + "enable": true + }, + "wallpaperTheming": { + "enableAppsAndShell": true, + "enableQtApps": true, + "enableTerminal": true, + "terminalGenerationProps": { + "forceDarkMode": false, + "harmonizeThreshold": 100, + "harmony": 0.6, + "termFgBoost": 0.35 + } + } + }, + "apps": { + "bluetooth": "kcmshell6 kcm_bluetooth", + "network": "plasmawindowed org.kde.plasma.networkmanagement", + "networkEthernet": "kcmshell6 kcm_networkmanagement", + "taskManager": "plasma-systemmonitor --page-name Processes", + "terminal": "kitty -1" + }, + "audio": { + "protection": { + "enable": true, + "maxAllowed": 90, + "maxAllowedIncrease": 10 + } + }, + "background": { + "clockX": -500, + "clockY": -500, + "fixedClockPosition": false, + "hideWhenFullscreen": true, + "lockBlur": { + "centerClock": true, + "enable": false, + "extraZoom": 1.1, + "radius": 100, + "showLockedText": true + }, + "parallax": { + "autoVertical": false, + "enableSidebar": true, + "enableWorkspace": true, + "vertical": false, + "workspaceZoom": 1.07 + }, + "quote": "", + "showClock": true, + "thumbnailPath": "", + "wallpaperPath": "" + }, + "bar": { + "autoHide": { + "enable": false, + "hoverRegionWidth": 2, + "pushWindows": false, + "showWhenPressingSuper": { + "delay": 140, + "enable": true + } + }, + "borderless": false, + "bottom": false, + "cornerStyle": 0, + "resources": { + "alwaysShowCpu": true, + "alwaysShowSwap": true, + "cpuWarningThreshold": 90, + "memoryWarningThreshold": 95, + "swapWarningThreshold": 85 + }, + "screenList": [ + ], + "showBackground": false, + "topLeftIcon": "distro", + "tray": { + "invertPinnedItems": true, + "monochromeIcons": true, + "pinnedItems": [ + ], + "showItemId": false + }, + "utilButtons": { + "showColorPicker": true, + "showDarkModeToggle": false, + "showKeyboardToggle": false, + "showMicToggle": true, + "showPerformanceProfileToggle": false, + "showScreenSnip": true + }, + "verbose": true, + "vertical": false, + "weather": { + "city": "", + "enable": false, + "enableGPS": true, + "fetchInterval": 10, + "useUSCS": false + }, + "workspaces": { + "alwaysShowNumbers": false, + "monochromeIcons": true, + "numberMap": [ + "1", + "2" + ], + "showAppIcons": true, + "showNumberDelay": 300, + "shown": 9, + "useNerdFont": false + } + }, + "battery": { + "automaticSuspend": true, + "critical": 5, + "low": 20, + "suspend": 2 + }, + "conflictKiller": { + "autoKillNotificationDaemons": false, + "autoKillTrays": false + }, + "dock": { + "enable": false, + "height": 60, + "hoverRegionHeight": 3, + "hoverToReveal": false, + "ignoredAppRegexes": [ + ], + "monochromeIcons": true, + "pinnedApps": [ + "org.kde.dolphin", + "kitty" + ], + "pinnedOnStartup": false + }, + "hacks": { + "arbitraryRaceConditionDelay": 20 + }, + "interactions": { + "deadPixelWorkaround": { + "enable": false + }, + "scrolling": { + "fasterTouchpadScroll": false, + "mouseScrollDeltaThreshold": 120, + "mouseScrollFactor": 120, + "touchpadScrollFactor": 450 + } + }, + "language": { + "translator": { + "engine": "auto", + "sourceLanguage": "auto", + "targetLanguage": "auto" + }, + "ui": "auto" + }, + "light": { + "night": { + "automatic": true, + "colorTemperature": 5000, + "from": "19:00", + "to": "06:30" + } + }, + "media": { + "filterDuplicatePlayers": true + }, + "networking": { + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" + }, + "osd": { + "timeout": 1000 + }, + "osk": { + "layout": "English (US)", + "pinnedOnStartup": false + }, + "overview": { + "columns": 5, + "enable": true, + "rows": 2, + "scale": 0.18 + }, + "policies": { + "ai": 1, + "weeb": 1 + }, + "resources": { + "updateInterval": 3000 + }, + "screenshotTool": { + "showContentRegions": true + }, + "search": { + "engineBaseUrl": "https://www.google.com/search?q=", + "excludedSites": [ + "quora.com" + ], + "nonAppResultDelay": 30, + "prefix": { + "action": "/", + "clipboard": ";", + "emojis": ":", + "math": "=", + "shellCommand": "$", + "showDefaultActionsWithoutPrefix": true, + "webSearch": "?" + }, + "sloppy": false + }, + "sidebar": { + "booru": { + "allowNsfw": true, + "defaultProvider": "yandere", + "limit": 20, + "zerochan": { + "username": "[unset]" + } + }, + "cornerOpen": { + "bottom": false, + "clickless": false, + "cornerRegionHeight": 2, + "cornerRegionWidth": 60, + "enable": true, + "valueScroll": true, + "visualize": false + }, + "keepRightSidebarLoaded": true, + "translator": { + "delay": 300 + } + }, + "time": { + "dateFormat": "ddd, dd/MM", + "format": "hh:mm", + "pomodoro": { + "alertSound": "", + "breakTime": 300, + "cyclesBeforeLongBreak": 4, + "focus": 1500, + "longBreak": 900 + }, + "shortDateFormat": "dd/MM" + }, + "wallpaperSelector": { + "useSystemFileDialog": false + }, + "windows": { + "centerTitle": true, + "showTitlebar": true + } +} diff --git a/.config/quickshell b/.config/quickshell index 16150c6..baa1c4f 120000 --- a/.config/quickshell +++ b/.config/quickshell @@ -1 +1 @@ -../../dots-hyprland/.config/quickshell/ \ No newline at end of file +../dots-hyprland/.config/quickshell/ \ No newline at end of file diff --git a/configuration.nix b/configuration.nix index 26ce872..195d25e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -319,6 +319,10 @@ in # required for quickshell config; needs to be here for them to be included in import/plugin path kdePackages.qt5compat kdePackages.qtdeclarative + kdePackages.qtlocation + kdePackages.qtlocation.dev + kdePackages.qtpositioning + kdePackages.qtpositioning.dev kdePackages.kirigami kdePackages.kirigami-addons kdePackages.kirigami-addons.dev diff --git a/dots-hyprland b/dots-hyprland index ecaf5f9..afba444 160000 --- a/dots-hyprland +++ b/dots-hyprland @@ -1 +1 @@ -Subproject commit ecaf5f90a703275ae26e1c3e9a2d60be4304d0d0 +Subproject commit afba444dab0a2bc3fdb1e60af4a06cb1514582f9 diff --git a/fast-copy.sh b/fast-copy.sh index b3c2214..ecb83da 100644 --- a/fast-copy.sh +++ b/fast-copy.sh @@ -1,5 +1,8 @@ echo "Copying configurations" cp .config/* ~/.config/ -r +echo fixing quickshell copy +rm -r ~/.config/quickshell +cp dots-hyprland/.config/quickshell ~/.config/quickshell -r cp .default-python-packages ~ cp .oh-my-posh.nu ~ \ No newline at end of file diff --git a/home.nix b/home.nix index d158a56..d39361f 100644 --- a/home.nix +++ b/home.nix @@ -137,7 +137,7 @@ in unstable.mongodb-tools #hashcat tldr - dunst + #dunst grim slurp wl-clipboard