Compare commits

...

No commits in common. "main" and "moon-hypr" have entirely different histories.

271 changed files with 4291 additions and 3 deletions

7
.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
dot-config/tmux/plugins
dot-config/vesktop/Singleton*
dot-config/vesktop/state.json
dot-config/vesktop/sessionData
dot-config/vesktop/Crashpad
dot-config/spicetify/Extracted
dot-local/share/nvim

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "dot-config/tmux/tpm"]
path = dot-config/tmux/tpm
url = https://github.com/tmux-plugins/tpm

4
.stow-local-ignore Normal file
View file

@ -0,0 +1,4 @@
.git
.gitignore
.gitmodules
makelinks

View file

@ -1,3 +0,0 @@
#### Branches:
- main-pc: Desktop
- nabu: Tablet with keyboard (Xiaomi Pad 5)

View file

@ -0,0 +1,22 @@
[env]
TERM = "xterm-256color"
[window]
padding = { x = 10, y = 10 }
dynamic_padding = true
decorations = "Full"
opacity = 1
[font]
normal = { family = "JetBrainsMono Nerd Font Mono", style = "Regular" }
size = 12
[general]
live_config_reload = true
import = [
"~/.config/alacritty/catppuccin-mocha.toml"
]
[terminal]
shell = { program = "tmux", args = ["new"] }

View file

@ -0,0 +1,75 @@
[colors.primary]
background = "#1e1e2e"
foreground = "#cdd6f4"
dim_foreground = "#7f849c"
bright_foreground = "#cdd6f4"
[colors.cursor]
text = "#1e1e2e"
cursor = "#f5e0dc"
[colors.vi_mode_cursor]
text = "#1e1e2e"
cursor = "#b4befe"
[colors.search.matches]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.search.focused_match]
foreground = "#1e1e2e"
background = "#a6e3a1"
[colors.footer_bar]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.hints.start]
foreground = "#1e1e2e"
background = "#f9e2af"
[colors.hints.end]
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.selection]
text = "#1e1e2e"
background = "#f5e0dc"
[colors.normal]
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"
[colors.bright]
black = "#585b70"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#a6adc8"
[colors.dim]
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"
[[colors.indexed_colors]]
index = 16
color = "#fab387"
[[colors.indexed_colors]]
index = 17
color = "#f5e0dc"

View file

@ -0,0 +1,235 @@
# fish completion for lon-tool -*- shell-script -*-
function __lon_tool_debug
set -l file "$BASH_COMP_DEBUG_FILE"
if test -n "$file"
echo "$argv" >> $file
end
end
function __lon_tool_perform_completion
__lon_tool_debug "Starting __lon_tool_perform_completion"
# Extract all args except the last one
set -l args (commandline -opc)
# Extract the last arg and escape it in case it is a space
set -l lastArg (string escape -- (commandline -ct))
__lon_tool_debug "args: $args"
__lon_tool_debug "last arg: $lastArg"
# Disable ActiveHelp which is not supported for fish shell
set -l requestComp "LON_TOOL_ACTIVE_HELP=0 $args[1] __complete $args[2..-1] $lastArg"
__lon_tool_debug "Calling $requestComp"
set -l results (eval $requestComp 2> /dev/null)
# Some programs may output extra empty lines after the directive.
# Let's ignore them or else it will break completion.
# Ref: https://github.com/spf13/cobra/issues/1279
for line in $results[-1..1]
if test (string trim -- $line) = ""
# Found an empty line, remove it
set results $results[1..-2]
else
# Found non-empty line, we have our proper output
break
end
end
set -l comps $results[1..-2]
set -l directiveLine $results[-1]
# For Fish, when completing a flag with an = (e.g., <program> -n=<TAB>)
# completions must be prefixed with the flag
set -l flagPrefix (string match -r -- '-.*=' "$lastArg")
__lon_tool_debug "Comps: $comps"
__lon_tool_debug "DirectiveLine: $directiveLine"
__lon_tool_debug "flagPrefix: $flagPrefix"
for comp in $comps
printf "%s%s\n" "$flagPrefix" "$comp"
end
printf "%s\n" "$directiveLine"
end
# this function limits calls to __lon_tool_perform_completion, by caching the result behind $__lon_tool_perform_completion_once_result
function __lon_tool_perform_completion_once
__lon_tool_debug "Starting __lon_tool_perform_completion_once"
if test -n "$__lon_tool_perform_completion_once_result"
__lon_tool_debug "Seems like a valid result already exists, skipping __lon_tool_perform_completion"
return 0
end
set --global __lon_tool_perform_completion_once_result (__lon_tool_perform_completion)
if test -z "$__lon_tool_perform_completion_once_result"
__lon_tool_debug "No completions, probably due to a failure"
return 1
end
__lon_tool_debug "Performed completions and set __lon_tool_perform_completion_once_result"
return 0
end
# this function is used to clear the $__lon_tool_perform_completion_once_result variable after completions are run
function __lon_tool_clear_perform_completion_once_result
__lon_tool_debug ""
__lon_tool_debug "========= clearing previously set __lon_tool_perform_completion_once_result variable =========="
set --erase __lon_tool_perform_completion_once_result
__lon_tool_debug "Successfully erased the variable __lon_tool_perform_completion_once_result"
end
function __lon_tool_requires_order_preservation
__lon_tool_debug ""
__lon_tool_debug "========= checking if order preservation is required =========="
__lon_tool_perform_completion_once
if test -z "$__lon_tool_perform_completion_once_result"
__lon_tool_debug "Error determining if order preservation is required"
return 1
end
set -l directive (string sub --start 2 $__lon_tool_perform_completion_once_result[-1])
__lon_tool_debug "Directive is: $directive"
set -l shellCompDirectiveKeepOrder 32
set -l keeporder (math (math --scale 0 $directive / $shellCompDirectiveKeepOrder) % 2)
__lon_tool_debug "Keeporder is: $keeporder"
if test $keeporder -ne 0
__lon_tool_debug "This does require order preservation"
return 0
end
__lon_tool_debug "This doesn't require order preservation"
return 1
end
# This function does two things:
# - Obtain the completions and store them in the global __lon_tool_comp_results
# - Return false if file completion should be performed
function __lon_tool_prepare_completions
__lon_tool_debug ""
__lon_tool_debug "========= starting completion logic =========="
# Start fresh
set --erase __lon_tool_comp_results
__lon_tool_perform_completion_once
__lon_tool_debug "Completion results: $__lon_tool_perform_completion_once_result"
if test -z "$__lon_tool_perform_completion_once_result"
__lon_tool_debug "No completion, probably due to a failure"
# Might as well do file completion, in case it helps
return 1
end
set -l directive (string sub --start 2 $__lon_tool_perform_completion_once_result[-1])
set --global __lon_tool_comp_results $__lon_tool_perform_completion_once_result[1..-2]
__lon_tool_debug "Completions are: $__lon_tool_comp_results"
__lon_tool_debug "Directive is: $directive"
set -l shellCompDirectiveError 1
set -l shellCompDirectiveNoSpace 2
set -l shellCompDirectiveNoFileComp 4
set -l shellCompDirectiveFilterFileExt 8
set -l shellCompDirectiveFilterDirs 16
if test -z "$directive"
set directive 0
end
set -l compErr (math (math --scale 0 $directive / $shellCompDirectiveError) % 2)
if test $compErr -eq 1
__lon_tool_debug "Received error directive: aborting."
# Might as well do file completion, in case it helps
return 1
end
set -l filefilter (math (math --scale 0 $directive / $shellCompDirectiveFilterFileExt) % 2)
set -l dirfilter (math (math --scale 0 $directive / $shellCompDirectiveFilterDirs) % 2)
if test $filefilter -eq 1; or test $dirfilter -eq 1
__lon_tool_debug "File extension filtering or directory filtering not supported"
# Do full file completion instead
return 1
end
set -l nospace (math (math --scale 0 $directive / $shellCompDirectiveNoSpace) % 2)
set -l nofiles (math (math --scale 0 $directive / $shellCompDirectiveNoFileComp) % 2)
__lon_tool_debug "nospace: $nospace, nofiles: $nofiles"
# If we want to prevent a space, or if file completion is NOT disabled,
# we need to count the number of valid completions.
# To do so, we will filter on prefix as the completions we have received
# may not already be filtered so as to allow fish to match on different
# criteria than the prefix.
if test $nospace -ne 0; or test $nofiles -eq 0
set -l prefix (commandline -t | string escape --style=regex)
__lon_tool_debug "prefix: $prefix"
set -l completions (string match -r -- "^$prefix.*" $__lon_tool_comp_results)
set --global __lon_tool_comp_results $completions
__lon_tool_debug "Filtered completions are: $__lon_tool_comp_results"
# Important not to quote the variable for count to work
set -l numComps (count $__lon_tool_comp_results)
__lon_tool_debug "numComps: $numComps"
if test $numComps -eq 1; and test $nospace -ne 0
# We must first split on \t to get rid of the descriptions to be
# able to check what the actual completion will be.
# We don't need descriptions anyway since there is only a single
# real completion which the shell will expand immediately.
set -l split (string split --max 1 \t $__lon_tool_comp_results[1])
# Fish won't add a space if the completion ends with any
# of the following characters: @=/:.,
set -l lastChar (string sub -s -1 -- $split)
if not string match -r -q "[@=/:.,]" -- "$lastChar"
# In other cases, to support the "nospace" directive we trick the shell
# by outputting an extra, longer completion.
__lon_tool_debug "Adding second completion to perform nospace directive"
set --global __lon_tool_comp_results $split[1] $split[1].
__lon_tool_debug "Completions are now: $__lon_tool_comp_results"
end
end
if test $numComps -eq 0; and test $nofiles -eq 0
# To be consistent with bash and zsh, we only trigger file
# completion when there are no other completions
__lon_tool_debug "Requesting file completion"
return 1
end
end
return 0
end
# Since Fish completions are only loaded once the user triggers them, we trigger them ourselves
# so we can properly delete any completions provided by another script.
# Only do this if the program can be found, or else fish may print some errors; besides,
# the existing completions will only be loaded if the program can be found.
if type -q "lon-tool"
# The space after the program name is essential to trigger completion for the program
# and not completion of the program name itself.
# Also, we use '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.
complete --do-complete "lon-tool " > /dev/null 2>&1
end
# Remove any pre-existing completions for the program since we will be handling all of them.
complete -c lon-tool -e
# this will get called after the two calls below and clear the $__lon_tool_perform_completion_once_result global
complete -c lon-tool -n '__lon_tool_clear_perform_completion_once_result'
# The call to __lon_tool_prepare_completions will setup __lon_tool_comp_results
# which provides the program's completion choices.
# If this doesn't require order preservation, we don't use the -k flag
complete -c lon-tool -n 'not __lon_tool_requires_order_preservation && __lon_tool_prepare_completions' -f -a '$__lon_tool_comp_results'
# otherwise we use the -k flag
complete -k -c lon-tool -n '__lon_tool_requires_order_preservation && __lon_tool_prepare_completions' -f -a '$__lon_tool_comp_results'

View file

