Prune and update location
This commit is contained in:
parent
fada1d59c7
commit
68e612c74f
21 changed files with 14 additions and 5438 deletions
26
PKGBUILD
26
PKGBUILD
|
|
@ -1,26 +0,0 @@
|
|||
# caelestia-meta
|
||||
|
||||
# Maintainer: Soramane <soramane32 at gmail dot com>
|
||||
|
||||
pkgname='caelestia-meta'
|
||||
pkgver=r151.cadf1e2
|
||||
pkgrel=1
|
||||
pkgdesc='A metapackage containing all dependencies for the Caelestia dotfiles'
|
||||
arch=('any')
|
||||
url='https://github.com/caelestia-dots/caelestia'
|
||||
license=('GPL-3.0-only')
|
||||
depends=('caelestia-cli' 'caelestia-shell'
|
||||
'hyprland' 'xdg-desktop-portal-hyprland' 'xdg-desktop-portal-gtk' 'hyprpicker'
|
||||
'wl-clipboard' 'cliphist' 'inotify-tools' 'app2unit' 'wireplumber' 'trash-cli'
|
||||
'foot' 'fish' 'eza' 'fastfetch' 'starship' 'btop' 'jq' 'adw-gtk-theme'
|
||||
'papirus-icon-theme' 'qt5ct-kde' 'qt6ct-kde' 'ttf-jetbrains-mono-nerd')
|
||||
optdepends=('thunar: file manager'
|
||||
'spotify: music player'
|
||||
'vscode: code editor'
|
||||
'zen-browser: web browser'
|
||||
'todoist-appimage: todo manager'
|
||||
'uwsm: uwsm session'
|
||||
'gnome-keyring: keyring daemon'
|
||||
'polkit-gnome: gnome polkit client'
|
||||
'direnv: isolated dev envs'
|
||||
'zoxide: better cd')
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": null,
|
||||
"display": {
|
||||
"separator": " ",
|
||||
"color": "white",
|
||||
"constants": ["\u001b[37m", "\u001b[38;5;16m", "\u001b[38;5;17m", "\u001b[38;5;18m"]
|
||||
},
|
||||
"modules": [
|
||||
"break",
|
||||
{
|
||||
"type": "custom",
|
||||
"key": "╭───────────────────────────────────╮"
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": "│ {$2}{$1} kernel",
|
||||
"format": "{$2}{release>22}{$1} │"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ uptime",
|
||||
"text": "uptime -p | cut -d ' ' -f 2-",
|
||||
"format": "{>22} │"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": "│ {$2}{$1} shell ",
|
||||
"format": "{$2}{pretty-name>22}{$1} │"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ {$3}{$1} mem ",
|
||||
"text": "free -m | awk 'NR==2{printf \"%.2f GiB / %.2f GiB\",$3/1024,$2/1024}'",
|
||||
"format": "{$3}{>22}{$1} │"
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": "│ pkgs ",
|
||||
"format": "{all>22} │"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ {$2}{$1} user ",
|
||||
"text": "echo $USER",
|
||||
"format": "{$2}{>22}{$1} │"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ hname ",
|
||||
"text": "hostnamectl hostname",
|
||||
"format": "{>22} │"
|
||||
},
|
||||
{
|
||||
"type": "os",
|
||||
"key": "│ {$4}{$1} distro",
|
||||
"format": "{$4}{pretty-name>22}{$1} │"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"key": "╰───────────────────────────────────╯"
|
||||
},
|
||||
"break"
|
||||
]
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
/* Remove window controls */
|
||||
.titlebar-buttonbox-container {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Center url bar text when not focused */
|
||||
#urlbar:not([focused]) .urlbar-input {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
/* Url bar rounding */
|
||||
#urlbar-background,
|
||||
#searchbar {
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
/* Url bar buttons */
|
||||
.urlbar-page-action,
|
||||
#urlbar-go-button,
|
||||
.search-go-button,
|
||||
#tracking-protection-icon-container,
|
||||
#identity-icon-box,
|
||||
#identity-permission-box,
|
||||
.notification-anchor-icon,
|
||||
#userContext-icons,
|
||||
#urlbar-zoom-button,
|
||||
#page-action-buttons,
|
||||
.search-one-offs,
|
||||
#urlbar-search-mode-indicator {
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
/* Keep url bar in place when expanding */
|
||||
#urlbar[breakout][breakout-extend] {
|
||||
margin-top: 5px !important;
|
||||
margin-left: 0 !important;
|
||||
width: var(--urlbar-width) !important;
|
||||
}
|
||||
|
|
@ -3,8 +3,8 @@ $hl = $hypr/hyprland
|
|||
$cConf = ~/.config/caelestia
|
||||
$HOSTNAME = $(hostname)
|
||||
|
||||
exec-once = ln -s "./shell-$HOSTNAME.json" ~/caelestia/caelestia/shell.json &> /dev/null
|
||||
exec-once = ln -s "./custom-$HOSTNAME.conf" ~/caelestia/hypr/hyprland/custom-by-hostname.conf &> /dev/null
|
||||
exec-once = ln -s "./shell-$HOSTNAME.json" ~/.caelestia/caelestia/shell.json &> /dev/null
|
||||
exec-once = ln -s "./custom-$HOSTNAME.conf" ~/.caelestia/hypr/hyprland/custom-by-hostname.conf &> /dev/null
|
||||
source = $hl/custom-by-hostname.conf
|
||||
|
||||
# Variables (colours + other vars)
|
||||
|
|
|
|||
78
install.fish
78
install.fish
|
|
@ -156,12 +156,6 @@ if confirm-overwrite $config/fish
|
|||
ln -s (realpath fish) $config/fish
|
||||
end
|
||||
|
||||
# Fastfetch
|
||||
if confirm-overwrite $config/fastfetch
|
||||
log 'Installing fastfetch config...'
|
||||
ln -s (realpath fastfetch) $config/fastfetch
|
||||
end
|
||||
|
||||
# Uwsm
|
||||
if confirm-overwrite $config/uwsm
|
||||
log 'Installing uwsm config...'
|
||||
|
|
@ -198,76 +192,28 @@ if confirm-overwrite $config/yazi
|
|||
ln -s (realpath yazi) $config/yazi
|
||||
end
|
||||
|
||||
# Install spicetify
|
||||
if set -q _flag_spotify
|
||||
log 'Installing spotify (spicetify)...'
|
||||
|
||||
set -l has_spicetify (pacman -Q spicetify-cli 2> /dev/null)
|
||||
$aur_helper -S --needed spotify spicetify-cli spicetify-marketplace-bin $noconfirm
|
||||
|
||||
# Set permissions and init if new install
|
||||
if test -z "$has_spicetify"
|
||||
sudo chmod a+wr /opt/spotify
|
||||
sudo chmod a+wr /opt/spotify/Apps -R
|
||||
spicetify backup apply
|
||||
end
|
||||
|
||||
# Install configs
|
||||
if confirm-overwrite $config/spicetify
|
||||
log 'Installing spicetify config...'
|
||||
ln -s (realpath spicetify) $config/spicetify
|
||||
|
||||
# Set spicetify configs
|
||||
spicetify config current_theme caelestia color_scheme caelestia custom_apps marketplace 2>/dev/null
|
||||
spicetify apply
|
||||
end
|
||||
# Lazygit
|
||||
if confirm-overwrite $config/lazygit
|
||||
log 'Installing lazygit config...'
|
||||
ln -s (realpath lazygit) $config/lazygit
|
||||
end
|
||||
|
||||
# Install vscode
|
||||
if set -q _flag_vscode
|
||||
test "$_flag_vscode" = code && set -l prog code || set -l prog codium
|
||||
test "$_flag_vscode" = code && set -l packages code || set -l packages vscodium-bin vscodium-bin-marketplace
|
||||
test "$_flag_vscode" = code && set -l folder Code || set -l folder VSCodium
|
||||
set -l folder $config/$folder/User
|
||||
|
||||
log "Installing vs$prog..."
|
||||
$aur_helper -S --needed $packages $noconfirm
|
||||
|
||||
# Install configs
|
||||
if confirm-overwrite $folder/settings.json && confirm-overwrite $folder/keybindings.json && confirm-overwrite $config/$prog-flags.conf
|
||||
log "Installing vs$prog config..."
|
||||
ln -s (realpath vscode/settings.json) $folder/settings.json
|
||||
ln -s (realpath vscode/keybindings.json) $folder/keybindings.json
|
||||
ln -s (realpath vscode/flags.conf) $config/$prog-flags.conf
|
||||
|
||||
# Install extension
|
||||
$prog --install-extension vscode/caelestia-vscode-integration/caelestia-vscode-integration-*.vsix
|
||||
end
|
||||
end
|
||||
|
||||
# Install discord
|
||||
if set -q _flag_discord
|
||||
log 'Installing discord...'
|
||||
$aur_helper -S --needed discord equicord-installer-bin $noconfirm
|
||||
|
||||
# Install OpenAsar and Equicord
|
||||
sudo Equilotl -install -location /opt/discord
|
||||
sudo Equilotl -install-openasar -location /opt/discord
|
||||
|
||||
# Remove installer
|
||||
$aur_helper -Rns equicord-installer-bin $noconfirm
|
||||
# Wallpapers
|
||||
if confirm-overwrite $HOME/Pictures/Wallpapers
|
||||
log 'Installing yazi wallpapers...'
|
||||
mkdir -p $HOME/Pictures/Wallpapers
|
||||
ln -s (realpath wallpapers) $HOME/Pictures/Wallpapers
|
||||
end
|
||||
|
||||
# Install zen
|
||||
if set -q _flag_zen
|
||||
log 'Installing zen...'
|
||||
$aur_helper -S --needed zen-browser-bin $noconfirm
|
||||
|
||||
# Install userChrome css
|
||||
set -l chrome $HOME/.zen/*/chrome
|
||||
if confirm-overwrite $chrome/userChrome.css
|
||||
log 'Installing zen userChrome...'
|
||||
ln -s (realpath zen/userChrome.css) $chrome/userChrome.css
|
||||
ln -s (realpath zen/userContent.css) $chrome/userContent.css
|
||||
ln -s (realpath zen/zen-logo-mocha.svg) $chrome/zen-logo-mocha.svg
|
||||
ln -s $HOME/.local/state/caelestia/theme/zen.css $chrome/userChrome.css
|
||||
end
|
||||
|
||||
# Install native app
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"colorscheme": "simple"
|
||||
}
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
/* Background buttons, main play/pause button and progress bar */
|
||||
.encore-bright-accent-set,
|
||||
.encore-inverted-light-set,
|
||||
.x-progressBar-fillColor {
|
||||
background-color: var(--spice-button-active) !important;
|
||||
}
|
||||
|
||||
/* Left sidebar search button */
|
||||
.x-filterBox-expandButton {
|
||||
border-radius: 1000px !important;
|
||||
}
|
||||
|
||||
/* Queue and recently played right sidebar buttons */
|
||||
.encore-text-body-small-bold {
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
/* Hover animations for buttons, tracklist and context menu */
|
||||
button,
|
||||
.main-trackList-trackListRow,
|
||||
.main-contextMenu-menuItemButton {
|
||||
transition: color 200ms cubic-bezier(0, 0.55, 0.45, 1), background-color 200ms cubic-bezier(0, 0.55, 0.45, 1) !important;
|
||||
}
|
||||
|
||||
/* Search bar and dropdown */
|
||||
.main-topBar-searchBar,
|
||||
#recent-searches-dropdown > div {
|
||||
background-color: var(--spice-main-elevated) !important;
|
||||
}
|
||||
|
||||
/* Hide the main header on the home page */
|
||||
.main-home-homeHeader {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Remove any decorative pseudo-elements inside the home header */
|
||||
.search-searchCategory-contentArea::before,
|
||||
.search-searchCategory-contentArea::after {
|
||||
display: none !important;
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
/* Hide the gradient background bar that appears between the playlist/album header and the song list */
|
||||
.main-actionBarBackground-background {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.main-view-container__scroll-node-child div[style*="--background-base"]:not([style*="--background-base-min-contrast"]) {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="thunar-volman" version="1.0">
|
||||
<property name="automount-drives" type="empty">
|
||||
<property name="enabled" type="bool" value="false"/>
|
||||
</property>
|
||||
<property name="automount-media" type="empty">
|
||||
<property name="enabled" type="bool" value="false"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1710575157271461-1</unique-id>
|
||||
<command>foot -D %f</command>
|
||||
<description>Open the current directory in foot</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<startup-notify/>
|
||||
<directories/>
|
||||
</action>
|
||||
</actions>
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
out/
|
||||
node_modules/
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
// A launch configuration that compiles the extension and then opens it inside a new window
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Run Extension",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
||||
"outFiles": ["${workspaceFolder}/out/**/*.js"],
|
||||
"preLaunchTask": "${defaultBuildTask}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
.vscode/**
|
||||
.vscode-test/**
|
||||
src/**
|
||||
.gitignore
|
||||
.yarnrc
|
||||
vsc-extension-quickstart.md
|
||||
**/tsconfig.json
|
||||
**/eslint.config.mjs
|
||||
**/*.map
|
||||
**/*.ts
|
||||
**/.vscode-test.*
|
||||
Binary file not shown.
2812
vscode/caelestia-vscode-integration/package-lock.json
generated
2812
vscode/caelestia-vscode-integration/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,50 +0,0 @@
|
|||
{
|
||||
"name": "caelestia-vscode-integration",
|
||||
"displayName": "caelestia-vscode-integration",
|
||||
"description": "VSCode integration for caelestia dotfiles",
|
||||
"version": "1.2.0",
|
||||
"publisher": "soramanew",
|
||||
"engines": {
|
||||
"vscode": "^1.96.0"
|
||||
},
|
||||
"categories": [
|
||||
"Themes"
|
||||
],
|
||||
"activationEvents": [
|
||||
"onStartupFinished"
|
||||
],
|
||||
"capabilities": {
|
||||
"untrustedWorkspaces": {
|
||||
"supported": true
|
||||
}
|
||||
},
|
||||
"main": "./out/extension.js",
|
||||
"contributes": {
|
||||
"themes": [
|
||||
{
|
||||
"label": "Caelestia",
|
||||
"uiTheme": "vs-dark",
|
||||
"path": "./themes/caelestia.json",
|
||||
"_watch": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/caelestia-dots/vscode.git",
|
||||
"directory": "caelestia-vscode-integration"
|
||||
},
|
||||
"dependencies": {
|
||||
"tinycolor2": "^1.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.x",
|
||||
"@types/tinycolor2": "^1.4.6",
|
||||
"@types/vscode": "^1.96.0",
|
||||
"@vscode/vsce": "^3.2.1",
|
||||
"typescript": "^5.7.2"
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "tsc -p ./"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
import { existsSync } from "fs";
|
||||
import { readFile, writeFile } from "fs/promises";
|
||||
import { homedir } from "os";
|
||||
import { join } from "path";
|
||||
import { ConfigurationTarget, extensions, RelativePattern, workspace, type ExtensionContext } from "vscode";
|
||||
import theme from "./theme";
|
||||
|
||||
const getSchemeDir = () => join(process.env.XDG_STATE_HOME ?? join(homedir(), ".local", "state"), "caelestia");
|
||||
const getSchemePath = () => join(getSchemeDir(), "scheme.json");
|
||||
|
||||
const update = async () => {
|
||||
const schemePath = getSchemePath();
|
||||
|
||||
if (!existsSync(schemePath)) {
|
||||
console.log("No current scheme.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Update theme colours with scheme
|
||||
const scheme = JSON.parse(await readFile(schemePath, "utf-8"));
|
||||
const colours = Object.fromEntries(Object.entries(scheme.colours).map(([n, c]) => [n, `#${c}`]));
|
||||
await writeFile(join(__dirname, "..", "themes", "caelestia.json"), JSON.stringify(theme(colours)));
|
||||
|
||||
// Sync icon theme
|
||||
const workbench = workspace.getConfiguration("workbench");
|
||||
if (
|
||||
workbench.get("colorTheme") === "Caelestia" &&
|
||||
/catppuccin-(latte|frappe|macchiato|mocha)/.test(workbench.get("iconTheme") ?? "") &&
|
||||
extensions.getExtension("catppuccin.catppuccin-vsc-icons")
|
||||
) {
|
||||
workbench.update(
|
||||
"iconTheme",
|
||||
`catppuccin-${scheme.mode === "light" ? "latte" : "mocha"}`,
|
||||
ConfigurationTarget.Global
|
||||
);
|
||||
}
|
||||
|
||||
console.log("Updated scheme.");
|
||||
};
|
||||
|
||||
export const activate = (context: ExtensionContext) => {
|
||||
update();
|
||||
const watcher = workspace.createFileSystemWatcher(new RelativePattern(getSchemeDir(), "scheme.json"));
|
||||
context.subscriptions.push(watcher, watcher.onDidCreate(update), watcher.onDidChange(update));
|
||||
console.log(`Watching for changes to ${getSchemePath()}`);
|
||||
};
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "Node16",
|
||||
"target": "ES2022",
|
||||
"outDir": "out",
|
||||
"lib": ["ES2022"],
|
||||
"sourceMap": false,
|
||||
"rootDir": "src",
|
||||
"strict": true /* enable all strict type-checking options */
|
||||
/* Additional Checks */
|
||||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
--ozone-platform-hint=wayland
|
||||
--gtk-version=4
|
||||
--ignore-gpu-blocklist
|
||||
--enable-features=TouchpadOverscrollHistoryNavigation
|
||||
--enable-wayland-ime
|
||||
--password-store=gnome-libsecret
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
[
|
||||
{
|
||||
"key": "ctrl+shift+alt+r",
|
||||
"command": "workbench.action.reloadWindow"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+pageup",
|
||||
"command": "workbench.action.previousEditor"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+pagedown",
|
||||
"command": "workbench.action.nextEditor"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+up",
|
||||
"command": "editor.action.moveLinesUpAction",
|
||||
"when": "editorTextFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+down",
|
||||
"command": "editor.action.moveLinesDownAction",
|
||||
"when": "editorTextFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "shift+alt+up",
|
||||
"command": "editor.action.insertCursorAbove",
|
||||
"when": "editorTextFocus"
|
||||
},
|
||||
{
|
||||
"key": "shift+alt+down",
|
||||
"command": "editor.action.insertCursorBelow",
|
||||
"when": "editorTextFocus"
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue