From 13761018ae9b121ef0b35da8ab9f1bdf700f59cb Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Thu, 11 Jun 2026 19:38:59 +0530 Subject: [PATCH] add rofi config --- fish/completions/copilot.fish | 103 --------- fish/completions/nvm.fish | 21 -- fish/conf.d/fish_frozen_key_bindings.fish | 14 -- fish/conf.d/nvm.fish | 28 --- fish/conf.d/rustup.fish | 1 - fish/config.fish | 45 ---- fish/fish_plugins | 1 - fish/fish_variables | 8 - fish/functions/_nvm_index_update.fish | 20 -- fish/functions/_nvm_list.fish | 14 -- fish/functions/_nvm_version_activate.fish | 4 - fish/functions/_nvm_version_deactivate.fish | 5 - fish/functions/jpg2png.fish | 26 --- fish/functions/nvm.fish | 237 -------------------- fish/functions/y.fish | 8 - hypr/hyprland.lua | 4 +- hypr/keybinds.lua | 19 +- kitty/current-theme.conf | 97 +++----- kitty/kitty.conf | 2 +- kitty/kitty.conf.bak | 2 +- rofi/config.rasi | 115 ++++++++++ rofi/launch.sh | 51 +++++ rofi/themes/rose_pine.rasi | 187 +++++++++++++++ rofi/themes/rose_pine_dawn.rasi | 187 +++++++++++++++ wayle/runtime.toml | 15 ++ wayle/themes/rose_pine.toml | 14 ++ wayle/themes/rose_pine_dawn.toml | 14 ++ wayle/themes/tokyo-night.toml | 14 ++ 28 files changed, 644 insertions(+), 612 deletions(-) delete mode 100644 fish/completions/copilot.fish delete mode 100644 fish/completions/nvm.fish delete mode 100644 fish/conf.d/fish_frozen_key_bindings.fish delete mode 100644 fish/conf.d/nvm.fish delete mode 100644 fish/conf.d/rustup.fish delete mode 100644 fish/config.fish delete mode 100644 fish/fish_plugins delete mode 100644 fish/fish_variables delete mode 100644 fish/functions/_nvm_index_update.fish delete mode 100644 fish/functions/_nvm_list.fish delete mode 100644 fish/functions/_nvm_version_activate.fish delete mode 100644 fish/functions/_nvm_version_deactivate.fish delete mode 100644 fish/functions/jpg2png.fish delete mode 100644 fish/functions/nvm.fish delete mode 100644 fish/functions/y.fish create mode 100644 rofi/config.rasi create mode 100755 rofi/launch.sh create mode 100644 rofi/themes/rose_pine.rasi create mode 100644 rofi/themes/rose_pine_dawn.rasi create mode 100644 wayle/themes/rose_pine.toml create mode 100644 wayle/themes/rose_pine_dawn.toml create mode 100644 wayle/themes/tokyo-night.toml diff --git a/fish/completions/copilot.fish b/fish/completions/copilot.fish deleted file mode 100644 index 17fdc40..0000000 --- a/fish/completions/copilot.fish +++ /dev/null @@ -1,103 +0,0 @@ -# fish completion for copilot -# Generated by `copilot completion fish`. Do not edit by hand. - -complete -c copilot -n '__fish_use_subcommand' -f -a 'login' -d 'Authenticate with Copilot' -complete -c copilot -n '__fish_use_subcommand' -f -a 'help' -d 'Display help information' -complete -c copilot -n '__fish_use_subcommand' -f -a 'init' -d 'Initialize Copilot instructions' -complete -c copilot -n '__fish_use_subcommand' -f -a 'update' -d 'Download the latest version' -complete -c copilot -n '__fish_use_subcommand' -f -a 'version' -d 'Display version information' -complete -c copilot -n '__fish_use_subcommand' -f -a 'plugin' -d 'Manage plugins' -complete -c copilot -n '__fish_use_subcommand' -f -a 'mcp' -d 'Manage MCP servers' -complete -c copilot -n '__fish_use_subcommand' -f -a 'completion' -d 'Generate a shell completion script' -complete -c copilot -l version -s v -f -d 'show version information' -complete -c copilot -l interactive -s i -r -d 'Start interactive mode and automatically execute this prompt' -complete -c copilot -l prompt -s p -r -d 'Execute a prompt in non-interactive mode (exits after completion)' -complete -c copilot -l silent -s s -f -d 'Output only the agent response (no stats), useful for scripting with -p' -complete -c copilot -l enable-memory -f -d 'Enable memory in prompt mode (disabled by default)' -complete -c copilot -l model -r -d 'Set the AI model to use (use \'auto\' to let Copilot pick automatically)' -complete -c copilot -l effort -l reasoning-effort -r -d 'Set the reasoning effort level' -a 'none low medium high xhigh max' -complete -c copilot -l context -r -d 'Set the context window tier (overrides persisted setting)' -a 'default long_context' -complete -c copilot -l enable-reasoning-summaries -f -d 'Request reasoning summaries for OpenAI models' -complete -c copilot -l agent -r -d 'Specify a custom agent to use' -complete -c copilot -l resume -s r -r -d 'Resume from a previous session (optionally specify existing session ID, task ID, ID prefix, or name; name matching is exact, case-insensitive)' -complete -c copilot -l continue -f -d 'Resume the most recent session' -complete -c copilot -l name -s n -r -d 'Set a name for the new session' -complete -c copilot -l session-id -r -d 'Resume an existing session or task by ID, or set the UUID for a new session' -complete -c copilot -l connect -r -d 'Connect directly to a remote session (optionally specify session ID or task ID)' -complete -c copilot -l allow-all-tools -f -d 'Allow all tools to run automatically without confirmation; required for non-interactive mode' -complete -c copilot -l allow-all-paths -f -d 'Disable file path verification and allow access to any path' -complete -c copilot -l disallow-temp-dir -f -d 'Prevent automatic access to the system temporary directory' -complete -c copilot -l no-custom-instructions -f -d 'Disable loading of custom instructions from AGENTS.md and related files' -complete -c copilot -l no-auto-update -f -d 'Disable downloading CLI update automatically (disabled by default in CI environments)' -complete -c copilot -l no-ask-user -f -d 'Disable the ask_user tool (agent works autonomously without asking questions)' -complete -c copilot -l banner -f -d 'Show the startup banner' -complete -c copilot -l no-color -f -d 'Disable all color output' -complete -c copilot -l screen-reader -f -d 'Enable screen reader optimizations' -complete -c copilot -l plain-diff -f -d 'Disable rich diff rendering (syntax highlighting via diff tool specified by git config)' -complete -c copilot -s C -r -d 'Change working directory before doing anything else' -complete -c copilot -l log-dir -r -d 'Set log file directory (default: ~/.copilot/logs/)' -complete -c copilot -l extension-sdk-path -r -d 'Override the bundled @github/copilot-sdk injected into extension subprocesses with a local `copilot-sdk/` folder. Invalid paths fall back to the bundled SDK.' -complete -c copilot -l log-level -r -d 'Set the log level' -a 'none error warning info debug all default' -complete -c copilot -l stream -r -d 'Enable or disable streaming mode' -a 'on off' -complete -c copilot -l output-format -r -d 'Output format: \'text\' (default) or \'json\' (JSONL, one JSON object per line)' -a 'text json' -complete -c copilot -l share -r -d 'Share session to markdown file after completion in non-interactive mode (default: ./copilot-session-.md)' -complete -c copilot -l share-gist -f -d 'Share session to a secret GitHub gist after completion in non-interactive mode' -complete -c copilot -l add-dir -r -d 'Add a directory to the allowed list for file access (can be used multiple times)' -complete -c copilot -l attachment -r -d 'Attach a file (image or native document) to the initial prompt; only valid in non-interactive mode (can be used multiple times)' -complete -c copilot -l disable-mcp-server -r -d 'Disable a specific MCP server (can be used multiple times)' -complete -c copilot -l disable-builtin-mcps -f -d 'Disable all built-in MCP servers (currently: github-mcp-server)' -complete -c copilot -l enable-all-github-mcp-tools -f -d 'Enable all GitHub MCP server tools instead of the default CLI subset. Overrides --add-github-mcp-toolset and --add-github-mcp-tool options.' -complete -c copilot -l add-github-mcp-toolset -r -d 'Add a toolset to enable for the GitHub MCP server instead of the default CLI subset (can be used multiple times). Use "all" for all toolsets.' -complete -c copilot -l add-github-mcp-tool -r -d 'Add a tool to enable for the GitHub MCP server instead of the default CLI subset (can be used multiple times). Use "*" for all tools.' -complete -c copilot -l plugin-dir -r -d 'Load a plugin from a local directory (can be used multiple times)' -complete -c copilot -l additional-mcp-config -r -d 'Additional MCP servers configuration as JSON string or file path (prefix with @) (can be used multiple times; augments config from ~/.copilot/mcp-config.json for this session)' -complete -c copilot -l allow-tool -r -d 'Tools the CLI has permission to use; will not prompt for permission' -complete -c copilot -l deny-tool -r -d 'Tools the CLI does not have permission to use; will not prompt for permission' -complete -c copilot -l available-tools -r -d 'Only these tools will be available to the model' -complete -c copilot -l excluded-tools -r -d 'These tools will not be available to the model' -complete -c copilot -l secret-env-vars -r -d 'Environment variable names whose values are stripped from shell and MCP server environments and redacted from output (e.g., --secret-env-vars=MY_KEY,OTHER_KEY)' -complete -c copilot -l allow-url -r -d 'Allow access to specific URLs or domains' -complete -c copilot -l deny-url -r -d 'Deny access to specific URLs or domains, takes precedence over --allow-url' -complete -c copilot -l allow-all-urls -f -d 'Allow access to all URLs without confirmation' -complete -c copilot -l allow-all -f -d 'Enable all permissions (equivalent to --allow-all-tools --allow-all-paths --allow-all-urls)' -complete -c copilot -l yolo -f -d 'Enable all permissions (equivalent to --allow-all-tools --allow-all-paths --allow-all-urls)' -complete -c copilot -l max-autopilot-continues -r -d 'Maximum number of continuation messages in autopilot mode' -complete -c copilot -l mode -r -d 'Set the initial agent mode' -a 'interactive plan autopilot' -complete -c copilot -l autopilot -f -d 'Start in autopilot mode' -complete -c copilot -l plan -f -d 'Start in plan mode' -complete -c copilot -l experimental -f -d 'Enable experimental features' -complete -c copilot -l no-experimental -f -d 'Disable experimental features' -complete -c copilot -l bash-env -r -d 'Enable BASH_ENV support for bash shells (on|off)' -complete -c copilot -l no-bash-env -f -d 'Disable BASH_ENV support for bash shells' -complete -c copilot -l mouse -r -d 'Enable mouse support in alt screen mode (on|off)' -complete -c copilot -l no-mouse -f -d 'Disable mouse support in alt screen mode' -complete -c copilot -l acp -f -d 'Start as Agent Client Protocol server' -complete -c copilot -l remote -f -d 'Enable remote control of your session from GitHub web and mobile' -complete -c copilot -l no-remote -f -d 'Disable remote control of your session from GitHub web and mobile' -complete -c copilot -n '__fish_seen_subcommand_from login' -l host -r -d 'GitHub host URL (default: https://github.com)' -complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'install' -d 'Install a plugin' -complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'uninstall' -d 'Uninstall a plugin' -complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'update' -d 'Update a plugin' -complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'list' -d 'List installed plugins' -complete -c copilot -n '__fish_seen_subcommand_from plugin' -f -a 'marketplace' -d 'Manage plugin marketplaces' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from update' -l all -f -d 'Update all installed plugins' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'add' -d 'Add a marketplace' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'remove' -d 'Remove a marketplace' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'list' -d 'List registered marketplaces' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'browse' -d 'Browse plugins in a marketplace' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace' -f -a 'update' -d 'Update marketplace plugin catalogs' -complete -c copilot -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from marketplace; and __fish_seen_subcommand_from remove' -l force -s f -f -d 'Force removal even if plugins are installed' -complete -c copilot -n '__fish_seen_subcommand_from mcp' -f -a 'list' -d 'List configured MCP servers' -complete -c copilot -n '__fish_seen_subcommand_from mcp' -f -a 'get' -d 'Show server details' -complete -c copilot -n '__fish_seen_subcommand_from mcp' -f -a 'add' -d 'Add an MCP server' -complete -c copilot -n '__fish_seen_subcommand_from mcp' -f -a 'remove' -d 'Remove an MCP server' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from list' -l json -f -d 'Output as JSON' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from get' -l json -f -d 'Output as JSON' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from get' -l show-secrets -f -d 'Show full environment variable and header values (masked by default)' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l transport -r -d 'Server transport' -a 'stdio http sse' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l env -r -d 'Environment variable (KEY=VALUE, can be repeated)' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l header -r -d 'HTTP header for remote servers, can be repeated' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l tools -r -d 'Tool filter: "*" for all, comma-separated list, or "" for none' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l timeout -r -d 'Timeout in milliseconds' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l json -f -d 'Output added config as JSON' -complete -c copilot -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from add' -l show-secrets -f -d 'Show full environment variable and header values in output, masked by default' diff --git a/fish/completions/nvm.fish b/fish/completions/nvm.fish deleted file mode 100644 index 14be1b7..0000000 --- a/fish/completions/nvm.fish +++ /dev/null @@ -1,21 +0,0 @@ -complete --command nvm --exclusive -complete --command nvm --exclusive --long version --description "Print version" -complete --command nvm --exclusive --long help --description "Print help" -complete --command nvm --long silent --description "Suppress standard output" - -complete --command nvm --exclusive --condition __fish_use_subcommand --arguments install --description "Download and activate the specified Node version" -complete --command nvm --exclusive --condition __fish_use_subcommand --arguments use --description "Activate the specified Node version in the current shell" -complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list --description "List installed Node versions" -complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list-remote --description "List available Node versions to install" -complete --command nvm --exclusive --condition __fish_use_subcommand --arguments current --description "Print the currently-active Node version" -complete --command nvm --exclusive --condition "__fish_seen_subcommand_from install" --arguments "( - test -e $nvm_data && string split ' ' <$nvm_data/.index -)" -complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use" --arguments "(_nvm_list | string split ' ')" -complete --command nvm --exclusive --condition __fish_use_subcommand --arguments uninstall --description "Uninstall the specified Node version" -complete --command nvm --exclusive --condition "__fish_seen_subcommand_from uninstall" --arguments "( - _nvm_list | string split ' ' | string replace system '' -)" -complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" --arguments "( - set --query nvm_default_version && echo default -)" diff --git a/fish/conf.d/fish_frozen_key_bindings.fish b/fish/conf.d/fish_frozen_key_bindings.fish deleted file mode 100644 index 495aee9..0000000 --- a/fish/conf.d/fish_frozen_key_bindings.fish +++ /dev/null @@ -1,14 +0,0 @@ -# This file was created by fish when upgrading to version 4.3, to migrate -# the 'fish_key_bindings' variable from its old default scope (universal) -# to its new default scope (global). We recommend you delete this file -# and configure key bindings in ~/.config/fish/config.fish if needed. - -# set --global fish_key_bindings fish_default_key_bindings - -# Prior to version 4.3, fish shipped an event handler that runs -# `set --universal fish_key_bindings fish_default_key_bindings` -# whenever the fish_key_bindings variable is erased. -# This means that as long as any fish < 4.3 is still running on this system, -# we cannot complete the migration. -# As a workaround, erase the universal variable at every shell startup. -set --erase --universal fish_key_bindings diff --git a/fish/conf.d/nvm.fish b/fish/conf.d/nvm.fish deleted file mode 100644 index 7545699..0000000 --- a/fish/conf.d/nvm.fish +++ /dev/null @@ -1,28 +0,0 @@ -set --query XDG_DATA_HOME || set --local XDG_DATA_HOME ~/.local/share -set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist -set --query nvm_data || set --global nvm_data $XDG_DATA_HOME/nvm - -function _nvm_install --on-event nvm_install - test ! -d $nvm_data && command mkdir -p $nvm_data - echo "Downloading the Node distribution index..." 2>/dev/null - _nvm_index_update -end - -function _nvm_update --on-event nvm_update - set --query --universal nvm_data && set --erase --universal nvm_data - set --query --universal nvm_mirror && set --erase --universal nvm_mirror - set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist -end - -function _nvm_uninstall --on-event nvm_uninstall - command rm -rf $nvm_data - - set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version - - set --names | string replace --filter --regex -- "^nvm" "set --erase nvm" | source - functions --erase (functions --all | string match --entire --regex -- "^_nvm_") -end - -if status is-interactive && set --query nvm_default_version && ! set --query nvm_current_version - nvm use --silent $nvm_default_version -end diff --git a/fish/conf.d/rustup.fish b/fish/conf.d/rustup.fish deleted file mode 100644 index e4cb363..0000000 --- a/fish/conf.d/rustup.fish +++ /dev/null @@ -1 +0,0 @@ -source "$HOME/.cargo/env.fish" diff --git a/fish/config.fish b/fish/config.fish deleted file mode 100644 index e116641..0000000 --- a/fish/config.fish +++ /dev/null @@ -1,45 +0,0 @@ -set fish_greeting "" -if status is-interactive - # Commands to run in interactive sessions can go here - set -Ux EDITOR nvim - -end - -alias reloadwaybar='pkill -SIGUSR2 waybar' -alias cd='z' -alias man='wikiman' -alias ovim='vim' -alias vim='nvim' -alias edit='nvim' -source "$HOME/.cargo/env.fish" - -# Start ssh-agent if not already running -#if not pgrep -u (id -u) ssh-agent >/dev/null -# ssh-agent -c | source -#end - -# Add SSH keys if not already added -#if test -f ~/.ssh/id_ed25519 -# ssh-add -l >/dev/null 2>&1 -# or ssh-add ~/.ssh/id_ed25519 -#end - -zoxide init fish | source - -# Added by LM Studio CLI (lms) -set -gx PATH $PATH /home/sortedcord/.lmstudio/bin -# End of LM Studio CLI section - -# pnpm -set -gx PNPM_HOME "/home/sortedcord/.local/share/pnpm" -if not string match -q -- $PNPM_HOME $PATH - set -gx PATH "$PNPM_HOME" $PATH -end -# pnpm end - -# claurst -fish_add_path /home/sortedcord/.claurst/bin - - -# Added by Antigravity CLI installer -set -gx PATH "/home/sortedcord/.local/bin" $PATH diff --git a/fish/fish_plugins b/fish/fish_plugins deleted file mode 100644 index aea2aa0..0000000 --- a/fish/fish_plugins +++ /dev/null @@ -1 +0,0 @@ -jorgebucaran/nvm.fish diff --git a/fish/fish_variables b/fish/fish_variables deleted file mode 100644 index b39c064..0000000 --- a/fish/fish_variables +++ /dev/null @@ -1,8 +0,0 @@ -# This file contains fish universal variable definitions. -# VERSION: 3.0 -SETUVAR --export EDITOR:nvim -SETUVAR __fish_initialized:4300 -SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_list\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e\x7e/\x2econfig/fish/functions/nvm\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e\x7e/\x2econfig/fish/completions/nvm\x2efish -SETUVAR _fisher_plugins:jorgebucaran/nvm\x2efish -SETUVAR _fisher_upgraded_to_4_4:\x1d -SETUVAR fish_user_paths:/home/sortedcord/\x2eclaurst/bin\x1e/home/sortedcord/\x2elocal/bin diff --git a/fish/functions/_nvm_index_update.fish b/fish/functions/_nvm_index_update.fish deleted file mode 100644 index c66753d..0000000 --- a/fish/functions/_nvm_index_update.fish +++ /dev/null @@ -1,20 +0,0 @@ -function _nvm_index_update - test ! -d $nvm_data && command mkdir -p $nvm_data - - set --local index $nvm_data/.index - - if not command curl -q --location --silent $nvm_mirror/index.tab >$index.temp - command rm -f $index.temp - echo "nvm: Can't update index, host unavailable: \"$nvm_mirror\"" >&2 - return 1 - end - - command awk -v OFS=\t ' - /v0.9.12/ { exit } # Unsupported - NR > 1 { - print $1 (NR == 2 ? " latest" : $10 != "-" ? " lts/" tolower($10) : "") - } - ' $index.temp >$index - - command rm -f $index.temp -end diff --git a/fish/functions/_nvm_list.fish b/fish/functions/_nvm_list.fish deleted file mode 100644 index 1623bb8..0000000 --- a/fish/functions/_nvm_list.fish +++ /dev/null @@ -1,14 +0,0 @@ -function _nvm_list - set --local versions $nvm_data/* - - set --query versions[1] && - string match --entire --regex -- ( - string replace --all -- $nvm_data/ "" $versions | - string match --regex -- "v\d.+" | - string escape --style=regex | - string join "|" - ) <$nvm_data/.index - - command --all node | - string match --quiet --invert --regex -- "^$nvm_data" && echo system -end diff --git a/fish/functions/_nvm_version_activate.fish b/fish/functions/_nvm_version_activate.fish deleted file mode 100644 index f7dfef7..0000000 --- a/fish/functions/_nvm_version_activate.fish +++ /dev/null @@ -1,4 +0,0 @@ -function _nvm_version_activate --argument-names ver - set --global --export nvm_current_version $ver - set --prepend PATH $nvm_data/$ver/bin -end diff --git a/fish/functions/_nvm_version_deactivate.fish b/fish/functions/_nvm_version_deactivate.fish deleted file mode 100644 index 24dd36e..0000000 --- a/fish/functions/_nvm_version_deactivate.fish +++ /dev/null @@ -1,5 +0,0 @@ -function _nvm_version_deactivate --argument-names ver - test "$nvm_current_version" = "$ver" && set --erase nvm_current_version - set --local index (contains --index -- $nvm_data/$ver/bin $PATH) && - set --erase PATH[$index] -end diff --git a/fish/functions/jpg2png.fish b/fish/functions/jpg2png.fish deleted file mode 100644 index 51b658b..0000000 --- a/fish/functions/jpg2png.fish +++ /dev/null @@ -1,26 +0,0 @@ -function jpg2png --description "Convert a JPG image from URL to PNG format" - if test (count $argv) -ne 2 - echo "Usage: jpg2png " - return 1 - end - - set source $argv[1] - set destination $argv[2] - - set temp_jpg (mktemp --suffix=.jpg) - - if not wget -O $temp_jpg $source 2>&1 - echo "Error: Failed to download JPG from $source" - rm -f $temp_jpg - return 1 - end - - if not magick $temp_jpg $destination - echo "Error: Failed to convert JPG to PNG" - rm -f $temp_jpg - return 1 - end - - rm -f $temp_jpg - echo "Successfully converted and saved to $destination" -end diff --git a/fish/functions/nvm.fish b/fish/functions/nvm.fish deleted file mode 100644 index 64d94c5..0000000 --- a/fish/functions/nvm.fish +++ /dev/null @@ -1,237 +0,0 @@ -function nvm --description "Node version manager" - for silent in --silent -s - if set --local index (contains --index -- $silent $argv) - set --erase argv[$index] && break - end - set --erase silent - end - - set --local cmd $argv[1] - set --local ver $argv[2] - - if set --query silent && ! set --query cmd[1] - echo "nvm: Version number not specified (see nvm -h for usage)" >&2 - return 1 - end - - if ! set --query ver[1] && contains -- "$cmd" install use - for file in .nvmrc .node-version - set file (_nvm_find_up $PWD $file) && read ver <$file && break - end - - if ! set --query ver[1] - echo "nvm: Invalid version or missing \".nvmrc\" file" >&2 - return 1 - end - end - - set --local their_version $ver - - switch "$cmd" - case -v --version - echo "nvm, version 2.2.18" - case "" -h --help - echo "Usage: nvm install Download and activate the specified Node version" - echo " nvm install Install the version specified in the nearest .nvmrc file" - echo " nvm use Activate the specified Node version in the current shell" - echo " nvm use Activate the version specified in the nearest .nvmrc file" - echo " nvm list List installed Node versions" - echo " nvm list-remote List available Node versions to install" - echo " nvm list-remote List Node versions matching a given regex pattern" - echo " nvm current Print the currently-active Node version" - echo " nvm uninstall Uninstall the specified Node version" - echo "Options:" - echo " -s, --silent Suppress standard output" - echo " -v, --version Print the version of nvm" - echo " -h, --help Print this help message" - echo "Variables:" - echo " nvm_arch Override architecture, e.g. x64-musl" - echo " nvm_mirror Use a mirror for downloading Node binaries" - echo " nvm_default_version Set the default version for new shells" - echo " nvm_default_packages Install a list of packages every time a Node version is installed" - echo " nvm_data Set a custom directory for storing nvm data" - echo "Examples:" - echo " nvm install latest Install the latest version of Node" - echo " nvm use 14.15.1 Use Node version 14.15.1" - echo " nvm use system Activate the system's Node version" - - case install - _nvm_index_update - - string match --entire --regex -- (_nvm_version_match $ver) <$nvm_data/.index | read ver alias - - if ! set --query ver[1] - echo "nvm: Invalid version number or alias: \"$their_version\"" >&2 - return 1 - end - - if test ! -e $nvm_data/$ver - set --local os (command uname -s | string lower) - set --local ext tar.gz - set --local arch (command uname -m) - set --local tarcmd tar - - switch $os - case aix - set arch ppc64 - case sunos - case linux - case darwin - case {msys_nt,mingw\*_nt}\* - set os win - set ext zip - set tarcmd bsdtar - case \* - echo "nvm: Unsupported operating system: \"$os\"" >&2 - return 1 - end - - switch $arch - case i\*86 - set arch x86 - case x86_64 - set arch x64 - case arm64 - string match --regex --quiet "v(?\d+)" $ver - if test "$os" = darwin -a $major -lt 16 - set arch x64 - end - case armv6 armv6l - set arch armv6l - case armv7 armv7l - set arch armv7l - case armv8 armv8l aarch64 - set arch arm64 - end - - set --query nvm_arch && set arch $nvm_arch - - set --local dir "node-$ver-$os-$arch" - set --local url $nvm_mirror/$ver/$dir.$ext - - command mkdir -p $nvm_data/$ver - - if ! set --query silent - echo -e "Installing Node \x1b[1m$ver\x1b[22m $alias" - echo -e "Fetching \x1b[4m$url\x1b[24m\x1b[7m" - end - - if ! command curl -q $silent --progress-bar --location $url | - command $tarcmd --extract --gzip --directory $nvm_data/$ver 2>/dev/null - command rm -rf $nvm_data/$ver - echo -e "\033[F\33[2K\x1b[0mnvm: Invalid mirror or host unavailable: \"$url\"" >&2 - return 1 - end - - set --query silent || echo -en "\033[F\33[2K\x1b[0m" - - if test "$os" = win - command mv $nvm_data/$ver/$dir $nvm_data/$ver/bin - else - command mv $nvm_data/$ver/$dir/* $nvm_data/$ver - command rm -rf $nvm_data/$ver/$dir - end - end - - if test $ver != "$nvm_current_version" - set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version - _nvm_version_activate $ver - - set --query nvm_default_packages[1] && npm install --global $silent $nvm_default_packages - end - - set --query silent || printf "Now using Node %s (npm %s) %s\n" (_nvm_node_info) - case use - test $ver = default && set ver $nvm_default_version - _nvm_list | string match --entire --regex -- (_nvm_version_match $ver) | read ver __ - - if ! set --query ver[1] - echo "nvm: Can't use Node \"$their_version\", version must be installed first" >&2 - return 1 - end - - if test $ver != "$nvm_current_version" - set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version - test $ver != system && _nvm_version_activate $ver - end - - set --query silent || printf "Now using Node %s (npm %s) %s\n" (_nvm_node_info) - case uninstall - if test -z "$ver" - echo "nvm: Not enough arguments for command: \"$cmd\"" >&2 - return 1 - end - - test $ver = default && test ! -z "$nvm_default_version" && set ver $nvm_default_version - - _nvm_list | string match --entire --regex -- (_nvm_version_match $ver) | read ver __ - - if ! set -q ver[1] - echo "nvm: Node version not installed or invalid: \"$their_version\"" >&2 - return 1 - end - - set --query silent || printf "Uninstalling Node %s %s\n" $ver (string replace ~ \~ "$nvm_data/$ver/bin/node") - - _nvm_version_deactivate $ver - - command rm -rf $nvm_data/$ver - case current - _nvm_current - case ls list - _nvm_list | _nvm_list_format (_nvm_current) $argv[2] - case lsr {ls,list}-remote - _nvm_index_update || return - _nvm_list | command awk ' - FILENAME == "-" && (is_local[$1] = FNR == NR) { next } { - print $0 (is_local[$1] ? " ✓" : "") - } - ' - $nvm_data/.index | _nvm_list_format (_nvm_current) $argv[2] - case \* - echo "nvm: Unknown command or option: \"$cmd\" (see nvm -h for usage)" >&2 - return 1 - end -end - -function _nvm_find_up --argument-names path file - test -e "$path/$file" && echo $path/$file || begin - test ! -z "$path" || return - _nvm_find_up (string replace --regex -- '/[^/]*$' "" $path) $file - end -end - -function _nvm_version_match --argument-names ver - string replace --regex -- '^v?(\d+|\d+\.\d+)$' 'v$1.' $ver | - string replace --filter --regex -- '^v?(\d+)' 'v$1' | - string escape --style=regex || string lower '\b'$ver'(?:/\w+)?$' -end - -function _nvm_list_format --argument-names current regex - command awk -v current="$current" -v regex="$regex" ' - $0 ~ regex { - aliases[versions[i++] = $1] = $2 " " $3 - pad = (n = length($1)) > pad ? n : pad - } - END { - if (!i) exit 1 - while (i--) - printf((current == versions[i] ? " ▶ " : " ") "%"pad"s %s\n", - versions[i], aliases[versions[i]]) - } - ' -end - -function _nvm_current - command --search --quiet node || return - set --query nvm_current_version && echo $nvm_current_version || echo system -end - -function _nvm_node_info - set --local npm_path (string replace bin/npm-cli.js "" (realpath (command --search npm))) - test -f $npm_path/package.json || set --local npm_version_default (command npm --version) - command node --eval " - console.log(process.version) - console.log('$npm_version_default' ? '$npm_version_default': require('$npm_path/package.json').version) - console.log(process.execPath) - " | string replace -- ~ \~ -end diff --git a/fish/functions/y.fish b/fish/functions/y.fish deleted file mode 100644 index a846c63..0000000 --- a/fish/functions/y.fish +++ /dev/null @@ -1,8 +0,0 @@ -function y - set tmp (mktemp -t "yazi-cwd.XXXXXX") - yazi $argv --cwd-file="$tmp" - if read -z cwd <"$tmp"; and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ] - builtin cd -- "$cwd" - end - rm -f -- "$tmp" -end diff --git a/hypr/hyprland.lua b/hypr/hyprland.lua index 9259e7c..9af95be 100644 --- a/hypr/hyprland.lua +++ b/hypr/hyprland.lua @@ -37,7 +37,7 @@ hl.monitor({ -- Set programs that you use local terminal = "kitty" local fileManager = "kitty" -local menu = "hyprlauncher" +local menu = "/home/sortedcord/.config/rofi/launch.sh -show drun" local browser = "vivaldi-stable --enable-features=AcceleratedVideoEncoder" local browserPrivate = "vivaldi --incognito --enable-features=AcceleratedVideoEncoder" @@ -50,7 +50,7 @@ local browserPrivate = "vivaldi --incognito --enable-features=AcceleratedVideoEn -- Autostart necessary processes (like notifications daemons, status bars, etc.) -- Or execute your favorite apps at launch like this: hl.on("hyprland.start", function() - hl.exec_cmd("swaybg -i /home/sortedcord/Pictures/Wallpapers/cliff.jpg -m fill") + hl.exec_cmd("swaybg -i /home/sortedcord/Pictures/Wallpapers/wallpapers/minecraft/stahlgrave-tower.webp -m fill") hl.exec_cmd("wayle shell") hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") hl.exec_cmd("quickshell") diff --git a/hypr/keybinds.lua b/hypr/keybinds.lua index a413ccc..40d4edf 100644 --- a/hypr/keybinds.lua +++ b/hypr/keybinds.lua @@ -69,7 +69,7 @@ function M.setup(opts) hl.bind(mainMod .. " + K", hy3.move_focus("u")) hl.bind(mainMod .. " + L", hy3.move_focus("r")) - hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("rofi -show window")) + hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("/home/sortedcord/.config/rofi/launch.sh -show window")) -- Move window with mainMod + SHIFT + hjkl (hy3 plugin aware) hl.bind(mainMod .. " + SHIFT + H", hy3.move_window("l")) @@ -183,8 +183,16 @@ function M.setup(opts) hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true, repeating = true } ) - hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true }) - hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true }) + hl.bind( + "XF86MonBrightnessUp", + hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), + { locked = true, repeating = true } + ) + hl.bind( + "XF86MonBrightnessDown", + hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), + { locked = true, repeating = true } + ) -- Requires playerctl hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) @@ -194,7 +202,10 @@ function M.setup(opts) -- Cursor controls (simplified - submaps not supported in Lua API) -- Jump cursor to a position - hl.bind("SUPER + G + A", hl.dsp.exec_cmd("hyprctl dispatch submap reset && wl-kbptr && hyprctl dispatch submap cursor")) + hl.bind( + "SUPER + G + A", + hl.dsp.exec_cmd("hyprctl dispatch submap reset && wl-kbptr && hyprctl dispatch submap cursor") + ) -- Cursor movement hl.bind("SUPER + G + J", hl.dsp.exec_cmd("wlrctl pointer move 0 10"), { repeating = true }) diff --git a/kitty/current-theme.conf b/kitty/current-theme.conf index cda16f7..16a1eac 100644 --- a/kitty/current-theme.conf +++ b/kitty/current-theme.conf @@ -1,70 +1,29 @@ -# vim:ft=kitty -## name: Everforest Light Medium -## author: Sainnhe Park -## license: MIT -## upstream: https://github.com/ewal/kitty-everforest/blob/master/themes/everforest_light_medium.conf -## blurb: A green based color scheme designed to be warm and soft +background #202020 +foreground #d0d0d0 +cursor #d0d0d0 +selection_background #eecb8b +color0 #151515 +color8 #505050 +color1 #ac4142 +color9 #ac4142 +color2 #7e8d50 +color10 #7e8d50 +color3 #e5b566 +color11 #e5b566 +color4 #6c99ba +color12 #6c99ba +color5 #9e4e85 +color13 #9e4e85 +color6 #7dd5cf +color14 #7dd5cf +color7 #d0d0d0 +color15 #f5f5f5 +selection_foreground #232323 -foreground #5c6a72 -background #fdf6e3 -selection_foreground #829181 -selection_background #eaedc8 - -cursor #5c6a72 -cursor_text_color #f4f0d9 - -url_color #3a94c5 - -active_border_color #8da101 -inactive_border_color #bdc3af -bell_border_color #f57d26 -visual_bell_color none - -wayland_titlebar_color system -macos_titlebar_color system - -active_tab_background #fdf6e3 -active_tab_foreground #5c6a72 -inactive_tab_background #fdf6e3 -inactive_tab_foreground #939f91 -tab_bar_background #fdf6e3 -tab_bar_margin_color none - -mark1_foreground #fdf6e3 -mark1_background #3a94c5 -mark2_foreground #fdf6e3 -mark2_background #d3c6aa -mark3_foreground #fdf6e3 -mark3_background #df69ba - -#: black -color0 #708089 -color8 #829181 - -#: red -color1 #f85552 -color9 #e66868 - -#: green -color2 #8da101 -color10 #93b259 - -#: yellow -color3 #dfa000 -color11 #dfa000 - -#: blue -color4 #3a94c5 -color12 #3a94c5 - -#: magenta -color5 #df69ba -color13 #df69ba - -#: cyan -color6 #35a77c -color14 #35a77c - -#: white -color7 #939f91 -color15 #a6b0a0 +# START_AUTOGENERATED_TAB_STYLE +# Feel free to update these colors manually and remove these comments. +active_tab_foreground #444444 +active_tab_background #eecb8b +inactive_tab_foreground #d0d0d0 +inactive_tab_background #1a1a1a +# END_AUTOGENERATED_TAB_STYLE diff --git a/kitty/kitty.conf b/kitty/kitty.conf index f25f964..c9f0f80 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -8,7 +8,7 @@ window_padding_width 5 background_opacity 0.96 background_blur 0 # BEGIN_KITTY_THEME -# Everforest Light Medium +# Afterglow include current-theme.conf # END_KITTY_THEME window_padding_width 8 diff --git a/kitty/kitty.conf.bak b/kitty/kitty.conf.bak index c9f0f80..f25f964 100644 --- a/kitty/kitty.conf.bak +++ b/kitty/kitty.conf.bak @@ -8,7 +8,7 @@ window_padding_width 5 background_opacity 0.96 background_blur 0 # BEGIN_KITTY_THEME -# Afterglow +# Everforest Light Medium include current-theme.conf # END_KITTY_THEME window_padding_width 8 diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..697e388 --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1,115 @@ +configuration { + font: "Cartograph CF 12"; + show-icons: true; + icon-theme: "Papirus"; +} + +@theme "rose_pine" + +#window { + background-color: @background; + border: 3; + border-radius: 6; + border-color: @bordercolor; + padding: 5; +} +#mainbox { + border: 0; + padding: 5; +} +#message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +#textbox { + text-color: @foreground; +} +#listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: @bordercolor; + spacing: 2px ; + scrollbar: false; + padding: 2px 0px 0px ; +} +#element { + border: 0; + padding: 1px ; +} +#element.normal.normal { + background-color: @background; + text-color: @foreground; +} +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +#element.normal.active { + background-color: @active-background; + text-color: @background; +} +#element.selected.normal { + background-color: @selected-background; + text-color: @foreground; +} +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @foreground; +} +#element.selected.active { + background-color: @selected-active-background; + text-color: @background; +} +#element.alternate.normal { + background-color: @background; + text-color: @foreground; +} +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @foreground; +} +#element.alternate.active { + background-color: @active-background; + text-color: @foreground; +} +#scrollbar { + width: 2px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +#sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +#button.selected { + background-color: @selected-background; + text-color: @foreground; +} +#inputbar { + spacing: 0; + text-color: @foreground; + padding: 1px ; +} +#case-indicator { + spacing: 0; + text-color: @foreground; +} +#entry { + spacing: 0; + text-color: @cya; +} +#prompt { + spacing: 0; + text-color: @grn; +} +#inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +#textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em; + text-color: @grn; +} diff --git a/rofi/launch.sh b/rofi/launch.sh new file mode 100755 index 0000000..af6228e --- /dev/null +++ b/rofi/launch.sh @@ -0,0 +1,51 @@ +#!/usr/bin/env bash + +# Function to detect if the OS theme is dark +is_dark_theme() { + # Method 1: gsettings (GNOME/GTK color-scheme) + if command -v gsettings >/dev/null 2>&1; then + local scheme + scheme=$(gsettings get org.gnome.desktop.interface color-scheme 2>/dev/null | tr -d "'") + if [ "$scheme" = "prefer-dark" ]; then + return 0 + elif [ "$scheme" = "prefer-light" ]; then + return 1 + fi + fi + + # Method 2: XDG Desktop Portal dbus query (desktop-agnostic portal) + if command -v dbus-send >/dev/null 2>&1; then + local dbus_val + dbus_val=$(dbus-send --print-reply --dest=org.freedesktop.portal.Desktop \ + /org/freedesktop/portal/desktop \ + org.freedesktop.portal.Settings.Read \ + string:'org.freedesktop.appearance' string:'color-scheme' 2>/dev/null) + if echo "$dbus_val" | grep -q "uint32 1"; then + return 0 # Dark + elif echo "$dbus_val" | grep -q "uint32 2"; then + return 1 # Light + fi + fi + + # Method 3: Fallback check on GTK theme name for "dark" + if command -v gsettings >/dev/null 2>&1; then + local gtk_theme + gtk_theme=$(gsettings get org.gnome.desktop.interface gtk-theme 2>/dev/null | tr -d "'" | tr '[:upper:]' '[:lower:]') + if [[ "$gtk_theme" =~ "dark" || "$gtk_theme" =~ "black" || "$gtk_theme" =~ "night" ]]; then + return 0 + fi + fi + + # Default fallback to dark theme + return 0 +} + +# Determine the correct theme based on the OS theme +if is_dark_theme; then + THEME="rose_pine" +else + THEME="rose_pine_dawn" +fi + +# Launch rofi with the selected theme, forwarding any passed arguments +exec rofi -theme "$THEME" "$@" diff --git a/rofi/themes/rose_pine.rasi b/rofi/themes/rose_pine.rasi new file mode 100644 index 0000000..12763d1 --- /dev/null +++ b/rofi/themes/rose_pine.rasi @@ -0,0 +1,187 @@ +/****************************************************************************** + * ROFI Color theme + * Theme: Rosé Pine (C64 Style) + ******************************************************************************/ + +* { + /* Rosé Pine Palette */ + bg: #191724; + cur: #1f1d2e; + fgd: #e0def4; + cmt: #6e6a86; + cya: #9ccfd8; + grn: #31748f; + ora: #ebbcba; + pur: #c4a7e7; + red: #eb6f92; + yel: #f6c177; + + foreground: @fgd; + background: @bg; + bordercolor: @ora; + separatorcolor: @grn; + + normal-foreground: @foreground; + normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-normal-background: @background; + selected-normal-foreground: @fgd; + selected-normal-background: @grn; + selected-foreground: @selected-normal-foreground; + selected-background: @selected-normal-background; + + active-foreground: @grn; + active-background: @background; + alternate-active-foreground: @active-foreground; + alternate-active-background: @background; + selected-active-foreground: @bg; + selected-active-background: @grn; + + urgent-foreground: @red; + urgent-background: @background; + alternate-urgent-foreground: @urgent-foreground; + alternate-urgent-background: @background; + selected-urgent-foreground: @bg; + selected-urgent-background: @red; + + border-color: @bordercolor; + spacing: 2; + background-color: rgba ( 0, 0, 0, 0 % ); +} + +window { + font: "Cartograph CF 12"; + background-color: @background; + border: 0; + padding: 5; +} + +mainbox { + border: 0; + padding: 0; + margin: 0; + background-color: @background; +} + +message { + border: 1px dash 0px dash ; + border-color: @separatorcolor; + padding: 1px ; +} + +textbox { + text-color: @foreground; +} + +listview { + fixed-height: 0; + border: 0px 0px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: false; + padding: 5px 5px 5px ; +} + +element { + border: 0; + padding: 1px ; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} + +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} + +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} + +scrollbar { + width: 0px ; + border: 0; + handle-width: 8px ; + padding: 0; +} + +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} + +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} + +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} + +entry { + spacing: 0; + text-color: @normal-foreground; +} + +prompt { + spacing: 0; + text-color: @normal-foreground; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry, case-indicator ]; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/rofi/themes/rose_pine_dawn.rasi b/rofi/themes/rose_pine_dawn.rasi new file mode 100644 index 0000000..3bbb642 --- /dev/null +++ b/rofi/themes/rose_pine_dawn.rasi @@ -0,0 +1,187 @@ +/****************************************************************************** + * ROFI Color theme + * Theme: Rosé Pine Dawn (C64 Style) + ******************************************************************************/ + +* { + /* Rosé Pine Dawn Palette */ + bg: #faf4ed; + cur: #fffaf3; + fgd: #575279; + cmt: #9893a5; + cya: #56949f; + grn: #286983; + ora: #d7827e; + pur: #907aa9; + red: #b4637a; + yel: #ea9d34; + + foreground: @fgd; + background: @bg; + bordercolor: @ora; + separatorcolor: @grn; + + normal-foreground: @foreground; + normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-normal-background: @background; + selected-normal-foreground: @foreground; + selected-normal-background: @grn; + selected-foreground: @selected-normal-foreground; + selected-background: @selected-normal-background; + + active-foreground: @grn; + active-background: @background; + alternate-active-foreground: @active-foreground; + alternate-active-background: @background; + selected-active-foreground: @bg; + selected-active-background: @grn; + + urgent-foreground: @red; + urgent-background: @background; + alternate-urgent-foreground: @urgent-foreground; + alternate-urgent-background: @background; + selected-urgent-foreground: @bg; + selected-urgent-background: @red; + + border-color: @bordercolor; + spacing: 2; + background-color: rgba ( 0, 0, 0, 0 % ); +} + +window { + font: "Cartograph CF 12"; + background-color: @background; + border: 0; + padding: 5; +} + +mainbox { + border: 0; + padding: 0; + margin: 0; + background-color: @background; +} + +message { + border: 1px dash 0px dash ; + border-color: @separatorcolor; + padding: 1px ; +} + +textbox { + text-color: @foreground; +} + +listview { + fixed-height: 0; + border: 0px 0px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: false; + padding: 5px 5px 5px ; +} + +element { + border: 0; + padding: 1px ; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} + +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} + +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} + +scrollbar { + width: 0px ; + border: 0; + handle-width: 8px ; + padding: 0; +} + +mode-switcher { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} + +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} + +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} + +entry { + spacing: 0; + text-color: @normal-foreground; +} + +prompt { + spacing: 0; + text-color: @normal-foreground; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry, case-indicator ]; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/wayle/runtime.toml b/wayle/runtime.toml index e69de29..597aa2e 100644 --- a/wayle/runtime.toml +++ b/wayle/runtime.toml @@ -0,0 +1,15 @@ +[bar] +button-rounding = "none" +dropdown-shadow = false + +[styling.palette] +bg = "#191724" +surface = "#1f1d2e" +elevated = "#26233a" +fg = "#e0def4" +fg-muted = "#908caa" +primary = "#c4a7e7" +red = "#eb6f92" +yellow = "#f6c177" +green = "#9ccfd8" +blue = "#31748f" diff --git a/wayle/themes/rose_pine.toml b/wayle/themes/rose_pine.toml new file mode 100644 index 0000000..8f4ed29 --- /dev/null +++ b/wayle/themes/rose_pine.toml @@ -0,0 +1,14 @@ +# ~/.config/wayle/themes/rose_pine.toml +bg = "#191724" +surface = "#1f1d2e" +elevated = "#26233a" + +fg = "#e0def4" +fg_muted = "#908caa" + +primary = "#c4a7e7" + +red = "#eb6f92" +yellow = "#f6c177" +green = "#9ccfd8" +blue = "#31748f" diff --git a/wayle/themes/rose_pine_dawn.toml b/wayle/themes/rose_pine_dawn.toml new file mode 100644 index 0000000..ac09aa3 --- /dev/null +++ b/wayle/themes/rose_pine_dawn.toml @@ -0,0 +1,14 @@ +# ~/.config/wayle/themes/rose_pine_dawn.toml +bg = "#faf4ed" +surface = "#fffaf3" +elevated = "#f2e9e1" + +fg = "#575279" +fg_muted = "#797593" + +primary = "#907aa9" + +red = "#b4637a" +yellow = "#ea9d34" +green = "#56949f" +blue = "#286983" diff --git a/wayle/themes/tokyo-night.toml b/wayle/themes/tokyo-night.toml new file mode 100644 index 0000000..832fe25 --- /dev/null +++ b/wayle/themes/tokyo-night.toml @@ -0,0 +1,14 @@ +# ~/.config/wayle/themes/tokyo-night.toml +bg = "#1a1b26" +surface = "#24283b" +elevated = "#2f334d" + +fg = "#c0caf5" +fg_muted = "#9aa5ce" + +primary = "#7aa2f7" + +red = "#f7768e" +yellow = "#e0af68" +green = "#9ece6a" +blue = "#7aa2f7"