@ -0,0 +1,257 @@
function __fish_poetry_9cf82bc144790825_complete_no_subcommand
for i in (commandline -opc)
if contains -- $i about add build cache check config debug env export help init install list lock new publish remove run search self shell show source update version
return 1
end
end
return 0
end
# global options
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l ansi -d 'Force ANSI output.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l directory -d 'The working directory for the Poetry command (defaults to the current working directory).'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l help -d 'Display help for the given command. When no command is given display help for the list command.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l no-ansi -d 'Disable ANSI output.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l no-cache -d 'Disables Poetry source caches.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l no-interaction -d 'Do not ask any interactive question.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l no-plugins -d 'Disables plugins.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l quiet -d 'Do not output any message.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l verbose -d 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.'
complete -c poetry -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -l version -d 'Display this application version.'
# commands
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a about -d 'Shows information about Poetry.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a add -d 'Adds a new dependency to pyproject.toml and installs it.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a build -d 'Builds a package, as a tarball and a wheel by default.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a cache
complete -c poetry -f -n '__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clear list' -a clear -d 'Clears a Poetry cache by name.'
complete -c poetry -f -n '__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clear list' -a list -d 'List Poetry\'s caches.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a check -d 'Validates the content of the pyproject.toml file and its consistency with the poetry.lock file.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a config -d 'Manages configuration settings.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a debug
complete -c poetry -f -n '__fish_seen_subcommand_from debug; and not __fish_seen_subcommand_from info resolve' -a info -d 'Shows debug information.'
complete -c poetry -f -n '__fish_seen_subcommand_from debug; and not __fish_seen_subcommand_from info resolve' -a resolve -d 'Debugs dependency resolution.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a env
complete -c poetry -f -n '__fish_seen_subcommand_from env; and not __fish_seen_subcommand_from info list remove use' -a info -d 'Displays information about the current environment.'
complete -c poetry -f -n '__fish_seen_subcommand_from env; and not __fish_seen_subcommand_from info list remove use' -a list -d 'Lists all virtualenvs associated with the current project.'
complete -c poetry -f -n '__fish_seen_subcommand_from env; and not __fish_seen_subcommand_from info list remove use' -a remove -d 'Remove virtual environments associated with the project.'
complete -c poetry -f -n '__fish_seen_subcommand_from env; and not __fish_seen_subcommand_from info list remove use' -a use -d 'Activates or creates a new virtualenv for the current project.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a export -d 'Exports the lock file to alternative formats.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a help -d 'Displays help for a command.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a init -d 'Creates a basic pyproject.toml file in the current directory.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a install -d 'Installs the project dependencies.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a list -d 'Lists commands.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a lock -d 'Locks the project dependencies.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a new -d 'Creates a new Python project at <path>.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a publish -d 'Publishes a package to a remote repository.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a remove -d 'Removes a package from the project dependencies.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a run -d 'Runs a command in the appropriate environment.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a search -d 'Searches for packages on remote repositories.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a self
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a add -d 'Add additional packages to Poetry\'s runtime environment.'
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a install -d 'Install locked packages (incl. addons) required by this Poetry installation.'
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a lock -d 'Lock the Poetry installation\'s system requirements.'
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a remove -d 'Remove additional packages from Poetry\'s runtime environment.'
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a show -d 'Show packages from Poetry\'s runtime environment.'
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a plugins -d 'Shows information about the currently installed plugins.'
complete -c poetry -f -n '__fish_seen_subcommand_from self; and not __fish_seen_subcommand_from add install lock remove update show' -a update -d 'Updates Poetry to the latest version.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a shell -d 'Spawns a shell within the virtual environment.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a show -d 'Shows information about packages.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a source
complete -c poetry -f -n '__fish_seen_subcommand_from source; and not __fish_seen_subcommand_from add remove show' -a add -d 'Add source configuration for project.'
complete -c poetry -f -n '__fish_seen_subcommand_from source; and not __fish_seen_subcommand_from add remove show' -a remove -d 'Remove source configured for the project.'
complete -c poetry -f -n '__fish_seen_subcommand_from source; and not __fish_seen_subcommand_from add remove show' -a show -d 'Show information about sources configured for the project.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a update -d 'Update the dependencies as according to the pyproject.toml file.'
complete -c poetry -f -n '__fish_poetry_9cf82bc144790825_complete_no_subcommand' -a version -d 'Shows the version of the project or bumps it when a valid bump rule is provided.'
# command options
# about
# add
complete -c poetry -n '__fish_seen_subcommand_from add' -l allow-prereleases -d 'Accept prereleases.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l dev -d 'Add as a development dependency. (Deprecated) Use --group=dev instead.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from add' -l editable -d 'Add vcs/path dependencies as editable.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l extras -d 'Extras to activate for the dependency.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l group -d 'The group to add the dependency to.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l lock -d 'Do not perform operations (only update the lockfile).'
complete -c poetry -n '__fish_seen_subcommand_from add' -l optional -d 'Add as an optional dependency.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l platform -d 'Platforms for which the dependency must be installed.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l python -d 'Python version for which the dependency must be installed.'
complete -c poetry -n '__fish_seen_subcommand_from add' -l source -d 'Name of the source to use to install the package.'
# build
complete -c poetry -n '__fish_seen_subcommand_from build' -l format -d 'Limit the format to either sdist or wheel.'
complete -c poetry -n '__fish_seen_subcommand_from build' -l output -d 'Set output directory for build artifacts. Default is `dist`.'
# cache clear
complete -c poetry -n '__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clear' -l all -d 'Clear all entries in the cache.'
# cache list
# check
complete -c poetry -n '__fish_seen_subcommand_from check' -l lock -d 'Checks that poetry.lock exists for the current version of pyproject.toml.'
# config
complete -c poetry -n '__fish_seen_subcommand_from config' -l list -d 'List configuration settings.'
complete -c poetry -n '__fish_seen_subcommand_from config' -l local -d 'Set/Get from the project\'s local configuration.'
complete -c poetry -n '__fish_seen_subcommand_from config' -l unset -d 'Unset configuration setting.'
# debug info
# debug resolve
complete -c poetry -n '__fish_seen_subcommand_from debug; and __fish_seen_subcommand_from resolve' -l extras -d 'Extras to activate for the dependency.'
complete -c poetry -n '__fish_seen_subcommand_from debug; and __fish_seen_subcommand_from resolve' -l install -d 'Show what would be installed for the current system.'
complete -c poetry -n '__fish_seen_subcommand_from debug; and __fish_seen_subcommand_from resolve' -l python -d 'Python version(s) to use for resolution.'
complete -c poetry -n '__fish_seen_subcommand_from debug; and __fish_seen_subcommand_from resolve' -l tree -d 'Display the dependency tree.'
# env info
complete -c poetry -n '__fish_seen_subcommand_from env; and __fish_seen_subcommand_from info' -l executable -d 'Only display the environment\'s python executable path.'
complete -c poetry -n '__fish_seen_subcommand_from env; and __fish_seen_subcommand_from info' -l path -d 'Only display the environment\'s path.'
# env list
complete -c poetry -n '__fish_seen_subcommand_from env; and __fish_seen_subcommand_from list' -l full-path -d 'Output the full paths of the virtualenvs.'
# env remove
complete -c poetry -n '__fish_seen_subcommand_from env; and __fish_seen_subcommand_from remove' -l all -d 'Remove all managed virtual environments associated with the project.'
# env use
# export
complete -c poetry -n '__fish_seen_subcommand_from export' -l all-extras -d 'Include all sets of extra dependencies.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l dev -d 'Include development dependencies. (Deprecated)'
complete -c poetry -n '__fish_seen_subcommand_from export' -l extras -d 'Extra sets of dependencies to include.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l format -d 'Format to export to. Currently, only constraints.txt and requirements.txt are supported.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l only -d 'The only dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l output -d 'The name of the output file.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l with -d 'The optional dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l with-credentials -d 'Include credentials for extra indices.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l without -d 'The dependency groups to ignore.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l without-hashes -d 'Exclude hashes from the exported file.'
complete -c poetry -n '__fish_seen_subcommand_from export' -l without-urls -d 'Exclude source repository urls from the exported file.'
# help
# init
complete -c poetry -n '__fish_seen_subcommand_from init' -l author -d 'Author name of the package.'
complete -c poetry -n '__fish_seen_subcommand_from init' -l dependency -d 'Package to require, with an optional version constraint, e.g. requests:^2.10.0 or requests=2.11.1.'
complete -c poetry -n '__fish_seen_subcommand_from init' -l description -d 'Description of the package.'
complete -c poetry -n '__fish_seen_subcommand_from init' -l dev-dependency -d 'Package to require for development, with an optional version constraint, e.g. requests:^2.10.0 or requests=2.11.1.'
complete -c poetry -n '__fish_seen_subcommand_from init' -l license -d 'License of the package.'
complete -c poetry -n '__fish_seen_subcommand_from init' -l name -d 'Name of the package.'
complete -c poetry -n '__fish_seen_subcommand_from init' -l python -d 'Compatible Python versions.'
# install
complete -c poetry -n '__fish_seen_subcommand_from install' -l all-extras -d 'Install all extra dependencies.'
complete -c poetry -n '__fish_seen_subcommand_from install' -l compile -d 'Compile Python source files to bytecode. (This option has no effect if modern-installation is disabled because the old installer always compiles.)'
complete -c poetry -n '__fish_seen_subcommand_from install' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from install' -l extras -d 'Extra sets of dependencies to install.'
complete -c poetry -n '__fish_seen_subcommand_from install' -l no-dev -d 'Do not install the development dependencies. (Deprecated)'
complete -c poetry -n '__fish_seen_subcommand_from install' -l no-directory -d 'Do not install any directory path dependencies; useful to install dependencies without source code, e.g. for caching of Docker layers)'
complete -c poetry -n '__fish_seen_subcommand_from install' -l no-root -d 'Do not install the root package (the current project).'
complete -c poetry -n '__fish_seen_subcommand_from install' -l only -d 'The only dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from install' -l only-root -d 'Exclude all dependencies.'
complete -c poetry -n '__fish_seen_subcommand_from install' -l remove-untracked -d 'Removes packages not present in the lock file. (Deprecated)'
complete -c poetry -n '__fish_seen_subcommand_from install' -l sync -d 'Synchronize the environment with the locked packages and the specified groups.'
complete -c poetry -n '__fish_seen_subcommand_from install' -l with -d 'The optional dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from install' -l without -d 'The dependency groups to ignore.'
# list
# lock
complete -c poetry -n '__fish_seen_subcommand_from lock' -l check -d 'Check that the poetry.lock file corresponds to the current version of pyproject.toml. (Deprecated) Use poetry check --lock instead.'
complete -c poetry -n '__fish_seen_subcommand_from lock' -l no-update -d 'Do not update locked versions, only refresh lock file.'
# new
complete -c poetry -n '__fish_seen_subcommand_from new' -l name -d 'Set the resulting package name.'
complete -c poetry -n '__fish_seen_subcommand_from new' -l readme -d 'Specify the readme file format. Default is md.'
complete -c poetry -n '__fish_seen_subcommand_from new' -l src -d 'Use the src layout for the project.'
# publish
complete -c poetry -n '__fish_seen_subcommand_from publish' -l build -d 'Build the package before publishing.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l cert -d 'Certificate authority to access the repository.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l client-cert -d 'Client certificate to access the repository.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l dist-dir -d 'Dist directory where built artifact are stored. Default is `dist`.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l dry-run -d 'Perform all actions except upload the package.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l password -d 'The password to access the repository.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l repository -d 'The repository to publish the package to.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l skip-existing -d 'Ignore errors from files already existing in the repository.'
complete -c poetry -n '__fish_seen_subcommand_from publish' -l username -d 'The username to access the repository.'
# remove
complete -c poetry -n '__fish_seen_subcommand_from remove' -l dev -d 'Remove a package from the development dependencies. (Deprecated) Use --group=dev instead.'
complete -c poetry -n '__fish_seen_subcommand_from remove' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from remove' -l group -d 'The group to remove the dependency from.'
complete -c poetry -n '__fish_seen_subcommand_from remove' -l lock -d 'Do not perform operations (only update the lockfile).'
# run
# search
# self add
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from add' -l allow-prereleases -d 'Accept prereleases.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from add' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from add' -l editable -d 'Add vcs/path dependencies as editable.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from add' -l extras -d 'Extras to activate for the dependency.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from add' -l source -d 'Name of the source to use to install the package.'
# self install
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from install' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from install' -l sync -d 'Synchronize the environment with the locked packages and the specified groups.'
# self lock
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from lock' -l check -d 'Check that the poetry.lock file corresponds to the current version of pyproject.toml. (Deprecated) Use poetry check --lock instead.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from lock' -l no-update -d 'Do not update locked versions, only refresh lock file.'
# self remove
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from remove' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
# self show
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from show' -l addons -d 'List only add-on packages installed.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from show' -l latest -d 'Show the latest version.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from show' -l outdated -d 'Show the latest version but only for packages that are outdated.'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from show' -l tree -d 'List the dependencies as a tree.'
# self show plugins
# self update
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from update' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from update' -l preview -d 'Allow the installation of pre-release versions.'
# shell
# show
complete -c poetry -n '__fish_seen_subcommand_from show' -l all -d 'Show all packages (even those not compatible with current system).'
complete -c poetry -n '__fish_seen_subcommand_from show' -l latest -d 'Show the latest version.'
complete -c poetry -n '__fish_seen_subcommand_from show' -l no-dev -d 'Do not list the development dependencies. (Deprecated)'
complete -c poetry -n '__fish_seen_subcommand_from show' -l only -d 'The only dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from show' -l outdated -d 'Show the latest version but only for packages that are outdated.'
complete -c poetry -n '__fish_seen_subcommand_from show' -l top-level -d 'Show only top-level dependencies.'
complete -c poetry -n '__fish_seen_subcommand_from show' -l tree -d 'List the dependencies as a tree.'
complete -c poetry -n '__fish_seen_subcommand_from show' -l why -d 'When showing the full list, or a --tree for a single package, display whether they are a direct dependency or required by other packages'
complete -c poetry -n '__fish_seen_subcommand_from show' -l with -d 'The optional dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from show' -l without -d 'The dependency groups to ignore.'
# source add
complete -c poetry -n '__fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l default -d 'Set this source as the default (disable PyPI). A default source will also be the fallback source if you add other sources. (Deprecated, use --priority)'
complete -c poetry -n '__fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l priority -d 'Set the priority of this source. One of: default, primary, secondary, supplemental, explicit. Defaults to primary.'
complete -c poetry -n '__fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l secondary -d 'Set this source as secondary. (Deprecated, use --priority)'
# source remove
# source show
# update
complete -c poetry -n '__fish_seen_subcommand_from update' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
complete -c poetry -n '__fish_seen_subcommand_from update' -l lock -d 'Do not perform operations (only update the lockfile).'
complete -c poetry -n '__fish_seen_subcommand_from update' -l no-dev -d 'Do not update the development dependencies. (Deprecated)'
complete -c poetry -n '__fish_seen_subcommand_from update' -l only -d 'The only dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from update' -l sync -d 'Synchronize the environment with the locked packages and the specified groups.'
complete -c poetry -n '__fish_seen_subcommand_from update' -l with -d 'The optional dependency groups to include.'
complete -c poetry -n '__fish_seen_subcommand_from update' -l without -d 'The dependency groups to ignore.'
# version
complete -c poetry -n '__fish_seen_subcommand_from version' -l dry-run -d 'Do not update pyproject.toml file'
complete -c poetry -n '__fish_seen_subcommand_from version' -l next-phase -d 'Increment the phase of the current version'
complete -c poetry -n '__fish_seen_subcommand_from version' -l short -d 'Output the version number only'

View file

@ -0,0 +1,90 @@
set fish_greeting ""
function filesize
for file in $argv
if [ -f "$file" ]
echo "$file: $(stat -c %s "$file" | numfmt --to=iec)"
else
echo "$file: not found"
end
end
end
function _fetch
# if which pfetch > /dev/null 2>&1 && [ "$VSCODE_INJECTION" != "1" ]
# export PF_INFO="ascii title os host kernel uptime memory de"
# #export PF_ASCII="arch"
# pfetch
# end
if which ufetch > /dev/null 2>&1 && [ "$VSCODE_INJECTION" != "1" ]
ufetch
end
end
function arm64cc-env
export ARCH=arm64
export hardeningDisable=all
export CROSS_COMPILE=aarch64-linux-gnu-
end
if which pyenv > /dev/null 2>&1
pyenv init - | source
end
if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ]
alias ssh="TERM=xterm-256color $(which ssh)"
alias gg="TERM=xterm-256color $(which gg)"
end
if status is-interactive
bind \cl 'clear; _fetch; commandline -f repaint'
bind \cb btop
bind \cs 'source ~/.config/fish/config.fish'
if which eza > /dev/null 2>&1
alias ls="eza --icons=auto"
else if which exa > /dev/null 2>&1
alias ls="exa --icons=auto"
end
if which bat > /dev/null 2>&1
alias cat="bat"
export PAGER=(which bat)
else if which batcat > /dev/null 2>&1
alias cat="batcat"
export PAGER=(which bat)
end
if which python > /dev/null 2>&1
alias py="python"
end
if which distrobox-enter > /dev/null 2>&1
alias denter=distrobox-enter
end
if which nvim > /dev/null 2>&1
alias v="nvim"
alias edit="nvim"
alias e="nvim"
alias V="sudoedit"
export EDITOR=(which nvim)
end
alias cdt="cd (mktemp -d)"
alias ":q"=exit
if which zoxide > /dev/null 2>&1
zoxide init --cmd cd fish | source
end
if [ "$reload" = "" ]
_fetch
end
export VIRTUAL_ENV_DISABLE_PROMPT=0
set reload "done"
return 0
end
fish_add_path /home/timoxa0/.spicetify

View file

@ -0,0 +1,32 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:blue
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/home/timoxa0/\x2ecargo/bin\x1e/home/timoxa0/\x2elocal/bin

View file

@ -0,0 +1,34 @@
# name: Default
# author: Lily Ballard
function fish_prompt --description 'Write out the prompt'
set -l last_pipestatus $pipestatus
set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
set -l normal (set_color normal)
set -q fish_color_status
or set -g fish_color_status red
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd
set -l suffix '>'
if functions -q fish_is_root_user; and fish_is_root_user
if set -q fish_color_cwd_root
set color_cwd $fish_color_cwd_root
end
set suffix '#'
end
# Write pipestatus
# If the status was carried over (if no command is issued or if `set` leaves the status untouched), don't bold it.
set -l bold_flag --bold
set -q __fish_prompt_status_generation; or set -g __fish_prompt_status_generation $status_generation
if test $__fish_prompt_status_generation = $status_generation
set bold_flag
end
set __fish_prompt_status_generation $status_generation
set -l status_color (set_color $fish_color_status)
set -l statusb_color (set_color $bold_flag $fish_color_status)
set -l prompt_status (__fish_print_pipestatus "[" "]" "|" "$status_color" "$statusb_color" $last_pipestatus)
echo -n -s (prompt_login)' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal " "$prompt_status $suffix " "
end

View file

@ -0,0 +1,6 @@
function fish_right_prompt -d "Write out the right prompt"
if set -q CONTAINER_ID
set distrobox_prefix "$(string replace -r -a '\b([\w])' '\U$0' "$CONTAINER_ID") "
end
echo -n -s $distrobox_prefix
end

26
dot-config/hypr/bin/autostart Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env bash
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=Hyprland &
waybar -c ~/.config/waybar/waybar.jsonc -s ~/.config/waybar/waybar.css &
swww-daemon &
hypridle -c ~/.config/hypr/hypridle.conf &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
mako -c ~/.config/mako/mako.conf &
/usr/lib/xdg-desktop-portal -r &
nm-applet &
blueman-applet &
wvkbd-mobintl --landscape-layers landscape,landscapespecial,cyrillic \
-L 300 -fn "JetBrainsMono 20" -R 10 \
--bg 00000000 --fg 313244 --fg-sp 1e1e2e \
--press 1e1e2e --press-sp 181825 \
--text cdd6f4 --text-sp cdd6f4 --hidden &
clash-verge &
bash -c "sleep 2; easyeffects --gapplication-service" &
ping 1.1.1.1 -c 1 && {
sleep 3
vesktop &
telegram-desktop -startintray &
}

4
dot-config/hypr/bin/lockscreen Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env fish
if not ps -e | grep hyprlock
hyprlock -c ~/.config/hypr/hyprlock.conf
end

108
dot-config/hypr/bin/powermenu Executable file
View file

@ -0,0 +1,108 @@
#!/usr/bin/env bash
## Author : Aditya Shakya (adi1090x)
## Github : @adi1090x
#
## Rofi : Power Menu
# CMDs
uptime="`uptime -p | sed -e 's/up //g'`"
host=`cat /etc/hostname`
# Options
hibernate='󱖒'
shutdown='⏼'
reboot=''
lock=''
suspend=''
logout=''
yes=''
no=''
# Rofi CMD
rofi_cmd() {
rofi -dmenu \
-p "$USER@$host" \
-mesg "Uptime: $uptime" \
-theme ~/.config/rofi/powermenu.rasi
}
# Confirmation CMD
confirm_cmd() {
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
-theme-str 'mainbox {children: [ "message", "listview" ];}' \
-theme-str 'listview {columns: 2; lines: 1;}' \
-theme-str 'element-text {horizontal-align: 0.5;}' \
-theme-str 'textbox {horizontal-align: 0.5;}' \
-dmenu \
-p 'Confirmation' \
-mesg 'Are you Sure?' \
-theme ~/.config/rofi/powermenu.rasi
}
# Ask for confirmation
confirm_exit() {
echo -e "$yes\n$no" | confirm_cmd
}
# Pass variables to rofi dmenu
run_rofi() {
echo -e "$lock\n$logout\n$reboot\n$shutdown" | rofi_cmd
}
# Execute Command
run_cmd() {
selected="$(confirm_exit)"
if [[ "$selected" == "$yes" ]]; then
if [[ $1 == '--shutdown' ]]; then
systemctl poweroff
elif [[ $1 == '--reboot' ]]; then
systemctl reboot
elif [[ $1 == '--hibernate' ]]; then
systemctl hibernate
elif [[ $1 == '--suspend' ]]; then
systemctl suspend
elif [[ $1 == '--logout' ]]; then
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ "$XDG_CURRENT_DESKTOP" == 'Hyprland' ]]; then
hyprctl dispatch exit
fi
fi
else
exit 0
fi
}
# Actions
chosen="$(run_rofi)"
case ${chosen} in
$shutdown)
run_cmd --shutdown
;;
$reboot)
run_cmd --reboot
;;
$hibernate)
run_cmd --hibernate
;;
$lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then
betterlockscreen -l
elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock
fi
;;
$suspend)
run_cmd --suspend
;;
$logout)
run_cmd --logout
;;
esac

54
dot-config/hypr/bin/setwal Executable file
View file

@ -0,0 +1,54 @@
#!/usr/bin/env bash
printf "%s\n" "Currently disabled"
{ [[ -z $1 ]] || [[ -z $2 ]]; } && {
printf "%s\n" "Usage: setwal /path/to/wallpaper mode"
exit 1
}
[ ! -f "$1" ] && {
printf "File not found: %s\n" "$1"
exit 2
}
yes | ffmpeg -i "$1" ~/.config/hypr/wallpaper.png >/dev/null 2>&1 || {
printf "Failed to copy wallpaper from %s\n" "$1"
exit 3
}
{
hyprctl hyprpaper unload all >/dev/null
hyprctl hyprpaper preload ~/.config/hypr/wallpaper.png >/dev/null
hyprctl hyprpaper wallpaper ",~/.config/hypr/wallpaper.png" >/dev/null
} &
update() {
makoctl reload
}
dark() {
matugen image ~/.config/hypr/wallpaper.png -c ~/.config/hypr/matugen/config.toml -m dark
gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-not-exist" >/dev/null
sleep 0.1
gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark" >/dev/null
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
update
}
light() {
matugen image ~/.config/hypr/wallpaper.png -c ~/.config/hypr/matugen/config.toml -m light
gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-not-exist" >/dev/null
sleep 0.1
gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3" >/dev/null
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
update
}
case "$2" in
"light")
light
;;
*)
dark
;;
esac

View file

@ -0,0 +1,61 @@
#===========================================================================#
# | bind | dispatcher | args #
#===========================================================================#
bind = SUPER, RETURN, exec, $terminal
bind = SUPER, E, exec, $fileManager
bind = SUPER, D, exec, $discord
bind = SUPER, T, exec, $telegram
bind = SUPER, B, exec, $browser
bind = SUPER, Q, killactive,
bind = SUPER, M, exit,
bind = SUPER, C, togglefloating,
bind = SUPER, SPACE, exec, $menu
bind = SUPER, P, pseudo, # dwindle
bind = SUPER, X, togglesplit, # dwindle
bind = SUPER, Home, exec, $sshot region
bind = SUPER, Prior, exec, $sshot window
bind = SUPER, Next, exec, $sshot output
bind = SUPER Ctrl, Q, exec, $locker
bind = , XF86AudioPlay, exec, $pctl play-pause
bind = , XF86AudioNext, exec, $pctl next
bind = , XF86AudioPrev, exec, $pctl previous
bind = , XF86AudioMute, exec, pamixer -t
bind = , XF86AudioRaiseVolume, exec, pamixer -i 2
bind = , XF86AudioLowerVolume, exec, pamixer -d 2
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
#bind = SUPER, TAB, overview:toggle
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9
bind = SUPER SHIFT, 0, movetoworkspace, 10
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow

View file

@ -0,0 +1,84 @@
$rosewater = rgb(f5e0dc)
$rosewaterAlpha = f5e0dc
$flamingo = rgb(f2cdcd)
$flamingoAlpha = f2cdcd
$pink = rgb(f5c2e7)
$pinkAlpha = f5c2e7
$mauve = rgb(cba6f7)
$mauveAlpha = cba6f7
$red = rgb(f38ba8)
$redAlpha = f38ba8
$maroon = rgb(eba0ac)
$maroonAlpha = eba0ac
$peach = rgb(fab387)
$peachAlpha = fab387
$yellow = rgb(f9e2af)
$yellowAlpha = f9e2af
$green = rgb(a6e3a1)
$greenAlpha = a6e3a1
$teal = rgb(94e2d5)
$tealAlpha = 94e2d5
$sky = rgb(89dceb)
$skyAlpha = 89dceb
$sapphire = rgb(74c7ec)
$sapphireAlpha = 74c7ec
$blue = rgb(89b4fa)
$blueAlpha = 89b4fa
$lavender = rgb(b4befe)
$lavenderAlpha = b4befe
$text = rgb(cdd6f4)
$textAlpha = cdd6f4
$subtext1 = rgb(bac2de)
$subtext1Alpha = bac2de
$subtext0 = rgb(a6adc8)
$subtext0Alpha = a6adc8
$overlay2 = rgb(9399b2)
$overlay2Alpha = 9399b2
$overlay1 = rgb(7f849c)
$overlay1Alpha = 7f849c
$overlay0 = rgb(6c7086)
$overlay0Alpha = 6c7086
$surface2 = rgb(585b70)
$surface2Alpha = 585b70
$surface1 = rgb(45475a)
$surface1Alpha = 45475a
$surface0 = rgb(313244)
$surface0Alpha = 313244
$base = rgb(1e1e2e)
$baseAlpha = 1e1e2e
$mantle = rgb(181825)
$mantleAlpha = 181825
$crust = rgb(11111b)
$crustAlpha = 11111b
$primary = $blue
$secondary = $surface0
$bg = $base
$fg = $text

View file

@ -0,0 +1,3 @@
debug {
overlay = false
}

View file

@ -0,0 +1,49 @@
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "catppuccin-mocha-blue-standard+default"
exec-once = gsettings set org.gnome.desktop.wm.preferences button-layout ':'
exec-once = gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = gsettings set org.gnome.desktop.interface gtk-color-scheme 'prefer-dark'
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Classic'
decoration {
rounding = 10
active_opacity = 1.0
inactive_opacity = 1.0
dim_inactive = false
dim_strength = 0.2
blur {
enabled = false
size = 3
passes = 4
noise = 0.07
xray = true
brightness = 0.4
popups = false
}
}
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier, slide
animation = fade, 1, 7, myBezier
animation = workspaces, 1, 6, myBezier
animation = layers, 1, 6, myBezier, slide bottom
}
dwindle {
pseudotile = false
preserve_split = true
smart_split = false
smart_resizing = false
}
misc {
force_default_wallpaper = -1
disable_hyprland_logo = true
}

View file

@ -0,0 +1,25 @@
input {
kb_layout = us, ru
kb_variant =
kb_model =
kb_options = grp:caps_toggle
kb_rules =
follow_mouse = 1
sensitivity = 0
}
gestures {
}
device {
name = nvtcapacitivetouchscreen
transform = 3
output = DSI-1
}
device {
name = nvtcapacitivepen
transform = 3
output = DSI-1
}

13
dot-config/hypr/env.conf Normal file
View file

@ -0,0 +1,13 @@
env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Bibata-Modern-Classic
env = HYPRCURSOR_SIZE,24
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt5ct
env = EDITOR,nvim
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
env = MOZ_ENABLE_WAYLAND=1

View file

@ -0,0 +1,11 @@
general {
col.active_border = $primary
col.inactive_border = $secondary
gaps_in = 10
gaps_out = 20
border_size = 3
resize_on_border = true
extend_border_grab_area = true
allow_tearing = false
layout = dwindle
}

View file

@ -0,0 +1,10 @@
general {
lock_cmd = ~/.config/hypr/bin/lockscreen
ignore_dbus_inhibit = false
ignore_systemd_inhibit = false
}
listener {
timeout = 3600
on-timeout = ~/.config/hypr/bin/lockscreen
}

View file

@ -0,0 +1,23 @@
source = colors.conf
$terminal = alacritty
$fileManager = nemo
$menu = rofi -show drun
$browser = firefox
$discord = vesktop
$telegram = telegram-desktop
$pctl = playerctl
$sshot = hyprshot -o ~/Pictures/Screenshots/ -z -m
$locker = loginctl lock-session
source = plugins.conf
exec-once = hyprpm reload -n
source = general.conf
source = monitors.conf
source = decorations.conf
source = env.conf
source = binds.conf
source = rules.conf
source = devices.conf
exec-once = ~/.config/hypr/bin/autostart

View file

@ -0,0 +1,59 @@
source = colors.conf
# BACKGROUND
background {
monitor =
path = ~/Pictures/adwaita1-0.png
blur_passes = 5
contrast = 0.5
brightness = 0.5
vibrancy = 0.2
vibrancy_darkness = 0.2
}
# GENERAL
general {
no_fade_in = false
grace = 0
disable_loading_bar = false
}
# animations {
# enabled = true
# bezier = linear, 1, 1, 0, 0
# animation = fade, 1, 1.8, linear, slide
# }
# INPUT FIELD
input-field {
monitor = DSI-1
size = 300, 80
outline_thickness = 3
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.4 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = rgba(00000000)
inner_color = rgba(00000033)
check_color = rgba($yellowAlpha8f)
fail_color = rgba($redAlpha8f)
fail_timeout = 1000
font_color = rgba($textAlphaee)
fade_on_empty = false
placeholder_text =
hide_input = false
position = 0, 80
halign = center
valign = bottom
}
# TIME
label {
monitor = DSI-1
text = cmd[update:1000] echo "$(date +"%H:%M")"
color = $fg
font_size = 240
font_family = Cantarell Thin
position = 0, 100
halign = center
valign = center
}

View file

View file

@ -0,0 +1,19 @@
#===========================================================================#
# Monitors #
#===========================================================================#
monitor=DSI-1, 1600x2560@120, 0x0, 1.6, transform, 3
render {
explicit_sync = 0
explicit_sync_kms = 1
direct_scanout = true
}
cursor {
no_hardware_cursors = true
}
xwayland {
force_zero_scaling = true
}

View file

@ -0,0 +1,60 @@
# chromakey_background = 30,30,46
# # chromakey_background = 36,36,56
plugin {
# touch_gestures {
# # The default sensitivity is probably too low on tablet screens,
# # I recommend turning it up to 4.0
# sensitivity = 4.0
#
# # must be >= 3
# workspace_swipe_fingers = 3
#
# # switching workspaces by swiping from an edge, this is separate from workspace_swipe_fingers
# # and can be used at the same time
# # possible values: l, r, u, or d
# # to disable it set it to anything else
# workspace_swipe_edge = u
#
# # in milliseconds
# long_press_delay = 400
#
# # resize windows by long-pressing on window borders and gaps.
# # If general:resize_on_border is enabled, general:extend_border_grab_area is used for floating
# # windows
# resize_on_border_long_press = true
#
# # in pixels, the distance from the edge that is considered an edge
# edge_margin = 100
#
# experimental {
# # send proper cancel events to windows instead of hacky touch_up events,
# # NOT recommended as it crashed a few times, once it's stabilized I'll make it the default
# send_cancel = 1
# }
# }
hyprbars {
bar_height = 30
bar_blur = false
bar_color = rgba(1e1e2eff)
col.text = rgb(cdd6f4)
bar_title_enabled = true
bar_text_font = Cantarell
bar_text_size = 12
bar_buttons_alignment = left
bar_part_of_window = true
hyprbars-button = rgb(f38ba8), 13, , hyprctl dispatch killactive
hyprbars-button = rgb(fab387), 13, , hyprctl dispatch togglefloating
bar_button_padding = 10
bar_padding = 10
}
}
# hyprgrass-bind = , swipe:3:u, exec, $menu
# hyprgrass-bind = , tap:3, killactive
# hyprgrass-bind = , tap:2, togglefloating
# hyprgrass-bind = , edge:d:u, exec, killall -34 wvkbd-mobintl
# hyprgrass-bind = , edge:l:u, exec, brightnessctl set 5%+
# hyprgrass-bind = , edge:l:d, exec, brightnessctl set 5%-
# hyprgrass-bind = , edge:l:r, togglesplit
#
# hyprgrass-bindm = , longpress:2, movewindow
# hyprgrass-bindm = , longpress:3, resizewindow

View file

@ -0,0 +1,55 @@
#
# Window rules
#
# Waybar
# layerrule = blur, waybar
layerrule = ignorezero, waybar
# Mako
layerrule = blur, notifications
layerrule = ignorezero, notifications
# Rofi
layerrule = blur, rofi
layerrule = ignorezero, rofi
# Disable maximize
windowrulev2 = suppressevent maximize, class:.*
# Pavucontrol
windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = size 696 570, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = move 711 376, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = monitor DSI-1, class:^(org.pulseaudio.pavucontrol)$
# XWayland Video Bridge - Unused
# windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
# windowrulev2 = noanim,class:^(xwaylandvideobridge)$
# windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
# windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
# windowrulev2 = noblur,class:^(xwaylandvideobridge)$
# Vesktop
# windowrulev2 = opacity 0.9, class:^(vesktop)$
# Telegram
windowrulev2 = maximize, class:^(org.telegram.desktop)$,title:^(Media viewer)$
windowrulev2 = float, class:^(org.telegram.desktop)$,title:^(Media viewer)$
# windowrulev2 = opaque, class:^(org.telegram.desktop)$,title:^(Media viewer)$
# Nemo
windowrulev2 = float, class:^(nemo)$,title:^.*(Properties)$
# Firefox library (Downloads, History, etc.)
windowrulev2 = float, class:^(zen-alpha)$,title:^(Library)$
windowrulev2 = opacity 0.9, class:^(zen-alpha)$,title:^(Library)$
# Spotify
windowrulev2 = opacity 0.9, class:^(Spotify)$
windowrulev2 = noblur, class:^()$,title:^()$
# windowrulev2 = plugin:chromakey,fullscreen:0
# windowrulev2 = opacity 0.999,fullscreen:0

View file

