From 6c7d5eb80b5f671aff85ccc711573d07b09ff898 Mon Sep 17 00:00:00 2001 From: Ceres Date: Sun, 9 Nov 2025 16:34:57 +0000 Subject: [PATCH] Make shell config host dependant --- caelestia/shell-labob.json | 306 +++++++++++++++++++++++++++++++++++ caelestia/shell-peecee.json | 306 +++++++++++++++++++++++++++++++++++ caelestia/shell.json | 307 +----------------------------------- hypr/hyprland.conf | 1 + 4 files changed, 614 insertions(+), 306 deletions(-) create mode 100644 caelestia/shell-labob.json create mode 100644 caelestia/shell-peecee.json mode change 100644 => 120000 caelestia/shell.json diff --git a/caelestia/shell-labob.json b/caelestia/shell-labob.json new file mode 100644 index 0000000..f367db8 --- /dev/null +++ b/caelestia/shell-labob.json @@ -0,0 +1,306 @@ +{ + "appearance": { + "anim": { + "durations": { + "scale": 1 + } + }, + "font": { + "family": { + "material": "Material Symbols Rounded", + "mono": "CaskaydiaCove NF", + "sans": "Rubik" + }, + "size": { + "scale": 1 + } + }, + "padding": { + "scale": 1 + }, + "rounding": { + "scale": 1 + }, + "spacing": { + "scale": 1 + }, + "transparency": { + "enabled": false, + "base": 0.85, + "layers": 0.4 + } + }, + "general": { + "apps": { + "terminal": ["foot"], + "audio": ["pavucontrol"] + } + }, + "background": { + "desktopClock": { + "enabled": false + }, + "enabled": true, + "visualiser": { + "enabled": false, + "autoHide": true, + "rounding": 1, + "spacing": 1 + } + }, + "bar": { + "clock": { + "showIcon": true + }, + "dragThreshold": 20, + "entries": [ + { + "id": "logo", + "enabled": true + }, + { + "id": "workspaces", + "enabled": true + }, + { + "id": "spacer", + "enabled": true + }, + { + "id": "activeWindow", + "enabled": true + }, + { + "id": "spacer", + "enabled": true + }, + { + "id": "tray", + "enabled": true + }, + { + "id": "clock", + "enabled": true + }, + { + "id": "statusIcons", + "enabled": true + }, + { + "id": "power", + "enabled": true + } + ], + "persistent": true, + "scrollActions": { + "brightness": true, + "workspaces": true, + "volume": true + }, + "showOnHover": true, + "status": { + "showAudio": false, + "showBattery": true, + "showBluetooth": true, + "showKbLayout": false, + "showMicrophone": false, + "showNetwork": true, + "showLockStatus": true + }, + "tray": { + "background": false, + "iconSubs": [], + "recolour": false + }, + "workspaces": { + "activeIndicator": true, + "activeLabel": "󰮯", + "activeTrail": false, + "label": " ", + "occupiedBg": false, + "occupiedLabel": "󰮯", + "perMonitorWorkspaces": false, + "showWindows": true, + "shown": 5 + } + }, + "border": { + "rounding": 25, + "thickness": 10 + }, + "dashboard": { + "enabled": true, + "dragThreshold": 50, + "mediaUpdateInterval": 500, + "showOnHover": true + }, + "launcher": { + "actionPrefix": ">", + "actions": [ + { + "name": "Calculator", + "icon": "calculate", + "description": "Do simple math equations (powered by Qalc)", + "command": ["autocomplete", "calc"], + "enabled": true, + "dangerous": false + }, + { + "name": "Scheme", + "icon": "palette", + "description": "Change the current colour scheme", + "command": ["autocomplete", "scheme"], + "enabled": true, + "dangerous": false + }, + { + "name": "Wallpaper", + "icon": "image", + "description": "Change the current wallpaper", + "command": ["autocomplete", "wallpaper"], + "enabled": true, + "dangerous": false + }, + { + "name": "Variant", + "icon": "colors", + "description": "Change the current scheme variant", + "command": ["autocomplete", "variant"], + "enabled": true, + "dangerous": false + }, + { + "name": "Transparency", + "icon": "opacity", + "description": "Change shell transparency", + "command": ["autocomplete", "transparency"], + "enabled": false, + "dangerous": false + }, + { + "name": "Random", + "icon": "casino", + "description": "Switch to a random wallpaper", + "command": ["caelestia", "wallpaper", "-r"], + "enabled": true, + "dangerous": false + }, + { + "name": "Light", + "icon": "light_mode", + "description": "Change the scheme to light mode", + "command": ["setMode", "light"], + "enabled": true, + "dangerous": false + }, + { + "name": "Dark", + "icon": "dark_mode", + "description": "Change the scheme to dark mode", + "command": ["setMode", "dark"], + "enabled": true, + "dangerous": false + }, + { + "name": "Shutdown", + "icon": "power_settings_new", + "description": "Shutdown the system", + "command": ["systemctl", "poweroff"], + "enabled": true, + "dangerous": true + }, + { + "name": "Reboot", + "icon": "cached", + "description": "Reboot the system", + "command": ["systemctl", "reboot"], + "enabled": true, + "dangerous": true + }, + { + "name": "Logout", + "icon": "exit_to_app", + "description": "Log out of the current session", + "command": ["loginctl", "terminate-user", ""], + "enabled": true, + "dangerous": true + }, + { + "name": "Lock", + "icon": "lock", + "description": "Lock the current session", + "command": ["loginctl", "lock-session"], + "enabled": true, + "dangerous": false + }, + { + "name": "Sleep", + "icon": "bedtime", + "description": "Suspend then hibernate", + "command": ["systemctl", "suspend-then-hibernate"], + "enabled": true, + "dangerous": false + } + ], + "dragThreshold": 50, + "vimKeybinds": false, + "enableDangerousActions": false, + "maxShown": 7, + "maxWallpapers": 9, + "specialPrefix": "@", + "useFuzzy": { + "apps": false, + "actions": false, + "schemes": false, + "variants": false, + "wallpapers": false + }, + "showOnHover": false, + "hiddenApps": [] + }, + "lock": { + "recolourLogo": false + }, + "notifs": { + "actionOnClick": false, + "clearThreshold": 0.3, + "defaultExpireTimeout": 5000, + "expandThreshold": 20, + "expire": false + }, + "osd": { + "enabled": true, + "enableBrightness": false, + "enableMicrophone": true, + "hideDelay": 2000 + }, + "paths": { + "mediaGif": "root:/assets/bongocat.gif", + "sessionGif": "root:/assets/kurukuru.gif", + "wallpaperDir": "~/Pictures/Wallpapers" + }, + "services": { + "audioIncrement": 0.1, + "defaultPlayer": "Spotify", + "gpuType": "", + "playerAliases": [{ "from": "com.github.th_ch.youtube_music", "to": "YT Music" }], + "weatherLocation": "", + "useFahrenheit": false, + "useTwelveHourClock": false, + "smartScheme": true, + "visualiserBars": 45 + }, + "session": { + "dragThreshold": 30, + "vimKeybinds": false, + "commands": { + "logout": ["loginctl", "terminate-user", ""], + "shutdown": ["systemctl", "poweroff"], + "hibernate": ["systemctl", "hibernate"], + "reboot": ["systemctl", "reboot"] + } + }, + "utilities": { + "enabled": true + } +} diff --git a/caelestia/shell-peecee.json b/caelestia/shell-peecee.json new file mode 100644 index 0000000..1f55764 --- /dev/null +++ b/caelestia/shell-peecee.json @@ -0,0 +1,306 @@ +{ + "appearance": { + "anim": { + "durations": { + "scale": 1 + } + }, + "font": { + "family": { + "material": "Material Symbols Rounded", + "mono": "CaskaydiaCove NF", + "sans": "Rubik" + }, + "size": { + "scale": 1 + } + }, + "padding": { + "scale": 1 + }, + "rounding": { + "scale": 1 + }, + "spacing": { + "scale": 1 + }, + "transparency": { + "enabled": false, + "base": 0.85, + "layers": 0.4 + } + }, + "general": { + "apps": { + "terminal": ["foot"], + "audio": ["pavucontrol"] + } + }, + "background": { + "desktopClock": { + "enabled": false + }, + "enabled": true, + "visualiser": { + "enabled": false, + "autoHide": true, + "rounding": 1, + "spacing": 1 + } + }, + "bar": { + "clock": { + "showIcon": true + }, + "dragThreshold": 20, + "entries": [ + { + "id": "logo", + "enabled": true + }, + { + "id": "workspaces", + "enabled": true + }, + { + "id": "spacer", + "enabled": true + }, + { + "id": "activeWindow", + "enabled": true + }, + { + "id": "spacer", + "enabled": true + }, + { + "id": "tray", + "enabled": true + }, + { + "id": "clock", + "enabled": true + }, + { + "id": "statusIcons", + "enabled": true + }, + { + "id": "power", + "enabled": true + } + ], + "persistent": true, + "scrollActions": { + "brightness": true, + "workspaces": true, + "volume": true + }, + "showOnHover": true, + "status": { + "showAudio": false, + "showBattery": false, + "showBluetooth": true, + "showKbLayout": false, + "showMicrophone": false, + "showNetwork": true, + "showLockStatus": true + }, + "tray": { + "background": false, + "iconSubs": [], + "recolour": false + }, + "workspaces": { + "activeIndicator": true, + "activeLabel": "󰮯", + "activeTrail": false, + "label": " ", + "occupiedBg": false, + "occupiedLabel": "󰮯", + "perMonitorWorkspaces": false, + "showWindows": true, + "shown": 5 + } + }, + "border": { + "rounding": 25, + "thickness": 10 + }, + "dashboard": { + "enabled": true, + "dragThreshold": 50, + "mediaUpdateInterval": 500, + "showOnHover": true + }, + "launcher": { + "actionPrefix": ">", + "actions": [ + { + "name": "Calculator", + "icon": "calculate", + "description": "Do simple math equations (powered by Qalc)", + "command": ["autocomplete", "calc"], + "enabled": true, + "dangerous": false + }, + { + "name": "Scheme", + "icon": "palette", + "description": "Change the current colour scheme", + "command": ["autocomplete", "scheme"], + "enabled": true, + "dangerous": false + }, + { + "name": "Wallpaper", + "icon": "image", + "description": "Change the current wallpaper", + "command": ["autocomplete", "wallpaper"], + "enabled": true, + "dangerous": false + }, + { + "name": "Variant", + "icon": "colors", + "description": "Change the current scheme variant", + "command": ["autocomplete", "variant"], + "enabled": true, + "dangerous": false + }, + { + "name": "Transparency", + "icon": "opacity", + "description": "Change shell transparency", + "command": ["autocomplete", "transparency"], + "enabled": false, + "dangerous": false + }, + { + "name": "Random", + "icon": "casino", + "description": "Switch to a random wallpaper", + "command": ["caelestia", "wallpaper", "-r"], + "enabled": true, + "dangerous": false + }, + { + "name": "Light", + "icon": "light_mode", + "description": "Change the scheme to light mode", + "command": ["setMode", "light"], + "enabled": true, + "dangerous": false + }, + { + "name": "Dark", + "icon": "dark_mode", + "description": "Change the scheme to dark mode", + "command": ["setMode", "dark"], + "enabled": true, + "dangerous": false + }, + { + "name": "Shutdown", + "icon": "power_settings_new", + "description": "Shutdown the system", + "command": ["systemctl", "poweroff"], + "enabled": true, + "dangerous": true + }, + { + "name": "Reboot", + "icon": "cached", + "description": "Reboot the system", + "command": ["systemctl", "reboot"], + "enabled": true, + "dangerous": true + }, + { + "name": "Logout", + "icon": "exit_to_app", + "description": "Log out of the current session", + "command": ["loginctl", "terminate-user", ""], + "enabled": true, + "dangerous": true + }, + { + "name": "Lock", + "icon": "lock", + "description": "Lock the current session", + "command": ["loginctl", "lock-session"], + "enabled": true, + "dangerous": false + }, + { + "name": "Sleep", + "icon": "bedtime", + "description": "Suspend then hibernate", + "command": ["systemctl", "suspend-then-hibernate"], + "enabled": true, + "dangerous": false + } + ], + "dragThreshold": 50, + "vimKeybinds": false, + "enableDangerousActions": false, + "maxShown": 7, + "maxWallpapers": 9, + "specialPrefix": "@", + "useFuzzy": { + "apps": false, + "actions": false, + "schemes": false, + "variants": false, + "wallpapers": false + }, + "showOnHover": false, + "hiddenApps": [] + }, + "lock": { + "recolourLogo": false + }, + "notifs": { + "actionOnClick": false, + "clearThreshold": 0.3, + "defaultExpireTimeout": 5000, + "expandThreshold": 20, + "expire": false + }, + "osd": { + "enabled": true, + "enableBrightness": false, + "enableMicrophone": true, + "hideDelay": 2000 + }, + "paths": { + "mediaGif": "root:/assets/bongocat.gif", + "sessionGif": "root:/assets/kurukuru.gif", + "wallpaperDir": "~/Pictures/Wallpapers" + }, + "services": { + "audioIncrement": 0.1, + "defaultPlayer": "Spotify", + "gpuType": "", + "playerAliases": [{ "from": "com.github.th_ch.youtube_music", "to": "YT Music" }], + "weatherLocation": "", + "useFahrenheit": false, + "useTwelveHourClock": false, + "smartScheme": true, + "visualiserBars": 45 + }, + "session": { + "dragThreshold": 30, + "vimKeybinds": false, + "commands": { + "logout": ["loginctl", "terminate-user", ""], + "shutdown": ["systemctl", "poweroff"], + "hibernate": ["systemctl", "hibernate"], + "reboot": ["systemctl", "reboot"] + } + }, + "utilities": { + "enabled": true + } +} \ No newline at end of file diff --git a/caelestia/shell.json b/caelestia/shell.json deleted file mode 100644 index 1f55764..0000000 --- a/caelestia/shell.json +++ /dev/null @@ -1,306 +0,0 @@ -{ - "appearance": { - "anim": { - "durations": { - "scale": 1 - } - }, - "font": { - "family": { - "material": "Material Symbols Rounded", - "mono": "CaskaydiaCove NF", - "sans": "Rubik" - }, - "size": { - "scale": 1 - } - }, - "padding": { - "scale": 1 - }, - "rounding": { - "scale": 1 - }, - "spacing": { - "scale": 1 - }, - "transparency": { - "enabled": false, - "base": 0.85, - "layers": 0.4 - } - }, - "general": { - "apps": { - "terminal": ["foot"], - "audio": ["pavucontrol"] - } - }, - "background": { - "desktopClock": { - "enabled": false - }, - "enabled": true, - "visualiser": { - "enabled": false, - "autoHide": true, - "rounding": 1, - "spacing": 1 - } - }, - "bar": { - "clock": { - "showIcon": true - }, - "dragThreshold": 20, - "entries": [ - { - "id": "logo", - "enabled": true - }, - { - "id": "workspaces", - "enabled": true - }, - { - "id": "spacer", - "enabled": true - }, - { - "id": "activeWindow", - "enabled": true - }, - { - "id": "spacer", - "enabled": true - }, - { - "id": "tray", - "enabled": true - }, - { - "id": "clock", - "enabled": true - }, - { - "id": "statusIcons", - "enabled": true - }, - { - "id": "power", - "enabled": true - } - ], - "persistent": true, - "scrollActions": { - "brightness": true, - "workspaces": true, - "volume": true - }, - "showOnHover": true, - "status": { - "showAudio": false, - "showBattery": false, - "showBluetooth": true, - "showKbLayout": false, - "showMicrophone": false, - "showNetwork": true, - "showLockStatus": true - }, - "tray": { - "background": false, - "iconSubs": [], - "recolour": false - }, - "workspaces": { - "activeIndicator": true, - "activeLabel": "󰮯", - "activeTrail": false, - "label": " ", - "occupiedBg": false, - "occupiedLabel": "󰮯", - "perMonitorWorkspaces": false, - "showWindows": true, - "shown": 5 - } - }, - "border": { - "rounding": 25, - "thickness": 10 - }, - "dashboard": { - "enabled": true, - "dragThreshold": 50, - "mediaUpdateInterval": 500, - "showOnHover": true - }, - "launcher": { - "actionPrefix": ">", - "actions": [ - { - "name": "Calculator", - "icon": "calculate", - "description": "Do simple math equations (powered by Qalc)", - "command": ["autocomplete", "calc"], - "enabled": true, - "dangerous": false - }, - { - "name": "Scheme", - "icon": "palette", - "description": "Change the current colour scheme", - "command": ["autocomplete", "scheme"], - "enabled": true, - "dangerous": false - }, - { - "name": "Wallpaper", - "icon": "image", - "description": "Change the current wallpaper", - "command": ["autocomplete", "wallpaper"], - "enabled": true, - "dangerous": false - }, - { - "name": "Variant", - "icon": "colors", - "description": "Change the current scheme variant", - "command": ["autocomplete", "variant"], - "enabled": true, - "dangerous": false - }, - { - "name": "Transparency", - "icon": "opacity", - "description": "Change shell transparency", - "command": ["autocomplete", "transparency"], - "enabled": false, - "dangerous": false - }, - { - "name": "Random", - "icon": "casino", - "description": "Switch to a random wallpaper", - "command": ["caelestia", "wallpaper", "-r"], - "enabled": true, - "dangerous": false - }, - { - "name": "Light", - "icon": "light_mode", - "description": "Change the scheme to light mode", - "command": ["setMode", "light"], - "enabled": true, - "dangerous": false - }, - { - "name": "Dark", - "icon": "dark_mode", - "description": "Change the scheme to dark mode", - "command": ["setMode", "dark"], - "enabled": true, - "dangerous": false - }, - { - "name": "Shutdown", - "icon": "power_settings_new", - "description": "Shutdown the system", - "command": ["systemctl", "poweroff"], - "enabled": true, - "dangerous": true - }, - { - "name": "Reboot", - "icon": "cached", - "description": "Reboot the system", - "command": ["systemctl", "reboot"], - "enabled": true, - "dangerous": true - }, - { - "name": "Logout", - "icon": "exit_to_app", - "description": "Log out of the current session", - "command": ["loginctl", "terminate-user", ""], - "enabled": true, - "dangerous": true - }, - { - "name": "Lock", - "icon": "lock", - "description": "Lock the current session", - "command": ["loginctl", "lock-session"], - "enabled": true, - "dangerous": false - }, - { - "name": "Sleep", - "icon": "bedtime", - "description": "Suspend then hibernate", - "command": ["systemctl", "suspend-then-hibernate"], - "enabled": true, - "dangerous": false - } - ], - "dragThreshold": 50, - "vimKeybinds": false, - "enableDangerousActions": false, - "maxShown": 7, - "maxWallpapers": 9, - "specialPrefix": "@", - "useFuzzy": { - "apps": false, - "actions": false, - "schemes": false, - "variants": false, - "wallpapers": false - }, - "showOnHover": false, - "hiddenApps": [] - }, - "lock": { - "recolourLogo": false - }, - "notifs": { - "actionOnClick": false, - "clearThreshold": 0.3, - "defaultExpireTimeout": 5000, - "expandThreshold": 20, - "expire": false - }, - "osd": { - "enabled": true, - "enableBrightness": false, - "enableMicrophone": true, - "hideDelay": 2000 - }, - "paths": { - "mediaGif": "root:/assets/bongocat.gif", - "sessionGif": "root:/assets/kurukuru.gif", - "wallpaperDir": "~/Pictures/Wallpapers" - }, - "services": { - "audioIncrement": 0.1, - "defaultPlayer": "Spotify", - "gpuType": "", - "playerAliases": [{ "from": "com.github.th_ch.youtube_music", "to": "YT Music" }], - "weatherLocation": "", - "useFahrenheit": false, - "useTwelveHourClock": false, - "smartScheme": true, - "visualiserBars": 45 - }, - "session": { - "dragThreshold": 30, - "vimKeybinds": false, - "commands": { - "logout": ["loginctl", "terminate-user", ""], - "shutdown": ["systemctl", "poweroff"], - "hibernate": ["systemctl", "hibernate"], - "reboot": ["systemctl", "reboot"] - } - }, - "utilities": { - "enabled": true - } -} \ No newline at end of file diff --git a/caelestia/shell.json b/caelestia/shell.json new file mode 120000 index 0000000..efc96be --- /dev/null +++ b/caelestia/shell.json @@ -0,0 +1 @@ +./shell-peecee.json \ No newline at end of file diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 48aab9d..c7cc29d 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -2,6 +2,7 @@ $hypr = ~/.config/hypr $hl = $hypr/hyprland $cConf = ~/.config/caelestia +exec-once = ln -s "./shell-$HOSTNAME.json" "$cConf/shell.json" exec-once = ln -s "./custom-$HOSTNAME.conf" ~/caelestia/hypr/hyprland/custom-by-hostname.conf &> /dev/null source = $hl/custom-by-hostname.conf