@ -0,0 +1,65 @@
{
"debug": {
"disable_auto_focus": false,
"enable_logging": false
},
"theme": {
"colors": {
"border": "#89b4fa",
"item_bg": "#181825",
"item_bg_hover": "#89b4fa",
"item_bg_selected": "#89b4fa",
"item_description": "#bac2de",
"item_description_selected": "#181825",
"item_name": "#cdd6f4",
"item_name_selected": "#1e1e2e",
"item_path": "#a6adc8",
"item_path_selected": "#181825",
"search_bg": "#181825",
"search_bg_focused": "#89b4fa",
"search_caret": "#cdd6f4",
"search_text": "#cdd6f4",
"window_bg": "#1e1e2e"
},
"corners": {
"list_item": 8,
"search": 8,
"window": 12
},
"spacing": {
"item_margin": 8,
"item_padding": 2,
"search_margin": 9,
"search_padding": 9
},
"typography": {
"item_description_size": 12,
"item_name_size": 14,
"item_path_font_family": "JetBrainsMono Nerd Font Mono",
"item_path_size": 12,
"search_font_size": 16
}
},
"window": {
"anchor": "center",
"border_width": 3,
"custom_navigate_keys": {
"delete_word": "h",
"down": "j",
"up": "k"
},
"height": 400,
"margin_bottom": 20,
"margin_left": 0,
"margin_right": 0,
"margin_top": 0,
"max_entries": 50,
"show_border": true,
"show_descriptions": true,
"show_icons": true,
"show_paths": true,
"show_search": true,
"use_gtk_colors": false,
"width": 600
}
}

View file

@ -0,0 +1,4 @@
[Settings]
folder = ~/Wallpapers
backend = hyprpaper
last_wallpaper = ~/Wallpapers/flying-comets-clouds-desktop-wallpaper.jpg

21
dot-config/mako/mako.conf Normal file
View file

@ -0,0 +1,21 @@
sort=-time
layer=overlay
output=eDP-1
anchor=bottom-right
background-color=#121318bb
text-color=#cdd6f4
outer-margin=30,2
width=300
height=110
border-size=3
border-color=#89b4fa
border-radius=10
icons=0
max-icon-size=64
default-timeout=5000
ignore-timeout=1
font=Cantarell: 14
[urgency=high]
border-color=#ffb4ab
default-timeout=0

View file

@ -0,0 +1,6 @@
column_width = 120
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferDouble"
call_parentheses = "None"

24
dot-config/nvim/LICENSE Normal file
View file

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>

39
dot-config/nvim/init.lua Normal file
View file

@ -0,0 +1,39 @@
vim.g.base46_cache = vim.fn.stdpath "data" .. "/nvchad/base46/"
vim.g.mapleader = " "
-- bootstrap lazy and all plugins
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
local repo = "https://github.com/folke/lazy.nvim.git"
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
end
vim.opt.rtp:prepend(lazypath)
local lazy_config = require "configs.lazy"
-- load plugins
require("lazy").setup({
{
"NvChad/NvChad",
lazy = false,
branch = "v2.5",
import = "nvchad.plugins",
config = function()
require "options"
end,
},
{ import = "plugins" },
}, lazy_config)
-- load theme
dofile(vim.g.base46_cache .. "defaults")
dofile(vim.g.base46_cache .. "statusline")
require "nvchad.autocmds"
vim.schedule(function()
require "mappings"
end)

View file

@ -0,0 +1,31 @@
{
"LuaSnip": { "branch": "master", "commit": "0f7bbce41ea152a94d12aea286f2ce98e63c0f58" },
"NvChad": { "branch": "v2.5", "commit": "8792679a08c6747ba3f5890a01561442abec6935" },
"base46": { "branch": "v2.5", "commit": "40943fc668bf8f1caa4cc45f71c784cf0d3cc34f" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"conform.nvim": { "branch": "master", "commit": "f5bd8419f8a29451e20bdb1061a54fe13d5c8de3" },
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
"indent-blankline.nvim": { "branch": "master", "commit": "7871a88056f7144defca9c931e311a3134c5d509" },
"lazy.nvim": { "branch": "main", "commit": "7967abe55752aa90532e6bb4bd4663fe27a264cb" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"menu": { "branch": "main", "commit": "657bfc91382c0928453d9a4d0a10ec92db5de2bb" },
"minty": { "branch": "main", "commit": "b454ca0229f8e22a631fd3c014ec99973fb8cad4" },
"nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" },
"nvim-cmp": { "branch": "main", "commit": "be7bd4c5f860c79da97af3a26d489af50babfd4b" },
"nvim-lspconfig": { "branch": "master", "commit": "b55b9659de9ac17e05df4787bb023e4c7ef45329" },
"nvim-tree.lua": { "branch": "master", "commit": "ca7c4c33cac2ad66ec69d45e465379716ef0cc97" },
"nvim-treesitter": { "branch": "master", "commit": "68b2bdd99d889e9705f7e90ae64d990f3ff03cf3" },
"nvim-web-devicons": { "branch": "master", "commit": "f09be61d05bebcba85bb47be1931322d51b95644" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" },
"tree-sitter-hyprlang": { "branch": "master", "commit": "6858695eba0e63b9e0fceef081d291eb352abce8" },
"ui": { "branch": "v3.0", "commit": "8cc265d1fc663a4bcd39c68e60a76adef6df031e" },
"vim-tmux-navigator": { "branch": "master", "commit": "a9b52e7d36114d40350099f254b5f299a35df978" },
"volt": { "branch": "main", "commit": "8d35e03c70490190149a77c59155618ef4370721" },
"which-key.nvim": { "branch": "main", "commit": "68e37e12913a66b60073906f5d3f14dee0de19f2" }
}

View file

@ -0,0 +1,48 @@
-- This file needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua
---@type ChadrcConfig
local M = {}
M = {
base46 = {
theme = "catppuccin",
transparency = true
},
ui = {
statusline = {
theme = "minimal",
separator_style = "round",
order = { "mode", "file", "git", "%=", "cwd"},
}
},
nvdash = {
load_on_startup = true,
header = {
" ",
" ▄▄ ▄ ▄▄▄▄▄▄▄ ",
" ▄▀███▄ ▄██ █████▀ ",
" ██▄▀███▄ ███ ",
" ███ ▀███▄ ███ ",
" ███ ▀██ ███ ",
" ███ ▀ ███ ",
" ▀██ █████▄▀█▀▄██████▄ ",
" ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀ ",
" ",
" ",
},
buttons = {
{ txt = " Find File", keys = "ff", cmd = "Telescope find_files" },
{ txt = " Recent Files", keys = "fo", cmd = "Telescope oldfiles" },
{ txt = "󰈭 Find Word", keys = "fw", cmd = "Telescope live_grep" },
{ txt = "󰈆 Exit", keys = ":q!", cmd = "q!" },
}
}
-- hl_override = {
-- Comment = { italic = true },
-- ["@comment"] = { italic = true },
-- },
}
return M

View file

@ -0,0 +1,15 @@
local options = {
formatters_by_ft = {
lua = { "stylua" },
-- css = { "prettier" },
-- html = { "prettier" },
},
-- format_on_save = {
-- -- These options will be passed to conform.format()
-- timeout_ms = 500,
-- lsp_fallback = true,
-- },
}
require("conform").setup(options)

View file

@ -0,0 +1,47 @@
return {
defaults = { lazy = true },
install = { colorscheme = { "nvchad" } },
ui = {
icons = {
ft = "",
lazy = "󰂠 ",
loaded = "",
not_loaded = "",
},
},
performance = {
rtp = {
disabled_plugins = {
"2html_plugin",
"tohtml",
"getscript",
"getscriptPlugin",
"gzip",
"logipat",
"netrw",
"netrwPlugin",
"netrwSettings",
"netrwFileHandlers",
"matchit",
"tar",
"tarPlugin",
"rrhelper",
"spellfile_plugin",
"vimball",
"vimballPlugin",
"zip",
"zipPlugin",
"tutor",
"rplugin",
"syntax",
"synmenu",
"optwin",
"compiler",
"bugreport",
"ftplugin",
},
},
},
}

View file

@ -0,0 +1,29 @@
-- EXAMPLE
local on_attach = require("nvchad.configs.lspconfig").on_attach
local on_init = require("nvchad.configs.lspconfig").on_init
local capabilities = require("nvchad.configs.lspconfig").capabilities
local lspconfig = require "lspconfig"
local servers = { "html", "gopls" }
-- lsps with default config
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
on_attach = on_attach,
on_init = on_init,
capabilities = capabilities,
}
end
-- typescript
lspconfig.ts_ls.setup {
on_attach = on_attach,
on_init = on_init,
capabilities = capabilities,
}
lspconfig.pyright.setup({
on_attach = on_attach,
capabilities = capabilities,
filetypes = {"python"},
})

View file

@ -0,0 +1,15 @@
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
map("n", "<C-h>", "<cmd>TmuxNavigateLeft<CR>", {desc = "Move tmux windows focus left"})
map("n", "<C-l>", "<cmd>TmuxNavigateRight<CR>", {desc = "Move tmux windows focus right"})
map("n", "<C-j>", "<cmd>TmuxNavigateDown<CR>", {desc = "Move tmux windows focus down"})
map("n", "<C-k>", "<cmd>TmuxNavigateUp<CR>", {desc = "Move tmux windows focus up"})
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")

View file

@ -0,0 +1,20 @@
require "nvchad.options"
local o = vim.o
local g = vim.g
o.tabstop = 4 -- A TAB character looks like 4 spaces
o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character
o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character
o.shiftwidth = 4 -- Number of spaces inserted when indenting
o.cursorlineopt ='both' -- to enable cursor line!
if g.neovide then
o.guifont = "JetBrainsMono Nerd Font Mono:h14"
g.neovide_cursor_trail_size = 0.3
end
vim.filetype.add({
extension = {
lnibuild = "bash"
}
})

View file

@ -0,0 +1,59 @@
return {
{
"stevearc/conform.nvim",
event = 'BufWritePre', -- uncomment for format on save
config = function()
require "configs.conform"
end,
},
{
"christoomey/vim-tmux-navigator",
lazy = false,
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"black",
"debugpy",
"mypy",
"ruff",
"pyright",
},
},
},
-- These are some examples, uncomment them if you want to see them work!
{
"neovim/nvim-lspconfig",
config = function()
require("nvchad.configs.lspconfig").defaults()
require "configs.lspconfig"
end,
},
--
-- {
-- "williamboman/mason.nvim",
-- opts = {
-- ensure_installed = {
-- "lua-language-server", "stylua",
-- "html-lsp", "css-lsp" , "prettier"
-- },
-- },
-- },
--
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim", "lua", "vimdoc",
"html", "css"
},
},
},
{
"luckasRanarison/tree-sitter-hyprlang",
dependencies = { "nvim-treesitter/nvim-treesitter" },
},
}

View file

@ -0,0 +1,4 @@
[ColorScheme]
active_colors=#ffcdd6f4, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffcdd6f4, #ffcdd6f4, #ffcdd6f4, #ff1e1e2e, #ff181825, #ff7f849c, #ff89b4fa, #ff1e1e2e, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c
disabled_colors=#ffa6adc8, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffa6adc8, #ffa6adc8, #ffa6adc8, #ff1e1e2e, #ff11111b, #ff7f849c, #ff89b4fa, #ff45475a, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c
inactive_colors=#ffcdd6f4, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffcdd6f4, #ffcdd6f4, #ffcdd6f4, #ff1e1e2e, #ff181825, #ff7f849c, #ff89b4fa, #ffa6adc8, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c

View file

@ -0,0 +1,31 @@
[Appearance]
color_scheme_path=/home/tx0/.config/qt5ct/colors/Catppuccin-Mocha.conf
custom_palette=true
standard_dialogs=default
style=Fusion
[Fonts]
fixed="DejaVu LGC Sans,12,-1,5,50,0,0,0,0,0"
general="DejaVu LGC Sans,12,-1,5,50,0,0,0,0,0"
[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xfb\0\0\x2\xaa\0\0\0\0\0\0\0\0\0\0\x3\x1f\0\0\x2\xaa\0\0\0\0\x2\0\0\0\x6@\0\0\0\0\0\0\0\0\0\0\x2\xfb\0\0\x2\xaa)
[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()

View file

@ -0,0 +1,47 @@
* {
primary: #b4c5ff;
primary-fixed: #dbe1ff;
primary-fixed-dim: #b4c5ff;
on-primary: #1a2d60;
on-primary-fixed: #00174b;
on-primary-fixed-variant: #334478;
primary-container: #334478;
on-primary-container: #dbe1ff;
secondary: #c1c5dd;
secondary-fixed: #dde1f9;
secondary-fixed-dim: #c1c5dd;
on-secondary: #2b3042;
on-secondary-fixed: #161b2c;
on-secondary-fixed-variant: #414659;
secondary-container: #414659;
on-secondary-container: #dde1f9;
tertiary: #e2bbdb;
tertiary-fixed: #ffd6f8;
tertiary-fixed-dim: #e2bbdb;
on-tertiary: #422741;
on-tertiary-fixed: #2b122b;
on-tertiary-fixed-variant: #5a3d58;
tertiary-container: #5a3d58;
on-tertiary-container: #ffd6f8;
error: #ffb4ab;
on-error: #690005;
error-container: #93000a;
on-error-container: #ffdad6;
surface: #121318;
on-surface: #e3e2e9;
on-surface-variant: #c5c6d0;
outline: #8f909a;
outline-variant: #45464f;
shadow: #000000;
scrim: #000000;
inverse-surface: #e3e2e9;
inverse-on-surface: #2f3036;
inverse-primary: #4b5c92;
surface-dim: #121318;
surface-bright: #38393f;
surface-container-lowest: #0d0e13;
surface-container-low: #1a1b21;
surface-container: #1e1f25;
surface-container-high: #292a2f;
surface-container-highest: #34343a;
}

View file

@ -0,0 +1,16 @@
configuration{
modi: "drun";
icon-theme: "Oranchelo";
show-icons: true;
terminal: "alacritty";
drun-display-format: "{icon} {name}";
location: 6;
disable-history: false;
hide-scrollbar: true;
display-drun: "  Apps ";
display-Network: " 󰤨 Network";
sidebar-mode: true;
}
@theme "catppuccin-mocha"

View file

@ -0,0 +1,150 @@
/**
*
* Author : Aditya Shakya (adi1090x)
* Github : @adi1090x
*
* Rofi Theme File
* Rofi Version: 1.7.3
**/
@import "colors.rasi"
/*****----- Configuration -----*****/
configuration {
show-icons: false;
}
/*****----- Global Properties -----*****/
* {
font: "JetBrainsMono Nerd Font Mono 11";
background: @on-primary-fixed;
background-alt: @on-primary-fixed-variant;
foreground: @primary-fixed;
selected: @primary-fixed-dim;
selected-fg: @on-primary-fixed;
active: @primary-fixed;
urgent: @error;
}
/*
USE_BUTTONS=YES
*/
/*****----- Main Window -----*****/
window {
transparency: "real";
location: center;
anchor: center;
fullscreen: false;
width: 550px;
x-offset: 0px;
y-offset: 0px;
padding: 0px;
border: 0px solid;
border-radius: 20px;
border-color: @selected;
cursor: "default";
background-color: @background;
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 0px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
background-color: transparent;
children: [ "inputbar", "listview", "message" ];
}
/*****----- Inputbar -----*****/
inputbar {
enabled: true;
spacing: 0px;
padding: 100px 80px;
background-color: transparent;
background-image: url("~/.config/hypr/wallpaper.png", width);
children: [ "textbox-prompt-colon", "dummy","prompt"];
}
dummy {
background-color: transparent;
}
textbox-prompt-colon {
enabled: true;
expand: false;
str: " Power menu";
padding: 12px;
border-radius: 100%;
background-color: @background;
text-color: @foreground;
}
prompt {
enabled: true;
padding: 12px;
border-radius: 100%;
background-color: @background;
text-color: @foreground;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 4;
lines: 1;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 15px;
margin: 15px;
background-color: transparent;
cursor: "default";
}
/*****----- Elements -----*****/
element {
enabled: true;
padding: 28px 10px;
border-radius: 100%;
background-color: @background-alt;
text-color: @foreground;
cursor: pointer;
}
element-text {
font: "JetBrainsMono Nerd Font Mono 32";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: var(selected);
text-color: var(selected-fg);
}
/*****----- Message -----*****/
message {
enabled: true;
margin: 0px 15px 15px 15px;
padding: 15px;
border-radius: 100%;
background-color: @background-alt;
text-color: @foreground;
}
textbox {
background-color: inherit;
text-color: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}

59
dot-config/tmux/tmux.conf Normal file
View file

@ -0,0 +1,59 @@
set -g mouse on
set -sa terminal-overrides ",xterm*:Tc"
set-option -g destroy-unattached on
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind -n M-H previous-window
bind -n M-: next-window
# List of plugins
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tpm'
# catppuccin
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_window_status_style "rounded"
set -g @catppuccin_status_background "#1e1e2e"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
# status
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right ""
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -as terminal-features ",alacritty*:RGB"
set -as terminal-features ",foot:RGB"
set -g mouse on
set -g default-shell /bin/fish
set-window-option -g mode-keys vi
# binds
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
unbind %
unbind '"'
bind ']' split-window -v -c "#{pane_current_path}"
bind '\' split-window -h -c "#{pane_current_path}"
bind C-l send-keys 'C-l'
run '~/.config/tmux/tpm/tpm'

1
dot-config/tmux/tpm Submodule

@ -0,0 +1 @@
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946

View file

@ -0,0 +1,7 @@
{
"discordBranch": "stable",
"minimizeToTray": true,
"arRPC": true,
"splashColor": "oklab(0.89908 -0.00192907 -0.0048306)",
"splashBackground": "oklab(0.321044 -0.000249296 -0.00927344)"
}

View file

View file

@ -0,0 +1,615 @@
{
"autoUpdate": true,
"autoUpdateNotification": true,
"useQuickCss": true,
"themeLinks": [
"https://catppuccin.github.io/discord/dist/catppuccin-mocha-blue.theme.css"
],
"enabledThemes": [],
"enableReactDevtools": false,
"frameless": false,
"transparent": false,
"winCtrlQ": false,
"disableMinSize": false,
"winNativeTitleBar": false,
"plugins": {
"ChatInputButtonAPI": {
"enabled": true
},
"CommandsAPI": {
"enabled": true
},
"MemberListDecoratorsAPI": {
"enabled": false
},
"MessageAccessoriesAPI": {
"enabled": true
},
"MessageDecorationsAPI": {
"enabled": false
},
"MessageEventsAPI": {
"enabled": true
},
"MessagePopoverAPI": {
"enabled": false
},
"MessageUpdaterAPI": {
"enabled": false
},
"ServerListAPI": {
"enabled": true
},
"UserSettingsAPI": {
"enabled": true
},
"CopyFileContents": {
"enabled": false
},
"AlwaysAnimate": {
"enabled": false
},
"AlwaysExpandRoles": {
"enabled": false
},
"AlwaysTrust": {
"enabled": false
},
"AnonymiseFileNames": {
"enabled": false
},
"AppleMusicRichPresence": {
"enabled": false
},
"WebRichPresence (arRPC)": {
"enabled": false
},
"BANger": {
"enabled": false
},
"BetterFolders": {
"enabled": false
},
"BetterGifAltText": {
"enabled": false
},
"BetterGifPicker": {
"enabled": false
},
"BetterNotesBox": {
"enabled": false
},
"BetterRoleContext": {
"enabled": false
},
"BetterRoleDot": {
"enabled": false
},
"BetterSessions": {
"enabled": false,
"backgroundCheck": false
},
"BetterSettings": {
"enabled": false
},
"BetterUploadButton": {
"enabled": false
},
"BiggerStreamPreview": {
"enabled": false
},
"BlurNSFW": {
"enabled": false
},
"CallTimer": {
"enabled": false
},
"ClearURLs": {
"enabled": false
},
"ClientTheme": {
"enabled": false,
"color": "313338"
},
"ColorSighted": {
"enabled": false
},
"ConsoleJanitor": {
"enabled": true,
"disableLoggers": false,
"disableSpotifyLogger": true,
"whitelistedLoggers": "GatewaySocket; Routing/Utils"
},
"ConsoleShortcuts": {
"enabled": false
},
"CopyEmojiMarkdown": {
"enabled": false
},
"CopyUserURLs": {
"enabled": false
},
"CrashHandler": {
"enabled": true
},
"CtrlEnterSend": {
"enabled": false,
"submitRule": "ctrl+enter",
"sendMessageInTheMiddleOfACodeBlock": true
},
"CustomRPC": {
"enabled": false
},
"CustomIdle": {
"enabled": false
},
"Dearrow": {
"enabled": false
},
"Decor": {
"enabled": false
},
"DisableCallIdle": {
"enabled": false
},
"DontRoundMyTimestamps": {
"enabled": false
},
"EmoteCloner": {
"enabled": false
},
"Experiments": {
"enabled": true,
"toolbarDevMenu": false
},
"F8Break": {
"enabled": true
},
"FakeNitro": {
"enabled": true,
"enableStickerBypass": true,
"enableStreamQualityBypass": true,
"enableEmojiBypass": true,
"transformEmojis": true,
"transformStickers": true,
"transformCompoundSentence": false
},
"FakeProfileThemes": {
"enabled": false
},
"FavoriteEmojiFirst": {
"enabled": false
},
"FavoriteGifSearch": {
"enabled": false
},
"FixCodeblockGap": {
"enabled": false
},
"FixSpotifyEmbeds": {
"enabled": true
},
"FixYoutubeEmbeds": {
"enabled": true
},
"ForceOwnerCrown": {
"enabled": true
},
"FriendInvites": {
"enabled": false
},
"FriendsSince": {
"enabled": false
},
"GameActivityToggle": {
"enabled": false
},
"GifPaste": {
"enabled": false
},
"GreetStickerPicker": {
"enabled": false
},
"HideAttachments": {
"enabled": false
},
"iLoveSpam": {
"enabled": false
},
"IgnoreActivities": {
"enabled": false
},
"ImageLink": {
"enabled": true
},
"ImageZoom": {
"enabled": true,
"size": 100,
"zoom": 2,
"nearestNeighbour": false,
"square": false,
"saveZoomValues": true
},
"ImplicitRelationships": {
"enabled": false
},
"InvisibleChat": {
"enabled": false
},
"KeepCurrentChannel": {
"enabled": false
},
"LastFMRichPresence": {
"enabled": false
},
"LoadingQuotes": {
"enabled": false
},
"MemberCount": {
"enabled": false
},
"MentionAvatars": {
"enabled": false
},
"MessageClickActions": {
"enabled": false
},
"MessageLatency": {
"enabled": false
},
"MessageLinkEmbeds": {
"enabled": false
},
"MessageLogger": {
"enabled": false
},
"MessageTags": {
"enabled": false
},
"MoreCommands": {
"enabled": false
},
"MoreKaomoji": {
"enabled": false
},
"MoreUserTags": {
"enabled": false
},
"Moyai": {
"enabled": false,
"volume": 0.5,
"quality": "Normal",
"triggerWhenUnfocused": true,
"ignoreBots": true,
"ignoreBlocked": true
},
"MutualGroupDMs": {
"enabled": false
},
"NewGuildSettings": {
"enabled": false
},
"NoBlockedMessages": {
"enabled": false
},
"NoDefaultHangStatus": {
"enabled": false
},
"NoDevtoolsWarning": {
"enabled": true
},
"NoF1": {
"enabled": true
},
"NoMaskedUrlPaste": {
"enabled": false
},
"NoMosaic": {
"enabled": false
},
"NoOnboardingDelay": {
"enabled": false
},
"NoPendingCount": {
"enabled": false
},
"NoProfileThemes": {
"enabled": false
},
"NoReplyMention": {
"enabled": false
},
"NoScreensharePreview": {
"enabled": false
},
"NoServerEmojis": {
"enabled": false
},
"NoTypingAnimation": {
"enabled": false
},
"NoUnblockToJump": {
"enabled": false
},
"NormalizeMessageLinks": {
"enabled": false
},
"NotificationVolume": {
"enabled": false
},
"NSFWGateBypass": {
"enabled": false
},
"OnePingPerDM": {
"enabled": false
},
"oneko": {
"enabled": false
},
"OpenInApp": {
"enabled": false
},
"OverrideForumDefaults": {
"enabled": false
},
"PartyMode": {
"enabled": false
},
"PauseInvitesForever": {
"enabled": false
},
"PermissionFreeWill": {
"enabled": false
},
"PermissionsViewer": {
"enabled": false
},
"petpet": {
"enabled": false
},
"PictureInPicture": {
"enabled": false
},
"PinDMs": {
"enabled": false
},
"PlainFolderIcon": {
"enabled": true
},
"PlatformIndicators": {
"enabled": false
},
"PreviewMessage": {
"enabled": false
},
"QuickMention": {
"enabled": false
},
"QuickReply": {
"enabled": false
},
"ReactErrorDecoder": {
"enabled": false
},
"ReadAllNotificationsButton": {
"enabled": false
},
"RelationshipNotifier": {
"enabled": false
},
"ReplaceGoogleSearch": {
"enabled": false
},
"ReplyTimestamp": {
"enabled": false
},
"RevealAllSpoilers": {
"enabled": false
},
"ReverseImageSearch": {
"enabled": false
},
"ReviewDB": {
"enabled": false
},
"RoleColorEverywhere": {
"enabled": false
},
"SecretRingToneEnabler": {
"enabled": false
},
"Summaries": {
"enabled": false
},
"SendTimestamps": {
"enabled": false
},
"ServerInfo": {
"enabled": true
},
"ServerListIndicators": {
"enabled": false
},
"ShikiCodeblocks": {
"enabled": false
},
"ShowAllMessageButtons": {
"enabled": false
},
"ShowConnections": {
"enabled": false
},
"ShowHiddenChannels": {
"enabled": false
},
"ShowHiddenThings": {
"enabled": false
},
"ShowMeYourName": {
"enabled": false
},
"ShowTimeoutDuration": {
"enabled": false
},
"SilentMessageToggle": {
"enabled": false
},
"SilentTyping": {
"enabled": false,
"showIcon": false,
"contextMenu": true,
"isEnabled": true
},
"SortFriendRequests": {
"enabled": false
},
"SpotifyControls": {
"enabled": false
},
"SpotifyCrack": {
"enabled": true,
"noSpotifyAutoPause": true,
"keepSpotifyActivityOnIdle": false
},
"SpotifyShareCommands": {
"enabled": false
},
"StartupTimings": {
"enabled": false
},
"StickerPaste": {
"enabled": false
},
"StreamerModeOnStream": {
"enabled": false
},
"SuperReactionTweaks": {
"enabled": false
},
"TextReplace": {
"enabled": false
},
"ThemeAttributes": {
"enabled": false
},
"TimeBarAllActivities": {
"enabled": false
},
"Translate": {
"enabled": false
},
"TypingIndicator": {
"enabled": false
},
"TypingTweaks": {
"enabled": false
},
"Unindent": {
"enabled": false
},
"UnlockedAvatarZoom": {
"enabled": false
},
"UnsuppressEmbeds": {
"enabled": false
},
"UserVoiceShow": {
"enabled": false
},
"USRBG": {
"enabled": false
},
"ValidReply": {
"enabled": true
},
"ValidUser": {
"enabled": false
},
"VoiceChatDoubleClick": {
"enabled": false
},
"VcNarrator": {
"enabled": false
},
"VencordToolbox": {
"enabled": false
},
"ViewIcons": {
"enabled": false
},
"ViewRaw": {
"enabled": false
},
"VoiceDownload": {
"enabled": false
},
"VoiceMessages": {
"enabled": false
},
"VolumeBooster": {
"enabled": false
},
"WebKeybinds": {
"enabled": true
},
"WebScreenShareFixes": {
"enabled": true
},
"WhoReacted": {
"enabled": false
},
"XSOverlay": {
"enabled": false
},
"YoutubeAdblock": {
"enabled": false
},
"NoTrack": {
"enabled": true,
"disableAnalytics": true
},
"WebContextMenus": {
"enabled": true,
"addBack": true
},
"Settings": {
"enabled": true,
"settingsLocation": "aboveNitro"
},
"FullSearchContext": {
"enabled": true
},
"AccountPanelServerProfile": {
"enabled": false
},
"SupportHelper": {
"enabled": true
},
"UserMessagesPronouns": {
"enabled": false,
"pronounsFormat": "LOWERCASE",
"pronounSource": 0,
"showSelf": true,
"showInMessages": true,
"showInProfile": true
},
"DynamicImageModalAPI": {
"enabled": true
},
"FixImagesQuality": {
"enabled": false
}
},
"notifications": {
"timeout": 5000,
"position": "bottom-right",
"useNative": "not-focused",
"logLimit": 50
},
"cloud": {
"authenticated": false,
"url": "https://api.vencord.dev/",
"settingsSync": false,
"settingsSyncVersion": 1732949151005
}
}

View file

@ -0,0 +1,84 @@
/**
* @name system24 (catppuccin mocha)
* @description A tui-style discord theme. Based on the catppuccin mocha color palette.
* @author refact0r
* @version 1.0.0
* @invite nz87hXyvcy
* @website https://github.com/refact0r/system24
* @source https://github.com/refact0r/system24/blob/master/flavors/catppuccin-mocha.theme.css
* @authorId 508863359777505290
* @authorLink https://www.refact0r.dev
*/
/* import theme modules */
@import url('https://refact0r.github.io/system24/src/main.css'); /* main theme css. DO NOT REMOVE */
@import url('https://refact0r.github.io/system24/src/unrounding.css'); /* gets rid of all rounded corners. remove if you want rounded corners. */
/* customize things here */
:root {
--font: 'JetBrainsMono Nerd Font Mono'; /* UI font name. it must be installed on your system. */
letter-spacing: -0.05ch; /* decreases letter spacing for better readability. */
font-weight: 300; /* UI font weight. */
--label-font-weight: 500; /* font weight for panel labels. */
--corner-text: 'catppuccin24'; /* custom text to display in the corner. only works on windows. */
--pad: 16px; /* padding between panels. */
--txt-pad: 10px; /* padding inside panels to prevent labels from clipping */
--panel-roundness: 0px; /* corner roundness of panels. ONLY WORKS IF unrounding.css IS REMOVED (see above). */
/* background colors */
--bg-0: #1e1e2e; /* main background color. */
--bg-1: #181825; /* background color for secondary elements like code blocks, embeds, etc. */
--bg-2: #313244; /* color of neutral buttons. */
--bg-3: #45475a; /* color of neutral buttons when hovered. */
/* state modifiers */
--hover: color-mix(in oklch, var(--txt-3), transparent 80%); /* color of hovered elements. */
--active: color-mix(in oklch, var(--txt-3), transparent 60%); /* color of elements when clicked. */
--selected: var(--active); /* color of selected elements. */
/* text colors */
--txt-dark: var(--bg-0); /* color of dark text on colored backgrounds. */
--txt-link: var(--cyan); /* color of links. */
--txt-0: #eaeefa; /* color of bright/white text. */
--txt-1: #cdd6f4; /* main text color. */
--txt-2: #9399b2; /* color of secondary text like channel list. */
--txt-3: #585b70; /* color of muted text. */
/* accent colors */
--acc-0: var(--purple); /* main accent color. */
--acc-1: var(--purple-1); /* color of accent buttons when hovered. */
--acc-2: var(--purple-2); /* color of accent buttons when clicked. */
/* borders */
--border-width: 2px; /* panel border thickness. */
--border-color: var(--bg-2); /* panel border color. */
--border-hover-color: var(--acc-0); /* panel border color when hovered. */
--border-transition: 0.2s ease; /* panel border transition. */
/* status dot colors */
--online-dot: var(--green); /* color of online dot. */
--dnd-dot: var(--pink); /* color of do not disturb dot. */
--idle-dot: var(--yellow); /* color of idle dot. */
--streaming-dot: var(--purple); /* color of streaming dot. */
/* mention/ping and message colors */
--mention-txt: var(--acc-0); /* color of mention text. */
--mention-bg: color-mix(in oklch, var(--acc-0), transparent 90%); /* background highlight of mention text. */
--mention-overlay: color-mix(in oklch, var(--acc-0), transparent 90%); /* overlay color of messages that mention you. */
--mention-hover-overlay: color-mix(in oklch, var(--acc-0), transparent 95%); /* overlay color of messages that mention you when hovered. */
--reply-overlay: var(--active); /* overlay color of message you are replying to. */
--reply-hover-overlay: var(--hover); /* overlay color of message you are replying to when hovered. */
/* color shades */
--pink: #f38ba8;
--pink-1: #d16c89;
--pink-2: #af4e6c;
--purple: #cba6f7;
--purple-1: #ab87d6;
--purple-2: #8d69b5;
--cyan: #74c7ec;
--yellow: #f9e2af;
--green: #a6e3a1;
--green-1: #87c282;
--green-2: #68a364;
}

View file

@ -0,0 +1,99 @@
/**
* @name midnight
* @description A dark, rounded discord theme.
* @author refact0r
* @version 1.6.2
* @invite nz87hXyvcy
* @website https://github.com/refact0r/midnight-discord
* @source https://github.com/refact0r/midnight-discord/blob/master/midnight.theme.css
* @authorId 508863359777505290
* @authorLink https://www.refact0r.dev
*/
/* IMPORTANT: make sure to enable dark mode in discord settings for the theme to apply properly!!! */
@import url('https://refact0r.github.io/midnight-discord/midnight.css');
/* customize things here */
:root {
/* font, change to 'gg sans' for default discord font*/
--font: 'figtree';
/* top left corner text */
--corner-text: 'Midnight';
/* color of status indicators and window controls */
--online-indicator: #4b5c92; /* change to #23a55a for default green */
--dnd-indicator: #ffb4ab; /* change to #f13f43 for default red */
--idle-indicator: #5a3d58; /* change to #f0b232 for default yellow */
--streaming-indicator: #1a2d60; /* change to #593695 for default purple */
/* accent colors */
--accent-1: #e2bbdb; /* links */
--accent-2: #b4c5ff; /* general unread/mention elements, some icons when active */
--accent-3: #b4c5ff; /* accent buttons */
--accent-4: #38393f; /* accent buttons when hovered */
--accent-5: #b4c5ff; /* accent buttons when clicked */
--mention: #121318; /* mentions & mention messages */
--mention-hover: #38393f; /* mentions & mention messages when hovered */
/* text colors */
--text-0: #121318; /* text on colored elements */
--text-1: #e3e2e9; /* other normally white text */
--text-2: #e3e2e9; /* headings and important text */
--text-3: #c5c6d0; /* normal text */
--text-4: #c5c6d0; /* icon buttons and channels */
--text-5: #8f909a; /* muted channels/chats and timestamps */
/* background and dark colors */
--bg-1: #b4c5ff; /* dark buttons when clicked */
--bg-2: #292a2f; /* dark buttons */
--bg-3: #1a1b21; /* spacing, secondary elements */
--bg-4: #121318; /* main background color */
--hover: #38393f; /* channels and buttons when hovered */
--active: #38393f; /* channels and buttons when clicked or selected */
--message-hover: #38393f; /* messages when hovered */
/* amount of spacing and padding */
--spacing: 12px;
/* animations */
/* ALL ANIMATIONS CAN BE DISABLED WITH REDUCED MOTION IN DISCORD SETTINGS */
--list-item-transition: 0.2s ease; /* channels/members/settings hover transition */
--unread-bar-transition: 0.2s ease; /* unread bar moving into view transition */
--moon-spin-transition: 0.4s ease; /* moon icon spin */
--icon-spin-transition: 1s ease; /* round icon button spin (settings, emoji, etc.) */
/* corner roundness (border-radius) */
--roundness-xl: 22px; /* roundness of big panel outer corners */
--roundness-l: 20px; /* popout panels */
--roundness-m: 16px; /* smaller panels, images, embeds */
--roundness-s: 12px; /* members, settings inputs */
--roundness-xs: 10px; /* channels, buttons */
--roundness-xxs: 8px; /* searchbar, small elements */
/* direct messages moon icon */
/* change to block to show, none to hide */
--discord-icon: none; /* discord icon */
--moon-icon: block; /* moon icon */
--moon-icon-url: url('https://upload.wikimedia.org/wikipedia/commons/c/c4/Font_Awesome_5_solid_moon.svg'); /* custom icon url */
--moon-icon-size: auto;
/* filter uncolorable elements to fit theme */
/* (just set to none, they're too much work to configure) */
--login-bg-filter: saturate(0.3) hue-rotate(-15deg) brightness(0.4); /* login background artwork */
--green-to-accent-3-filter: hue-rotate(56deg) saturate(1.43); /* add friend page explore icon */
--blurple-to-accent-3-filter: hue-rotate(304deg) saturate(0.84) brightness(1.2); /* add friend page school icon */
}
/* Selected chat/friend text */
.selected_f5eb4b,
.selected_f6f816 .link_d8bfb3 {
color: var(--text-0) !important;
background: var(--accent-3) !important;
}
.selected_f6f816 .link_d8bfb3 * {
color: var(--text-0) !important;
fill: var(--text-0) !important;
}

View file

@ -0,0 +1,86 @@
/**
* @name system24 (monochrome)
* @description A tui-style discord theme. Has less colors and more neutral greys and whites.
* @author refact0r, DeadGrip
* @version 1.0.0
* @invite nz87hXyvcy
* @website https://github.com/refact0r/system24
* @authorId 508863359777505290
* @authorLink https://refact0r.dev/
*/
/* import theme modules */
@import url('https://refact0r.github.io/system24/src/main.css'); /* main theme css. DO NOT REMOVE */
@import url('https://refact0r.github.io/system24/src/unrounding.css'); /* gets rid of all rounded corners. remove if you want rounded corners. */
/* customize things here */
:root {
--font: 'JetBrainsMono Nerd Font Mono'; /* UI font name. it must be installed on your system. */
letter-spacing: -0.05ch; /* decreases letter spacing for better readability. */
font-weight: 300; /* UI font weight. */
--label-font-weight: 500; /* font weight for panel labels. */
--corner-text: 'monochrome'; /* custom text to display in the corner. only works on windows. */
--pad: 16px; /* padding between panels. */
--txt-pad: 10px; /* padding inside panels to prevent labels from clipping */
--panel-roundness: 0px; /* corner roundness of panels. ONLY WORKS IF unrounding.css IS REMOVED (see above). */
/* background colors */
--bg-0: oklch(19% 0 0); /* main background color. */
--bg-1: oklch(23% 0 0); /* background color for secondary elements like code blocks, embeds, etc. */
--bg-2: oklch(27% 0 0); /* color of neutral buttons. */
--bg-3: oklch(31% 0 0); /* color of neutral buttons when hovered. */
/* state modifiers */
--hover: oklch(54% 0 0 / 0.1); /* color of hovered elements. */
--active: oklch(54% 0 0 / 0.2); /* color of elements when clicked. */
--selected: var(--active); /* color of selected elements. */
/* text colors */
--txt-dark: var(--bg-0); /* color of dark text on colored backgrounds. */
--txt-link: var(--shade-0); /* color of links. */
--txt-0: oklch(90% 0 0); /* color of bright/white text. */
--txt-1: oklch(80% 0 0); /* main text color. */
--txt-2: oklch(60% 0 0); /* color of secondary text like channel list. */
--txt-3: oklch(40% 0 0); /* color of muted text. */
/* accent colors */
--acc-0: var(--shade-0); /* main accent color. */
--acc-1: var(--shade-1); /* color of accent buttons when hovered. */
--acc-2: var(--shade-2); /* color of accent buttons when clicked. */
/* borders */
--border-width: 2px; /* panel border thickness. */
--border-color: var(--bg-3); /* panel border color. */
--border-hover-color: var(--acc-1); /* panel border color when hovered. */
--border-transition: 0.2s ease; /* panel border transition. */
/* status dot colors */
--online-dot: var(--shade-0); /* color of online dot. */
--dnd-dot: oklch(80% 0.08 0); /* color of do not disturb dot. */
--idle-dot: oklch(80% 0.08 100); /* color of idle dot. */
--streaming-dot: oklch(80% 0.08 300); /* color of streaming dot. */
/* mention/ping and message colors */
--mention-txt: var(--acc-0); /* color of mention text. */
--mention-bg: color-mix(in oklch, var(--acc-0), transparent 90%); /* background highlight of mention text. */
--mention-overlay: color-mix(in oklch, var(--acc-0), transparent 90%); /* overlay color of messages that mention you. */
--mention-hover-overlay: color-mix(in oklch, var(--acc-0), transparent 95%); /* overlay color of messages that mention you when hovered. */
--reply-overlay: var(--active); /* overlay color of message you are replying to. */
--reply-hover-overlay: var(--hover); /* overlay color of message you are replying to when hovered. */
/* color shades */
--pink: oklch(90% 0 0);
--pink-1: oklch(70% 0 0);
--pink-2: oklch(50% 0 0);
--purple: oklch(90% 0 0);
--purple-1: oklch(70% 0 0);
--purple-2: oklch(50% 0 0);
--cyan: oklch(90% 0 0);
--yellow: oklch(90% 0 0);
--green: oklch(90% 0 0);
--green-1: oklch(70% 0 0);
--green-2: oklch(50% 0 0);
--shade-0: oklch(90% 0 0);
--shade-1: oklch(70% 0 0);
--shade-2: oklch(50% 0 0);
}

View file

@ -0,0 +1,103 @@
/*
* Css Colors
* Generated with Matugen
*/
@define-color background #121318;
@define-color error #ffb4ab;
@define-color error_container #93000a;
@define-color inverse_on_surface #2f3036;
@define-color inverse_primary #4b5c92;
@define-color inverse_surface #e3e2e9;
@define-color on_background #e3e2e9;
@define-color on_error #690005;
@define-color on_error_container #ffdad6;
@define-color on_primary #1a2d60;
@define-color on_primary_container #dbe1ff;
@define-color on_primary_fixed #00174b;
@define-color on_primary_fixed_variant #334478;
@define-color on_secondary #2b3042;
@define-color on_secondary_container #dde1f9;
@define-color on_secondary_fixed #161b2c;
@define-color on_secondary_fixed_variant #414659;
@define-color on_surface #e3e2e9;
@define-color on_surface_variant #c5c6d0;
@define-color on_tertiary #422741;
@define-color on_tertiary_container #ffd6f8;
@define-color on_tertiary_fixed #2b122b;
@define-color on_tertiary_fixed_variant #5a3d58;
@define-color outline #8f909a;
@define-color outline_variant #45464f;
@define-color primary #b4c5ff;
@define-color primary_container #334478;
@define-color primary_fixed #dbe1ff;
@define-color primary_fixed_dim #b4c5ff;
@define-color scrim #000000;
@define-color secondary #c1c5dd;
@define-color secondary_container #414659;
@define-color secondary_fixed #dde1f9;
@define-color secondary_fixed_dim #c1c5dd;
@define-color shadow #000000;
@define-color source_color #5773c5;
@define-color surface #121318;
@define-color surface_bright #38393f;
@define-color surface_container #1e1f25;
@define-color surface_container_high #292a2f;
@define-color surface_container_highest #34343a;
@define-color surface_container_low #1a1b21;
@define-color surface_container_lowest #0d0e13;
@define-color surface_dim #121318;
@define-color surface_variant #45464f;
@define-color tertiary #e2bbdb;
@define-color tertiary_container #5a3d58;
@define-color tertiary_fixed #ffd6f8;
@define-color tertiary_fixed_dim #e2bbdb;

View file

@ -0,0 +1,26 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;

View file

@ -0,0 +1,105 @@
@import "mocha.css";
* {
font-family: Cantarell, "Font Awesome 6 Free", SymbolsNerdFont;
font-weight: bold;
font-size: 14px;
min-height: 0px;
}
window#waybar {
background-color: @transparent;
/* background: @base; */
transition-property: background-color;
transition-duration: .5s;
border-radius: 0px;
}
#workspaces {
background-color: @mantle;
margin: 4px 5px 4px 5px;
padding: 3px;
border-radius: 14px;
}
#workspaces button,
#workspaces button:hover,
#workspaces button.active {
padding: 0px 4px;
margin: 2px;
border-radius: 10px;
}
#workspaces button {
background-color: @mantle;
color: @text;
}
#workspaces button:hover {
background-color: @lavender;
color: @base;
}
#workspaces button.active {
background-color: @blue;
color: @base
}
#workspaces button.active:hover {
background-color: @blue;
color: @base;
}
#custom-power, #custom-runner, #battery,
#backlight, #wireplumber, #wireplumber.muted,
#tray, #language, #clock, #cpu, #memory {
background: @mantle;
border-radius: 14px;
color: @text;
margin: 4px 2.5px 4px 2.5px;
}
#custom-power {
margin: 4px 2.5px 4px 2.5px;
padding: 0px 9px;
}
#custom-runner {
padding: 0px 10px;
}
#cpu, #memory {
padding: 0px 5px;
}
#cpu {
padding: 0px 10px;
}
#battery {
padding: 0px 10px;
}
#memory {
min-width: 60px
}
#tray {
margin: 4px 2.5px 4px 5px;
padding: 0px 10px;
}
#backlight, #wireplumber, #wireplumber.muted {
padding: 0px 10px;
min-width: 55px;
}
#wireplumber.muted {
color: @error;
}
#language {
padding: 0px 11px 0px 10px;
min-width: 40px;
}
#clock {
padding: 0px 10px;
margin: 4px 5px 4px 2.5px;
font-size: 15px;
min-width: 40px;
}

View file

@ -0,0 +1,102 @@
{
"position": "bottom",
"height": 36,
"width": 0,
"spacing": 0,
"margin-top": -12,
"margin-bottom": 5,
"margin-left": 10,
"margin-right": 10,
"layer": "top",
"modules-left": [
"tray",
"memory",
"cpu"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"wireplumber",
"backlight",
"battery",
"hyprland/language",
"clock"
],
"custom/power": {
"format": "",
"on-click": "~/.config/hypr/bin/powermenu"
},
"custom/runner": {
"format": "",
"on-click": "hyprlauncher"
},
"hyprland/workspaces": {
"format": "{name}",
"on-click": "activate",
"tooltip": false,
"persistent_workspaces": {
"*": 1
}
},
"tray": {
"icon-size": 14,
"spacing": 15
},
"battery": {
"bat": "qcom-battery",
"interval": 1,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
],
"max-length": 25
},
"backlight": {
"device": "ktz8866-backlight",
"format": " {percent}%",
"on-scroll-up": "brightnessctl set 1%+",
"on-scroll-down": "brightnessctl set 1%-"
},
"wireplumber": {
"scroll-step": 2,
"format": "{icon} {volume}%",
"format-icons": [
"",
"",
""
],
"format-muted": " mute",
"on-click": "pavucontrol",
"max-volume": 100
},
"hyprland/language": {
"format": " {}",
"format-en": "Eng",
"format-ru": "Rus",
"on-click": "pkill -34 wvkbd-mobintl"
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}",
"format": "{:%H:%M}",
"timezone": "Asia/Yekaterinburg"
},
"memory": {
"interval": 1,
"format": " {used:0.1f}G"
},
"cpu": {
"interval": 1,
"format": " {usage}%"
}
}

View file

@ -0,0 +1 @@
Alacritty.desktop

View file

@ -0,0 +1,3 @@
[Icon Theme]
Name=Bibata-Modern-Classic
Inherits="Bibata-Modern-Classic"

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
crossed_circle

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
question_arrow

View file

@ -0,0 +1 @@
dnd-link

View file

@ -0,0 +1 @@
move

View file

@ -0,0 +1 @@
left_ptr

View file

@ -0,0 +1 @@
bd_double_arrow

View file

@ -0,0 +1 @@
plus

View file

@ -0,0 +1 @@
grabbing

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
tcross

Some files were not shown because too many files have changed in this diff Show more