Revamp installer and dots
This commit is contained in:
parent
fc0a7a25ab
commit
34fb8a5fcb
76 changed files with 6240 additions and 2786 deletions
38
.zshrc
38
.zshrc
|
@ -1,38 +0,0 @@
|
|||
#
|
||||
# Neofetch
|
||||
#
|
||||
neofetch
|
||||
#
|
||||
# General config
|
||||
#
|
||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
CASE_SENSITIVE="false"
|
||||
HYPHEN_INSENSITIVE="true"
|
||||
ENABLE_CORRECTION="true"
|
||||
ZSH_CUSTOM_AUTOUPDATE_QUIET=true
|
||||
|
||||
#
|
||||
# Plugins
|
||||
#
|
||||
plugins=(auto-notify zsh-256color sudo copyfile dirhistory zsh-autosuggestions zsh-bash-completions-fallback autoupdate)
|
||||
|
||||
#
|
||||
# Oh my zsh
|
||||
#
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
#
|
||||
# Fine-the-command
|
||||
#
|
||||
source /usr/share/doc/find-the-command/ftc.zsh quiet
|
||||
|
||||
#
|
||||
# P10K
|
||||
#
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
12
README.md
12
README.md
|
@ -1,11 +1,19 @@
|
|||
# Dotfiles
|
||||
|
||||
These are my dotfiles for neofetch, neovim, zsh, glava, alacritty, and btop.
|
||||
These are my dotfiles for hyprland, waybar, neofetch, btop, fish, kitty, yofi and neovim.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
`btop`, `fish`, `hyprland` (or `hyprland-nvidia-git` if you are on NVIDIA.), `hyprpaper`, `kitty`, `waybar`, and `yofi`.
|
||||
|
||||
To install on arch: `ame -S btop fish hyprland hyprpaper-git kitty waybar-hyprland-git yofi-bin`
|
||||
Replace `ame` with the name of your AUR manager, and `hyprland` with `hyprland-nvidia-git` if you are using NVIDIA.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
git clone https://github.com/Henry-Hiles/dotfiles
|
||||
cd dotfiles
|
||||
sh install.sh
|
||||
chmod +x install.sh
|
||||
./install.sh
|
||||
```
|
||||
|
|
14
aliases.zsh
14
aliases.zsh
|
@ -1,14 +0,0 @@
|
|||
alias sudo=doas
|
||||
alias doas="doas "
|
||||
alias cat=bat
|
||||
alias ls='exa -a --color=always --group-directories-first --icons'
|
||||
alias ping="prettyping"
|
||||
alias push="git push"
|
||||
alias clone="gh repo clone"
|
||||
alias create="gh repo create"
|
||||
alias commit="git add -A && git commit -am"
|
||||
alias shutdown='shutdown now'
|
||||
alias mv=mv
|
||||
alias mkdir=mkdir
|
||||
alias free="free -h"
|
||||
alias rm='rmtrash'
|
178
bubblesextra.omp.json
Normal file
178
bubblesextra.omp.json
Normal file
|
@ -0,0 +1,178 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#3EC669",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue5ff {{ .Path }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#43CCEA",
|
||||
"foreground_templates": [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
|
||||
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
||||
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
||||
],
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#E4F34A",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#7FD5EA",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "go"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#42E66C",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "ruby"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "java"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#9B6BDF",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "julia"
|
||||
},
|
||||
{
|
||||
"type": "php",
|
||||
"style": "diamond",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#4063D8",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false
|
||||
},
|
||||
"template": "\ue73d {{ .Full }} ",
|
||||
"trailing_diamond": "\ue0b4"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#9B6BDF",
|
||||
"foreground_templates": [
|
||||
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
|
||||
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
|
||||
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
|
||||
],
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"charged_icon": " ",
|
||||
"charging_icon": "\u21e1 ",
|
||||
"discharging_icon": "\u21e3 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "battery"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#AEA4BF",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "austin",
|
||||
"threshold": 150
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .FormattedMs }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#E64747",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }} \u276f",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 2
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
window:
|
||||
padding:
|
||||
x: 10
|
||||
y: 10
|
||||
|
||||
dynamic_padding: false
|
||||
opacity: 0.85
|
||||
title: Terminal
|
||||
dynamic_title: false
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: fira code
|
||||
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
cursor:
|
||||
style:
|
||||
shape: Beam
|
||||
blinking: On
|
||||
|
||||
live_config_reload: true
|
||||
|
||||
colors:
|
||||
transparent_background_colors: true
|
|
@ -1,13 +0,0 @@
|
|||
window:
|
||||
opacity: 0
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: fira code
|
||||
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
live_config_reload: true
|
||||
|
||||
colors:
|
||||
transparent_background_colors: true
|
|
@ -1,11 +1,11 @@
|
|||
#? Config file for btop v. 1.2.12
|
||||
#? Config file for btop v. 1.2.13
|
||||
|
||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||
color_theme = "onedark"
|
||||
|
||||
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
||||
theme_background = True
|
||||
theme_background = False
|
||||
|
||||
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||
truecolor = True
|
||||
|
@ -16,7 +16,7 @@ force_tty = False
|
|||
|
||||
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
||||
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
||||
#* Use withespace " " as separator between different presets.
|
||||
#* Use whitespace " " as separator between different presets.
|
||||
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
|
||||
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
|
||||
|
||||
|
|
154
config/fish/completions/bun.fish
Normal file
154
config/fish/completions/bun.fish
Normal file
|
@ -0,0 +1,154 @@
|
|||
# This is terribly complicated
|
||||
# It's because:
|
||||
# 1. bun run has to have dynamic completions
|
||||
# 2. there are global options
|
||||
# 3. bun {install add remove} gets special options
|
||||
# 4. I don't know how to write fish completions well
|
||||
# Contributions very welcome!!
|
||||
|
||||
function __fish__get_bun_bins
|
||||
string split ' ' (bun getcompletes b)
|
||||
end
|
||||
|
||||
function __fish__get_bun_scripts
|
||||
set -lx SHELL bash
|
||||
set -lx MAX_DESCRIPTION_LEN 40
|
||||
string trim (string split '\n' (string split '\t' (bun getcompletes z)))
|
||||
end
|
||||
|
||||
function __fish__get_bun_packages
|
||||
if test (commandline -ct) != ""
|
||||
set -lx SHELL fish
|
||||
string split ' ' (bun getcompletes a (commandline -ct))
|
||||
end
|
||||
end
|
||||
|
||||
function __history_completions
|
||||
set -l tokens (commandline --current-process --tokenize)
|
||||
history --prefix (commandline) | string replace -r \^$tokens[1]\\s\* "" | string replace -r \^$tokens[2]\\s\* "" | string split ' '
|
||||
end
|
||||
|
||||
function __fish__get_bun_bun_js_files
|
||||
string split ' ' (bun getcompletes j)
|
||||
end
|
||||
|
||||
function bun_fish_is_nth_token --description 'Test if current token is on Nth place' --argument-names n
|
||||
set -l tokens (commandline -poc)
|
||||
set -l tokens (string replace -r --filter '^([^-].*)' '$1' -- $tokens)
|
||||
test (count $tokens) -eq "$n"
|
||||
end
|
||||
|
||||
function __bun_command_count --argument-names n
|
||||
set -l cmds (commandline -poc)
|
||||
|
||||
test (count cmds) -eq "$n"
|
||||
end
|
||||
|
||||
function __bun_last_cmd --argument-names n
|
||||
set -l cmds (commandline -poc)
|
||||
|
||||
test "(cmds[-1])" = "$n"
|
||||
end
|
||||
|
||||
set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global
|
||||
set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't install devDependencies" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependenices" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder"
|
||||
|
||||
set -l bun_builtin_cmds dev create help bun upgrade discord run install remove add init link unlink
|
||||
set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add init
|
||||
set -l bun_builtin_cmds_without_bun dev create help upgrade run discord install remove add init
|
||||
set -l bun_builtin_cmds_without_create dev help bun upgrade discord run install remove add init
|
||||
set -l bun_builtin_cmds_without_install create dev help bun upgrade discord run remove add init
|
||||
set -l bun_builtin_cmds_without_remove create dev help bun upgrade discord run install add init
|
||||
set -l bun_builtin_cmds_without_add create dev help bun upgrade discord run remove install init
|
||||
set -l bun_builtin_cmds_without_pm create dev help bun upgrade discord run init
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a '(__fish__get_bun_scripts)' -d 'script'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from run" -a '(__fish__get_bun_bins)' -d 'package bin'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from run" -a '(__fish__get_bun_scripts)' -d 'script'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from run" -a '(__fish__get_bun_bun_js_files)' -d 'Bun.js'
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'run' -f -d 'Run a script or bin'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'u' -l 'origin' -r -d 'Server URL. Rewrites import paths'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'p' -l 'port' -r -d 'Port number to start server from'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'd' -l 'define' -r -d 'Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\"'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'use' -r -d 'Use a framework (ex: next)'
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime'
|
||||
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'dev' -d 'Start dev server'
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'create' -f -d 'Create a new project from a template'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_create next react; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from create;" -a 'next' -d 'new Next.js project'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_create next react; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from create;" -a 'react' -d 'new React project'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a 'upgrade' -d 'Upgrade bun to the latest version' -x
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a '--help' -d 'See all commands and flags' -x
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -l "version" -s "v" -a '--version' -d 'bun\'s version' -x
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a 'discord' -d 'Open bun\'s Discord server' -x
|
||||
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_bun; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); __fish_use_subcommand" -a 'bun' -d 'Generate a new bundle'
|
||||
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_bun; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from bun" -F -d 'Bundle this'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_create; and not __fish_seen_subcommand_from (__fish__get_bun_bins); and not __fish_seen_subcommand_from (__fish__get_bun_scripts); and __fish_seen_subcommand_from react; or __fish_seen_subcommand_from next" -F -d "Create in directory"
|
||||
|
||||
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'init' -F -d 'Start an empty Bun project'
|
||||
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'install' -f -d 'Install packages from package.json'
|
||||
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'add' -F -d 'Add a package to package.json'
|
||||
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'remove' -F -d 'Remove a package from package.json'
|
||||
|
||||
complete -c bun \
|
||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand add remove" -F
|
||||
|
||||
|
||||
for i in (seq (count $bun_install_boolean_flags))
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from install add remove;" -l "$bun_install_boolean_flags[$i]" -d "$bun_install_boolean_flags_descriptions[$i]"
|
||||
end
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from install add remove;" -l 'cwd' -d 'Change working directory'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from install add remove;" -l 'cache-dir' -d 'Choose a cache directory (default: $HOME/.bun/install/cache)'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from add;" -d 'Popular' -a '(__fish__get_bun_packages)'
|
||||
|
||||
complete -c bun \
|
||||
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from add;" -d 'History' -a '(__history_completions)'
|
||||
|
||||
complete -c bun --no-files
|
2
config/fish/conf.d/00_fig_pre.fish
Normal file
2
config/fish/conf.d/00_fig_pre.fish
Normal file
|
@ -0,0 +1,2 @@
|
|||
contains $HOME/.local/bin $PATH; or set -a PATH $HOME/.local/bin
|
||||
command -qv fig; and eval (fig init fish pre --rcfile 00_fig_pre | string split0)
|
2
config/fish/conf.d/99_fig_post.fish
Normal file
2
config/fish/conf.d/99_fig_post.fish
Normal file
|
@ -0,0 +1,2 @@
|
|||
contains $HOME/.local/bin $PATH; or set -a PATH $HOME/.local/bin
|
||||
command -qv fig; and eval (fig init fish post --rcfile 99_fig_post | string split0)
|
7
config/fish/conf.d/omf.fish
Normal file
7
config/fish/conf.d/omf.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Path to Oh My Fish install.
|
||||
set -q XDG_DATA_HOME
|
||||
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
|
||||
or set -gx OMF_PATH "$HOME/.local/share/omf"
|
||||
|
||||
# Load Oh My Fish configuration.
|
||||
source $OMF_PATH/init.fish
|
6
config/fish/config.fish
Normal file
6
config/fish/config.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
if status is-interactive
|
||||
oh-my-posh init fish --config ~/.poshthemes/bubblesextra.omp.json | source
|
||||
export LS_COLORS="di=1;31:ln=31:so=37:pi=37:ex=1;31;40:bd=1;37;41:cd=37:su=1;37;41:sg=1;37;41:tw=1;31:ow=1;31"
|
||||
alias sudo doas
|
||||
end
|
||||
|
45
config/fish/fish_variables
Normal file
45
config/fish/fish_variables
Normal file
File diff suppressed because one or more lines are too long
3
config/fish/functions/cat.fish
Normal file
3
config/fish/functions/cat.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function cat --wraps=bat --description 'alias cat=bat'
|
||||
bat $argv;
|
||||
end
|
3
config/fish/functions/clone.fish
Normal file
3
config/fish/functions/clone.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function clone --description 'alias clone=gh repo clone'
|
||||
gh repo clone $argv;
|
||||
end
|
3
config/fish/functions/commit.fish
Normal file
3
config/fish/functions/commit.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function commit --wraps='git add -A && git commit -am' --description 'alias commit=git add -A && git commit -am'
|
||||
git add -A && git commit -am $argv;
|
||||
end
|
3
config/fish/functions/create.fish
Normal file
3
config/fish/functions/create.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function create --description 'alias create=gh repo create'
|
||||
gh repo create $argv;
|
||||
end
|
3
config/fish/functions/doas.fish
Normal file
3
config/fish/functions/doas.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function doas --description 'alias doas=doas '
|
||||
command doas $argv;
|
||||
end
|
3
config/fish/functions/fish_greeting.fish
Normal file
3
config/fish/functions/fish_greeting.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function fish_greeting
|
||||
neofetch
|
||||
end
|
3
config/fish/functions/free.fish
Normal file
3
config/fish/functions/free.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function free --description 'alias free=free -h'
|
||||
command free -h $argv;
|
||||
end
|
3
config/fish/functions/image.fish
Normal file
3
config/fish/functions/image.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function image --wraps='kitty +kitten icat' --description 'alias image=kitty +kitten icat'
|
||||
kitty +kitten icat $argv;
|
||||
end
|
3
config/fish/functions/ls.fish
Normal file
3
config/fish/functions/ls.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ls --wraps='exa -a --color=always --group-directories-first --icons' --description 'alias ls=exa -a --color=always --group-directories-first --icons'
|
||||
exa -a --color=always --group-directories-first --icons $argv;
|
||||
end
|
3
config/fish/functions/mcrcon.fish
Normal file
3
config/fish/functions/mcrcon.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function mcrcon --description 'alias mcrcon=mcrcon -p Moosebrains1! -H 192.168.1.191'
|
||||
command mcrcon -p Moosebrains1! -H 192.168.1.191 $argv;
|
||||
end
|
3
config/fish/functions/minecraft.fish
Normal file
3
config/fish/functions/minecraft.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function minecraft --wraps='kitty +kitten ssh root@192.168.1.191' --description 'alias minecraft=kitty +kitten ssh root@192.168.1.191'
|
||||
kitty +kitten ssh root@192.168.1.191 $argv;
|
||||
end
|
3
config/fish/functions/ping.fish
Normal file
3
config/fish/functions/ping.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ping --wraps=prettyping --description 'alias ping=prettyping'
|
||||
prettyping $argv;
|
||||
end
|
3
config/fish/functions/push.fish
Normal file
3
config/fish/functions/push.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function push --description 'alias push=git push'
|
||||
git push $argv;
|
||||
end
|
3
config/fish/functions/ripgrep.fish
Normal file
3
config/fish/functions/ripgrep.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ripgrep --wraps=rg --description 'alias ripgrep=rg'
|
||||
rg $argv;
|
||||
end
|
3
config/fish/functions/rm.fish
Normal file
3
config/fish/functions/rm.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function rm --description 'alias rm=rm -t'
|
||||
command rmtrash $argv;
|
||||
end
|
3
config/fish/functions/shutdown.fish
Normal file
3
config/fish/functions/shutdown.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function shutdown --description 'alias shutdown=shutdown now'
|
||||
command shutdown now $argv;
|
||||
end
|
3
config/fish/functions/ssh.fish
Normal file
3
config/fish/functions/ssh.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ssh --description 'alias ssh=kitty +kitten ssh'
|
||||
kitty +kitten ssh $argv;
|
||||
end
|
3
config/fish/functions/vm.fish
Normal file
3
config/fish/functions/vm.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function vm --wraps='kitty +kitten ssh moose@107.174.70.14' --wraps='kitty +kitten ssh moose@107.174.70.140' --description 'alias vm=kitty +kitten ssh moose@107.174.70.140'
|
||||
kitty +kitten ssh moose@107.174.70.140 $argv;
|
||||
end
|
|
@ -1 +0,0 @@
|
|||
/etc/xdg/glava//bars
|
|
@ -1,33 +0,0 @@
|
|||
|
||||
/* Center line thickness (pixels) */
|
||||
#define C_LINE 1
|
||||
/* Width (in pixels) of each bar */
|
||||
#define BAR_WIDTH 10
|
||||
/* Width (in pixels) of each bar gap */
|
||||
#define BAR_GAP 2
|
||||
/* Outline color */
|
||||
#define BAR_OUTLINE #d90000
|
||||
/* Outline width (in pixels, set to 0 to disable outline drawing) */
|
||||
#define BAR_OUTLINE_WIDTH 0
|
||||
/* Amplify magnitude of the results each bar displays */
|
||||
#define AMPLIFY 500
|
||||
/* Whether the current settings use the alpha channel;
|
||||
enabling this is required for alpha to function
|
||||
correctly on X11 with `"native"` transparency. */
|
||||
#define USE_ALPHA 0
|
||||
/* How strong the gradient changes */
|
||||
#define GRADIENT_POWER 60
|
||||
/* Bar color changes with height */
|
||||
#define GRADIENT (d / GRADIENT_POWER + 1)
|
||||
/* Bar color */
|
||||
#define COLOR #AD0000
|
||||
/* Direction that the bars are facing, 0 for inward, 1 for outward */
|
||||
#define DIRECTION 0
|
||||
/* Whether to switch left/right audio buffers */
|
||||
#define INVERT 0
|
||||
/* Whether to flip the output vertically */
|
||||
#define FLIP 1
|
||||
/* Whether to mirror output along `Y = X`, causing output to render on the left side of the window */
|
||||
/* Use with `FLIP 1` to render on the right side */
|
||||
#define MIRROR_YX 0
|
||||
|
|
@ -1 +0,0 @@
|
|||
/etc/xdg/glava//circle
|
|
@ -1,24 +0,0 @@
|
|||
/* center radius (pixels) */
|
||||
#define C_RADIUS 128
|
||||
/* center line thickness (pixels) */
|
||||
#define C_LINE 1.5
|
||||
/* outline color */
|
||||
#define OUTLINE #333333
|
||||
/* Amplify magnitude of the results each bar displays */
|
||||
#define AMPLIFY 150
|
||||
/* Angle (in radians) for how much to rotate the visualizer */
|
||||
#define ROTATE (PI / 2)
|
||||
/* Whether to switch left/right audio buffers */
|
||||
#define INVERT 0
|
||||
/* Whether to fill in the space between the line and inner circle */
|
||||
#define C_FILL 0
|
||||
/* Whether to apply a post-processing image smoothing effect
|
||||
1 to enable, 0 to disable. Only works with `xroot` transparency,
|
||||
and improves performance if disabled. */
|
||||
#define C_SMOOTH 1
|
||||
|
||||
/* Gravity step, overrude frin `smooth_parameters.glsl` */
|
||||
#request setgravitystep 6.0
|
||||
|
||||
/* Smoothing factor, override from `smooth_parameters.glsl` */
|
||||
#request setsmoothfactor 0.01
|
|
@ -1,8 +0,0 @@
|
|||
#request setdecorated false
|
||||
#request setxwintype "normal"
|
||||
#request addxwinstate "below"
|
||||
#request addxwinstate "skip_taskbar"
|
||||
#request addxwinstate "skip_pager"
|
||||
#request addxwinstate "pinned"
|
||||
#request setclickthrough true
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#request setxwintype "desktop"
|
||||
#request addxwinstate "pinned"
|
|
@ -1,3 +0,0 @@
|
|||
#request setxwintype "desktop"
|
||||
#request addxwinstate "pinned"
|
||||
#request addxwinstate "below"
|
|
@ -1 +0,0 @@
|
|||
#request setxwintype "!-"
|
|
@ -1 +0,0 @@
|
|||
#request setxwintype "desktop"
|
|
@ -1 +0,0 @@
|
|||
#request setxwintype "!-"
|
|
@ -1 +0,0 @@
|
|||
/etc/xdg/glava//graph
|
|
@ -1,31 +0,0 @@
|
|||
|
||||
/* Vertical scale, larger values will amplify output */
|
||||
#define VSCALE 300
|
||||
/* Rendering direction, either -1 (outwards) or 1 (inwards). */
|
||||
#define DIRECTION 1
|
||||
|
||||
/* Color gradient scale, (optionally) used in `COLOR` macro */
|
||||
#define GRADIENT_SCALE 75
|
||||
/* Color definition. By default this is a gradient formed by mixing two colors.
|
||||
`pos` represents the pixel position relative to the visualizer baseline. */
|
||||
#define COLOR mix(#802A2A, #4F4F92, clamp(pos / GRADIENT_SCALE, 0, 1))
|
||||
/* 1 to draw outline, 0 to disable */
|
||||
#define DRAW_OUTLINE 0
|
||||
/* 1 to draw edge highlight, 0 to disable */
|
||||
#define DRAW_HIGHLIGHT 1
|
||||
/* Whether to anti-alias the border of the graph, creating a smoother curve.
|
||||
This may have a small impact on performance.
|
||||
Note: requires `xroot` or `none` opacity to be set */
|
||||
#define ANTI_ALIAS 0
|
||||
/* outline color */
|
||||
#define OUTLINE #262626
|
||||
/* 1 to join the two channels together in the middle, 0 to clamp both down to zero */
|
||||
#define JOIN_CHANNELS 0
|
||||
/* 1 to invert (vertically), 0 otherwise */
|
||||
#define INVERT 0
|
||||
|
||||
/* Gravity step, overrude from `smooth_parameters.glsl` */
|
||||
#request setgravitystep 2.4
|
||||
|
||||
/* Smoothing factor, override from `smooth_parameters.glsl` */
|
||||
#request setsmoothfactor 0.015
|
|
@ -1 +0,0 @@
|
|||
/etc/xdg/glava//radial
|
|
@ -1,39 +0,0 @@
|
|||
|
||||
/* center radius (pixels) */
|
||||
#define C_RADIUS 128
|
||||
/* center line thickness (pixels) */
|
||||
#define C_LINE 2
|
||||
/* outline color */
|
||||
#define OUTLINE #333333
|
||||
/* number of bars (use even values for best results) */
|
||||
#define NBARS 180
|
||||
/* width (in pixels) of each bar*/
|
||||
#define BAR_WIDTH 3.5
|
||||
/* outline color */
|
||||
#define BAR_OUTLINE OUTLINE
|
||||
/* outline width (in pixels, set to 0 to disable outline drawing) */
|
||||
#define BAR_OUTLINE_WIDTH 0
|
||||
/* Amplify magnitude of the results each bar displays */
|
||||
#define AMPLIFY 300
|
||||
/* Bar color */
|
||||
#define COLOR (#cc3333 * ((d / 40) + 1))
|
||||
/* Angle (in radians) for how much to rotate the visualizer */
|
||||
#define ROTATE (PI / 2)
|
||||
/* Whether to switch left/right audio buffers */
|
||||
#define INVERT 0
|
||||
/* Aliasing factors. Higher values mean more defined and jagged lines.
|
||||
Note: aliasing does not have a notable impact on performance, but requires
|
||||
`xroot` transparency to be enabled since it relies on alpha blending with
|
||||
the background. */
|
||||
#define BAR_ALIAS_FACTOR 1.2
|
||||
#define C_ALIAS_FACTOR 1.8
|
||||
/* Offset (Y) of the visualization */
|
||||
#define CENTER_OFFSET_Y 0
|
||||
/* Offset (X) of the visualization */
|
||||
#define CENTER_OFFSET_X 0
|
||||
|
||||
/* Gravity step, override from `smooth_parameters.glsl` */
|
||||
#request setgravitystep 5.0
|
||||
|
||||
/* Smoothing factor, override from `smooth_parameters.glsl` */
|
||||
#request setsmoothfactor 0.02
|
|
@ -1,227 +0,0 @@
|
|||
|
||||
/* The module to use. A module is a set of shaders used to produce
|
||||
the visualizer. The structure for a module is the following:
|
||||
|
||||
module_name [directory]
|
||||
1.frag [file: fragment shader],
|
||||
2.frag [file: fragment shader],
|
||||
...
|
||||
|
||||
Shaders are loaded in numerical order, starting at '1.frag',
|
||||
continuing indefinitely. The results of each shader (except
|
||||
for the final pass) is given to the next shader in the list
|
||||
as a 2D sampler.
|
||||
|
||||
See documentation for more details. */
|
||||
#request mod bars
|
||||
|
||||
/* Window hints */
|
||||
#request setfloating false
|
||||
#request setdecorated true
|
||||
#request setfocused false
|
||||
#request setmaximized false
|
||||
|
||||
/* Set window background opacity mode. Possible values are:
|
||||
|
||||
"native" - True transparency provided by the compositor. Can
|
||||
reduce performance on some systems, depending on
|
||||
the compositor used.
|
||||
|
||||
"xroot" - Maintain a copy of the root window's pixmap
|
||||
(usually the desktop background) to provide a
|
||||
pseudo-transparent effect. Useful when no compositor
|
||||
is available or native transparency isn't nessecary.
|
||||
Has very little performance impact.
|
||||
|
||||
"none" - Disable window opacity completely. */
|
||||
#request setopacity "native"
|
||||
|
||||
/* Whether to mirror left and right audio input channels from PulseAudio.*/
|
||||
#request setmirror false
|
||||
|
||||
/* OpenGL context and GLSL shader versions, do not change unless
|
||||
you *absolutely* know what you are doing. */
|
||||
#request setversion 3 3
|
||||
#request setshaderversion 330
|
||||
|
||||
/* Window title */
|
||||
#request settitle "GLava"
|
||||
|
||||
/* Window geometry (x, y, width, height) */
|
||||
#request setgeometry 0 0 3840 1080
|
||||
|
||||
/* Window background color (RGB format).
|
||||
Does not work with `setopacity "xroot"` */
|
||||
#request setbg 00000000
|
||||
|
||||
/* (X11 only) EWMH Window type. Possible values are:
|
||||
|
||||
"desktop", "dock", "toolbar", "menu",
|
||||
"utility", "splash", "dialog", "normal"
|
||||
|
||||
This will set _NET_WM_WINDOW_TYPE to _NET_WM_WINDOW_TYPE_(TYPE),
|
||||
where (TYPE) is the one of the window types listed (after being
|
||||
converted to uppercase).
|
||||
|
||||
Alternatively, you can set this value to "!", which will cause
|
||||
the window to be unmanaged. If this is set, then `addxwinstate`
|
||||
will do nothing, but you can use "!+" and "!-" to stack on top
|
||||
or below other windows.
|
||||
*/
|
||||
#request setxwintype "normal"
|
||||
|
||||
/* (X11 only) EWMH Window state atoms (multiple can be specified).
|
||||
Possible values are:
|
||||
|
||||
"modal", "sticky", "maximized_vert", "maximized_horz",
|
||||
"shaded", "skip_taskbar", "skip_pager", "hidden", "fullscreen",
|
||||
"above", "below", "demands_attention", "focused", "pinned"
|
||||
|
||||
This will add _NET_WM_STATE_(TYPE) atoms to _NET_WM_STATE,
|
||||
where (TYPE) is one of the window states listed (after being
|
||||
converted to uppercase).
|
||||
|
||||
The lines below (commented out by default) are of relevance
|
||||
if you are trying to get GLava to behave as a desktop widget
|
||||
and your WM is not correctly responding to the "desktop" value
|
||||
for `setxwintype`.
|
||||
*/
|
||||
// #request addxwinstate "sticky"
|
||||
// #request addxwinstate "skip_taskbar"
|
||||
// #request addxwinstate "skip_pager"
|
||||
// #request addxwinstate "above"
|
||||
// #request addxwinstate "pinned"
|
||||
|
||||
/* (X11 only) Use the XShape extension to support clicking through
|
||||
the GLava window. Useful when you want to interact with other
|
||||
desktop windows (icons, menus, desktop shells). Enabled by
|
||||
default when GLava itself is a desktop window. */
|
||||
#request setclickthrough false
|
||||
|
||||
/* Audio source
|
||||
|
||||
When the "pulseaudio" backend is set, this can be a number or
|
||||
a name of an audio sink or device to record from. Set to "auto"
|
||||
to use the default output device.
|
||||
|
||||
When the "fifo" backend is set, "auto" is interpreted as
|
||||
"/tmp/mpd.fifo". Otherwise, a valid path should be provided. */
|
||||
#request setsource "auto"
|
||||
|
||||
/* Buffer swap interval (vsync), set to '0' to prevent
|
||||
waiting for refresh, '1' (or more) to wait for the specified
|
||||
amount of frames. */
|
||||
#request setswap 1
|
||||
|
||||
/* Linear interpolation for audio data frames. Drastically
|
||||
improves smoothness with configurations that yield low UPS
|
||||
(`setsamplerate` and `setsamplesize`), or monitors that have
|
||||
high refresh rates.
|
||||
|
||||
This feature itself, however, will effect performance as it
|
||||
will have to interpolate data every frame on the CPU. It will
|
||||
automatically (and temporarily) disable itself if the update
|
||||
rate is close to, or higher than the framerate:
|
||||
|
||||
if (update_rate / frame_rate > 0.9) disable_interpolation;
|
||||
|
||||
This will delay data output by one update frame, so it can
|
||||
desync audio with visual effects on low UPS configs. */
|
||||
#request setinterpolate true
|
||||
|
||||
/* Frame limiter, set to the frames per second (FPS) desired or
|
||||
simply set to zero (or lower) to disable the frame limiter. */
|
||||
#request setframerate 0
|
||||
|
||||
/* Suspends rendering if a fullscreen window is focused while
|
||||
GLava is still visible (ie. on another monitor). This prevents
|
||||
rendering from interfering with other graphically intensive
|
||||
tasks.
|
||||
|
||||
If GLava is minimized or completely obscured, it will not
|
||||
render regardless of this option. */
|
||||
#request setfullscreencheck false
|
||||
|
||||
/* Enable/disable printing framerate every second. 'FPS' stands
|
||||
for 'Frames Per Second', and 'UPS' stands for 'Updates Per
|
||||
Second'. Updates are performed when new data is submitted
|
||||
by pulseaudio, and require transformations to be re-applied
|
||||
(thus being a good measure of how much work your CPU has to
|
||||
perform over time) */
|
||||
#request setprintframes true
|
||||
|
||||
/* PulseAudio sample buffer size. Lower values result in more
|
||||
frequent audio updates (also depends on sampling rate), but
|
||||
will also require all transformations to be applied much
|
||||
more frequently (CPU intensive).
|
||||
|
||||
High (>2048, with 22050 Hz) values will decrease accuracy
|
||||
(as some signals can be missed by transformations like FFT)
|
||||
|
||||
The following settings (@22050 Hz) produce the listed rates:
|
||||
|
||||
Sample UPS Description
|
||||
- 2048 -> 43.0 (low accuracy, cheap), use with < 60 FPS
|
||||
- 1024 -> 86.1 (high accuracy, expensive), use with >= 60 FPS
|
||||
- 512 -> 172.3 (extreme accuracy, very expensive), use only
|
||||
for graphing accurate spectrum data with
|
||||
custom modules.
|
||||
|
||||
If the framerate drops below the update rate, the update rate
|
||||
will be locked to the framerate (to prevent wasting CPU time).
|
||||
This behaviour means you can use a 1024 sample size on a 60Hz
|
||||
monitor with vsync enabled to get 60FPS and 60UPS.
|
||||
|
||||
For high refresh rate monitors (120+ Hz), it's recommended to
|
||||
also stick with the 1024 sample size and use interpolation to
|
||||
smooth the data, as accuracy beyond this setting is mostly
|
||||
meaningless for visual purposes.
|
||||
*/
|
||||
#request setsamplesize 1024
|
||||
|
||||
/* Audio buffer size to be used for processing and shaders.
|
||||
Increasing this value can have the effect of adding 'gravity'
|
||||
to FFT output, as the audio signal will remain in the buffer
|
||||
longer.
|
||||
|
||||
This value has a _massive_ effect on FFT performance and
|
||||
quality for some modules. */
|
||||
#request setbufsize 4096
|
||||
|
||||
/* PulseAudio sample rate. Lower values can add 'gravity' to
|
||||
FFT output, but can also reduce accuracy. Most hardware
|
||||
samples at 44100Hz.
|
||||
|
||||
Lower sample rates also can make output more choppy, when
|
||||
not using interpolation. It's generally OK to leave this
|
||||
value unless you have a strange PulseAudio configuration.
|
||||
|
||||
This option does nothing when using the "fifo" audio
|
||||
backend. Instead, an ideal rate should be be configured
|
||||
in the application generating the output. */
|
||||
#request setsamplerate 22050
|
||||
|
||||
/* ** DEPRECATED **
|
||||
Force window geometry (locking the window in place), useful
|
||||
for some pesky WMs that try to reposition the window when
|
||||
embedding in the desktop.
|
||||
|
||||
This routinely sends X11 events and should be avoided. */
|
||||
#request setforcegeometry false
|
||||
|
||||
/* ** DEPRECATED **
|
||||
Force window to be raised (focused in some WMs), useful for
|
||||
WMs that have their own stacking order for desktop windows.
|
||||
|
||||
This routinely sends X11 events and should be avoided. */
|
||||
#request setforceraised false
|
||||
|
||||
/* ** DEPRECATED **
|
||||
Scale down the audio buffer before any operations are
|
||||
performed on the data. Higher values are faster.
|
||||
|
||||
This value can affect the output of various transformations,
|
||||
since it applies (crude) averaging to the data when shrinking
|
||||
the buffer. It is reccommended to use `setsamplerate` and
|
||||
`setsamplesize` to improve performance or accuracy instead. */
|
||||
#request setbufscale 1
|
|
@ -1,78 +0,0 @@
|
|||
|
||||
/* Settings for smoothing functions and transformations commonly
|
||||
used to display FFT output.
|
||||
|
||||
IMPORTANT: THESE VALUES CAN BE OVERRIDDEN IN MODULE CONFIG
|
||||
FILES, IF CHANGING VALUES HERE DOES NOT WORK, CHECK
|
||||
TO MAKE SURE THEY ARE NOT BEING SET ELSEWHERE.
|
||||
*/
|
||||
|
||||
/* The type of formula to use for weighting values when smoothing.
|
||||
Possible values:
|
||||
|
||||
- circular heavily rounded points
|
||||
- sinusoidal rounded at both low and high weighted values
|
||||
like a sine wave
|
||||
- linear not rounded at all; linear distance
|
||||
*/
|
||||
#define ROUND_FORMULA sinusoidal
|
||||
|
||||
/* The sampling mode for processing raw FFT input:
|
||||
|
||||
- average averages all the inputs in the sample range for
|
||||
a given point. Produces smooth output, but peaks
|
||||
are not well represented
|
||||
- maximum obtains the best value from the closest peak in
|
||||
the sample range. Very accurate peaks, but
|
||||
output is jagged and sporadic.
|
||||
- hybrid uses the results from both `average` and `maximum`
|
||||
with the weight provided in `SAMPLE_HYBRID_WEIGHT` */
|
||||
#define SAMPLE_MODE average
|
||||
/* Weight should be provided in the range (0, 1). Higher values favour
|
||||
averaged results. `hybrid` mode only. */
|
||||
#define SAMPLE_HYBRID_WEIGHT 0.65
|
||||
|
||||
/* Factor used to scale frequencies. Lower values allows lower
|
||||
frequencies to occupy more space. */
|
||||
#define SAMPLE_SCALE 8
|
||||
|
||||
/* The frequency range to sample. 1.0 would be the entire FFT output,
|
||||
and lower values reduce the displayed frequencies in a log-like
|
||||
scale. */
|
||||
#define SAMPLE_RANGE 0.9
|
||||
|
||||
/* Factor for how to scale higher frequencies. Used in a linear equation
|
||||
which is multiplied by the result of the fft transformation. */
|
||||
#request setfftscale 10.2
|
||||
|
||||
/* Cutoff for the bass end of the audio data when scaling frequencies.
|
||||
Higher values cause more of the bass frequencies to be skipped when
|
||||
scaling. */
|
||||
#request setfftcutoff 0.3
|
||||
|
||||
/* How many frames to queue and run through the average function.
|
||||
Increasing this value will create latency between the audio and the
|
||||
animation, but will make for much smoother results. */
|
||||
#request setavgframes 6
|
||||
|
||||
/* Whether to window frames ran through the average function (new & old
|
||||
frames are weighted less). This massively helps smoothing out
|
||||
spontaneous values in the animation. */
|
||||
#request setavgwindow true
|
||||
|
||||
/* Gravity step, higher values means faster drops. The step is applied
|
||||
in a rate independant method like so:
|
||||
|
||||
val -= (gravitystep) * (seconds per update) */
|
||||
#request setgravitystep 4.2
|
||||
|
||||
/* Smoothing factor. Larger values mean more smoothing in the output,
|
||||
however high values can be expensive to compute. Values are in
|
||||
normalized width: [0.0, 1.0) */
|
||||
#request setsmoothfactor 0.025
|
||||
|
||||
/* Whether to use a separate pass for audio data while smoothing. On
|
||||
most hardware, this will improve performance, but involves doing a
|
||||
separate render step for each audio texture and will add some driver
|
||||
(CPU) overhead. */
|
||||
#request setsmoothpass true
|
|
@ -1 +0,0 @@
|
|||
/etc/xdg/glava//util
|
|
@ -1 +0,0 @@
|
|||
/etc/xdg/glava//wave
|
|
@ -1,14 +0,0 @@
|
|||
/* min (vertical) line thickness */
|
||||
#define MIN_THICKNESS 1
|
||||
|
||||
/* max (vertical) line thickness */
|
||||
#define MAX_THICKNESS 6
|
||||
|
||||
/* base color to use, distance from center will multiply the RGB components */
|
||||
#define BASE_COLOR vec4(0.7, 0.2, 0.45, 1)
|
||||
|
||||
/* amplitude */
|
||||
#define AMPLIFY 500
|
||||
|
||||
/* outline color */
|
||||
#define OUTLINE vec4(0.15, 0.15, 0.15, 1)
|
165
config/hypr/hyprland.conf
Normal file
165
config/hypr/hyprland.conf
Normal file
|
@ -0,0 +1,165 @@
|
|||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=eDP-1,1920x1080,1920x0,1
|
||||
monitor=DP-1,preferred,0x0,auto
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
exec-once = hyprpaper & xembedsniproxy & swayosd & swaync & waybar & /usr/lib/policykit-1-pantheon/io.elementary.desktop.agent-polkit
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
border_size = 2
|
||||
col.active_border = rgba(88c0d0ee) rgba(5e81acee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
blur = yes
|
||||
blur_size = 3
|
||||
blur_passes = 1
|
||||
blur_new_optimizations = on
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier, slide
|
||||
animation = border, 1, 10, myBezier
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = true
|
||||
}
|
||||
|
||||
misc {
|
||||
no_direct_scanout=1
|
||||
disable_hyprland_logo=1
|
||||
no_vfr=1
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(kitty)$
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = , Print, exec, grimblast copy area
|
||||
bind = $mainMod, L, exec, wlogout -b 2
|
||||
bind = $mainMod, M, exec, youtube-music --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu
|
||||
bind = $mainMod, T, exec, kitty
|
||||
bind = $mainMod, B, exec, firefox
|
||||
bind = $mainMod, D, exec, env MANGOHUD=0 armcord
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, E, exec, nautilus
|
||||
bind = $mainMod, F, togglefloating,
|
||||
bind = $mainMod, grave, exec, yofi
|
||||
bind = $mainMod, K, exec, hyprctl kill
|
||||
bind = $mainMod, S, togglesplit, # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
binde=, XF86AudioRaiseVolume, exec, swayosd --output-volume=raise
|
||||
|
||||
binde=, XF86AudioLowerVolume, exec, swayosd --output-volume=lower
|
||||
|
||||
binde=, XF86AudioMute, exec, swayosd --output-volume=mute-toggle
|
3
config/hypr/hyprpaper.conf
Normal file
3
config/hypr/hyprpaper.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
preload = ~/Documents/wallpaper.png
|
||||
|
||||
wallpaper = ,~/Documents/wallpaper.png
|
74
config/kitty/current-theme.conf
Normal file
74
config/kitty/current-theme.conf
Normal file
|
@ -0,0 +1,74 @@
|
|||
## name: Alabaster Dark
|
||||
## author: Nikita Prokopov
|
||||
## license: MIT
|
||||
## upstream: https://raw.githubusercontent.com/anmolmathias/kitty-alabaster/master/alabaster-dark.conf
|
||||
## blurb: A dark color scheme adapted from Alabaster for the kitty terminal.
|
||||
|
||||
#: The basic colors
|
||||
|
||||
foreground #cecece
|
||||
background #0e1415
|
||||
|
||||
selection_foreground #cecece
|
||||
selection_background #293334
|
||||
|
||||
|
||||
#: Cursor colors
|
||||
|
||||
cursor #cd974b
|
||||
cursor_text_color #000000
|
||||
|
||||
|
||||
#: URL underline color when hovering with mouse
|
||||
|
||||
url_color #cd974b
|
||||
|
||||
|
||||
#: The basic 16 colors
|
||||
|
||||
#: black
|
||||
color0 #000000
|
||||
color8 #777777
|
||||
|
||||
#: red
|
||||
color1 #e25d56
|
||||
color9 #f36868
|
||||
|
||||
#: green
|
||||
color2 #73ca50
|
||||
color10 #88db3f
|
||||
|
||||
#: yellow
|
||||
color3 #e9bf57
|
||||
color11 #f0bf7a
|
||||
|
||||
#: blue
|
||||
color4 #4a88e4
|
||||
color12 #6f8fdb
|
||||
|
||||
#: magenta
|
||||
color5 #915caf
|
||||
color13 #e987e9
|
||||
|
||||
#: cyan
|
||||
color6 #23acdd
|
||||
color14 #4ac9e2
|
||||
|
||||
#: white
|
||||
color7 #cecece
|
||||
color15 #ffffff
|
||||
|
||||
|
||||
#: kitty window border colors and terminal bell colors
|
||||
|
||||
active_border_color #777777
|
||||
inactive_border_color #323738
|
||||
bell_border_color #e97e57
|
||||
|
||||
|
||||
#: Tab bar colors
|
||||
|
||||
active_tab_foreground #cecece
|
||||
active_tab_background #0e1415
|
||||
inactive_tab_foreground #b8b8b8
|
||||
inactive_tab_background #323738
|
2948
config/kitty/kitty.conf
Normal file
2948
config/kitty/kitty.conf
Normal file
File diff suppressed because it is too large
Load diff
2242
config/kitty/kitty.conf.bak
Normal file
2242
config/kitty/kitty.conf.bak
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,57 +0,0 @@
|
|||
# See this wiki page for more info:
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||
print_info() {
|
||||
prin " ${cl5}┌─────────${cl0}\n Hardware Information \n${cl5}──────────"
|
||||
info "├" cpu
|
||||
info "├─" gpu
|
||||
info "├" memory
|
||||
prin " ${cl5}├─────────${cl0}\n Software Information \n${cl5}──────────"
|
||||
info "├" distro
|
||||
info "├" kernel
|
||||
info "├" de
|
||||
info "├" shell
|
||||
info "├>" term
|
||||
info "├" theme
|
||||
info "├" packages
|
||||
prin " ${cl5}└────────────────────────────────────────"
|
||||
prin "\n \n \n \n \n ${cl3} \n \n ${cl5} \n \n ${cl2} \n \n ${cl6} \n \n ${cl4} \n \n ${cl1} \n \n ${cl7} \n \n ${cl0}"
|
||||
}
|
||||
|
||||
magenta="\033[1;35m"
|
||||
green="\033[1;32m"
|
||||
white="\033[1;37m"
|
||||
blue="\033[1;34m"
|
||||
red="\033[1;31m"
|
||||
black="\033[1;40;30m"
|
||||
yellow="\033[1;33m"
|
||||
cyan="\033[1;36m"
|
||||
reset="\033[0m"
|
||||
bgyellow="\033[1;43;33m"
|
||||
bgwhite="\033[1;47;37m"
|
||||
cl0="${reset}"
|
||||
cl1="${magenta}"
|
||||
cl2="${green}"
|
||||
cl3="${white}"
|
||||
cl4="${blue}"
|
||||
cl5="${red}"
|
||||
cl6="${yellow}"
|
||||
cl7="${cyan}"
|
||||
cl8="${black}"
|
||||
cl9="${bgyellow}"
|
||||
cl10="${bgwhite}"
|
||||
color_blocks="off"
|
||||
os_arch="off"
|
||||
memory_percent="on"
|
||||
package_managers="on"
|
||||
shell_version="off"
|
||||
speed_shorthand="on"
|
||||
cpu_brand="on"
|
||||
cpu_speed="off"
|
||||
cpu_cores="off"
|
||||
gtk_shorthand="on"
|
||||
de_version="off"
|
||||
separator=""
|
||||
memory_display="on"
|
||||
disk_display="on"
|
||||
colors=(1 1 1 1 -1 -1)
|
||||
ascii_colors=(1 1 1 1 -1 -1)
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"diagnostic.refreshOnInsertMode": true,
|
||||
"coc.preferences.formatOnSave": true,
|
||||
"Lua.telemetry.enable": false,
|
||||
"sumneko-lua.enableNvimLuaDev": true,
|
||||
"diagnostic.virtualText": true,
|
||||
"diagnostic.virtualTextCurrentLineOnly": false,
|
||||
"prettier.tabWidth": 4,
|
||||
"javascript.format.semicolons": "remove",
|
||||
"prettier.semi": false
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
require "options"
|
||||
require "plugins"
|
|
@ -1,20 +0,0 @@
|
|||
require'bufferline'.setup {
|
||||
animation = true,
|
||||
tabpages = true,
|
||||
closable = true,
|
||||
clickable = true,
|
||||
icon_custom_colors = false,
|
||||
icon_separator_active = '▎',
|
||||
icon_separator_inactive = '▎',
|
||||
icon_close_tab = '',
|
||||
icon_close_tab_modified = '●',
|
||||
icon_pinned = '車',
|
||||
insert_at_end = false,
|
||||
insert_at_start = false,
|
||||
maximum_padding = 1,
|
||||
minimum_padding = 1,
|
||||
maximum_length = 30,
|
||||
semantic_letters = true,
|
||||
letters = 'asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP',
|
||||
no_name_title = nil,
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
local keymap = vim.keymap.set
|
||||
local expr_opts = { replace_keycodes = false, expr = true }
|
||||
|
||||
keymap(
|
||||
"i",
|
||||
"<Enter>",
|
||||
[[ coc#pum#visible() ? coc#_select_confirm() : "\<Enter>" ]],
|
||||
expr_opts
|
||||
)
|
||||
|
||||
keymap(
|
||||
"i",
|
||||
"<Down>",
|
||||
[[ coc#pum#visible() ? coc#pum#next(1) : "\<Down>" ]],
|
||||
expr_opts
|
||||
)
|
||||
|
||||
keymap(
|
||||
"i",
|
||||
"<Up>",
|
||||
[[ coc#pum#visible() ? coc#pum#prev(1) : "\<Up>" ]],
|
||||
expr_opts
|
||||
)
|
||||
|
||||
keymap("i", "<C-Space>", [[coc#refresh()]], expr_opts)
|
|
@ -1,27 +0,0 @@
|
|||
local db = require('dashboard')
|
||||
|
||||
db.hide_tabline = false
|
||||
db.custom_center = {
|
||||
{ icon = ' ',
|
||||
desc = 'Latest Session ',
|
||||
shortcut = '',
|
||||
action = 'OpenSession' },
|
||||
{ icon = ' ',
|
||||
desc = 'File Browser ',
|
||||
action = 'NvimTreeToggle',
|
||||
shortcut = '' },
|
||||
{ icon = '❌',
|
||||
desc = 'Quit ',
|
||||
action = 'quit',
|
||||
shortcut = '' },
|
||||
}
|
||||
-- hi
|
||||
db.custom_header = {
|
||||
[[.__ __. _______ ______ ____ ____ __ .___ ___.]],
|
||||
[[| \ | | | ____| / __ \ \ \ / / | | | \/ |]],
|
||||
[[| \| | | |__ | | | | \ \/ / | | | \ / |]],
|
||||
[[| . ` | | __| | | | | \ / | | | |\/| |]],
|
||||
[[| |\ | | |____ | `--' | \ / | | | | | |]],
|
||||
[[|__| \__| |_______| \______/ \__/ |__| |__| |__|]],
|
||||
[[ ]]
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
require("indent_blankline").setup {
|
||||
space_char_blankline = " ",
|
||||
show_current_context = true,
|
||||
show_current_context_start = true,
|
||||
use_treesitter = true,
|
||||
use_treesitter_scope = true,
|
||||
char = "▎",
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
require("lualine").setup {
|
||||
sections = {
|
||||
lualine_a = { 'filename' },
|
||||
lualine_b = { 'filetype' },
|
||||
lualine_c = {
|
||||
{
|
||||
'diagnostics',
|
||||
update_in_insert = true,
|
||||
always_visible = true,
|
||||
}
|
||||
}
|
||||
},
|
||||
extensions = {
|
||||
"quickfix"
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
local keymap = vim.keymap.set
|
||||
keymap("i", "<A-;>", "<C-O>:")
|
||||
keymap("i", "<C-q>", function() vim.cmd.call "novim_mode#ExitVim()" end)
|
||||
keymap("i", "<C-s>", function()
|
||||
local success = pcall(vim.cmd.update)
|
||||
if not success then vim.cmd.SudaWrite() end
|
||||
end)
|
|
@ -1,15 +0,0 @@
|
|||
local keymap = vim.keymap.set
|
||||
|
||||
local nvimtree = require("nvim-tree")
|
||||
|
||||
nvimtree.setup({
|
||||
view = {
|
||||
adaptive_size = true,
|
||||
},
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
},
|
||||
})
|
||||
|
||||
-- open file tree
|
||||
keymap("i", "<C-e>", [[<cmd>:NvimTreeToggle<CR>]])
|
|
@ -1 +0,0 @@
|
|||
require('onedark').load()
|
|
@ -1,2 +0,0 @@
|
|||
local toggleterm = require("toggleterm")
|
||||
toggleterm.setup { open_mapping = [[<A-`>]], direction = "float" }
|
|
@ -1,41 +0,0 @@
|
|||
require("nvim-treesitter.configs").setup {
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = true,
|
||||
max_file_lines = nil,
|
||||
},
|
||||
autotag = {
|
||||
enable = true,
|
||||
filetypes = {
|
||||
"html",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"markdown",
|
||||
},
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "<CR>",
|
||||
scope_incremental = "<CR>",
|
||||
node_incremental = "<CR>",
|
||||
node_decremental = "<TAB>",
|
||||
},
|
||||
},
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"css",
|
||||
"scss",
|
||||
"typescript",
|
||||
"lua",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
"php",
|
||||
"rust",
|
||||
"yaml",
|
||||
"vim",
|
||||
"toml",
|
||||
},
|
||||
highlight = { enable = true }
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
vim.g.novim_mode_use_general_app_shortcuts = 0
|
||||
vim.g.session_lock_enabled = 0
|
||||
vim.g.session_autosave = 'yes'
|
||||
vim.g.sudo_smart_edit = 1
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.backup = false
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
vim.opt.cmdheight = 1;
|
||||
vim.opt.completeopt = { "menuone", "noselect" }
|
||||
vim.opt.fileencoding = "utf-8"
|
||||
vim.opt.hlsearch = true
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.writebackup = false
|
||||
vim.opt.updatetime = 300
|
||||
vim.opt.undofile = true
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.mouse = "a"
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = false
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.sidescrolloff = 8
|
||||
vim.pumheight = 10
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.shortmess:append "mnrw"
|
|
@ -1,50 +0,0 @@
|
|||
local packer = require("packer")
|
||||
|
||||
local function config(name)
|
||||
return string.format('require "config.%s"', name)
|
||||
end
|
||||
|
||||
return packer.startup({ function(use)
|
||||
-- Utility
|
||||
use { 'tombh/novim-mode', config = config("novim") }
|
||||
use { 'akinsho/toggleterm.nvim', config = config("toggleterm") }
|
||||
use 'tpope/vim-sleuth'
|
||||
use {
|
||||
'romgrk/barbar.nvim',
|
||||
requires = { 'kyazdani42/nvim-web-devicons' }, config = config("barbar")
|
||||
}
|
||||
use "xolox/vim-session"
|
||||
|
||||
-- Theming
|
||||
use { "navarasu/onedark.nvim", config = config("onedark") }
|
||||
use { 'lukas-reineke/indent-blankline.nvim', config = config("indent-blankline") }
|
||||
use {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
config = config("lualine")
|
||||
}
|
||||
use({ "stevearc/dressing.nvim" })
|
||||
use({ "rcarriga/nvim-notify" })
|
||||
|
||||
-- Files
|
||||
use { 'kyazdani42/nvim-tree.lua', config = config("nvim-tree") }
|
||||
use 'kyazdani42/nvim-web-devicons'
|
||||
|
||||
-- Completion/Linting
|
||||
use { "neoclide/coc.nvim", config = config("coc"), branch = "release" }
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = function() require('nvim-treesitter.install').update({ with_sync = true }) end,
|
||||
config = config("treesitter")
|
||||
}
|
||||
use "lambdalisue/suda.vim"
|
||||
|
||||
-- Other
|
||||
use { 'glepnir/dashboard-nvim', config = config("dashboard") }
|
||||
use "xolox/vim-misc"
|
||||
use 'wbthomason/packer.nvim'
|
||||
end,
|
||||
config = {
|
||||
display = {
|
||||
open_fn = require('packer.util').float,
|
||||
}
|
||||
} })
|
|
@ -1,234 +0,0 @@
|
|||
-- Automatically generated packer.nvim plugin loader code
|
||||
|
||||
if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
|
||||
vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
|
||||
return
|
||||
end
|
||||
|
||||
vim.api.nvim_command('packadd packer.nvim')
|
||||
|
||||
local no_errors, error_msg = pcall(function()
|
||||
|
||||
_G._packer = _G._packer or {}
|
||||
_G._packer.inside_compile = true
|
||||
|
||||
local time
|
||||
local profile_info
|
||||
local should_profile = false
|
||||
if should_profile then
|
||||
local hrtime = vim.loop.hrtime
|
||||
profile_info = {}
|
||||
time = function(chunk, start)
|
||||
if start then
|
||||
profile_info[chunk] = hrtime()
|
||||
else
|
||||
profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6
|
||||
end
|
||||
end
|
||||
else
|
||||
time = function(chunk, start) end
|
||||
end
|
||||
|
||||
local function save_profiles(threshold)
|
||||
local sorted_times = {}
|
||||
for chunk_name, time_taken in pairs(profile_info) do
|
||||
sorted_times[#sorted_times + 1] = {chunk_name, time_taken}
|
||||
end
|
||||
table.sort(sorted_times, function(a, b) return a[2] > b[2] end)
|
||||
local results = {}
|
||||
for i, elem in ipairs(sorted_times) do
|
||||
if not threshold or threshold and elem[2] > threshold then
|
||||
results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'
|
||||
end
|
||||
end
|
||||
if threshold then
|
||||
table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)')
|
||||
end
|
||||
|
||||
_G._packer.profile_output = results
|
||||
end
|
||||
|
||||
time([[Luarocks path setup]], true)
|
||||
local package_path_str = "/home/quadradical/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/quadradical/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/quadradical/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/quadradical/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
|
||||
local install_cpath_pattern = "/home/quadradical/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
|
||||
if not string.find(package.path, package_path_str, 1, true) then
|
||||
package.path = package.path .. ';' .. package_path_str
|
||||
end
|
||||
|
||||
if not string.find(package.cpath, install_cpath_pattern, 1, true) then
|
||||
package.cpath = package.cpath .. ';' .. install_cpath_pattern
|
||||
end
|
||||
|
||||
time([[Luarocks path setup]], false)
|
||||
time([[try_loadstring definition]], true)
|
||||
local function try_loadstring(s, component, name)
|
||||
local success, result = pcall(loadstring(s), name, _G.packer_plugins[name])
|
||||
if not success then
|
||||
vim.schedule(function()
|
||||
vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
|
||||
end)
|
||||
end
|
||||
return result
|
||||
end
|
||||
|
||||
time([[try_loadstring definition]], false)
|
||||
time([[Defining packer_plugins]], true)
|
||||
_G.packer_plugins = {
|
||||
["barbar.nvim"] = {
|
||||
config = { 'require "config.barbar"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/barbar.nvim",
|
||||
url = "https://github.com/romgrk/barbar.nvim"
|
||||
},
|
||||
["coc.nvim"] = {
|
||||
config = { 'require "config.coc"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/coc.nvim",
|
||||
url = "https://github.com/neoclide/coc.nvim"
|
||||
},
|
||||
["dashboard-nvim"] = {
|
||||
config = { 'require "config.dashboard"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/dashboard-nvim",
|
||||
url = "https://github.com/glepnir/dashboard-nvim"
|
||||
},
|
||||
["dressing.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/dressing.nvim",
|
||||
url = "https://github.com/stevearc/dressing.nvim"
|
||||
},
|
||||
["indent-blankline.nvim"] = {
|
||||
config = { 'require "config.indent-blankline"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim",
|
||||
url = "https://github.com/lukas-reineke/indent-blankline.nvim"
|
||||
},
|
||||
["lualine.nvim"] = {
|
||||
config = { 'require "config.lualine"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/lualine.nvim",
|
||||
url = "https://github.com/nvim-lualine/lualine.nvim"
|
||||
},
|
||||
["novim-mode"] = {
|
||||
config = { 'require "config.novim"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/novim-mode",
|
||||
url = "https://github.com/tombh/novim-mode"
|
||||
},
|
||||
["nvim-notify"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/nvim-notify",
|
||||
url = "https://github.com/rcarriga/nvim-notify"
|
||||
},
|
||||
["nvim-tree.lua"] = {
|
||||
config = { 'require "config.nvim-tree"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
|
||||
url = "https://github.com/kyazdani42/nvim-tree.lua"
|
||||
},
|
||||
["nvim-treesitter"] = {
|
||||
config = { 'require "config.treesitter"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
|
||||
url = "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||
},
|
||||
["nvim-web-devicons"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
||||
url = "https://github.com/kyazdani42/nvim-web-devicons"
|
||||
},
|
||||
["onedark.nvim"] = {
|
||||
config = { 'require "config.onedark"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/onedark.nvim",
|
||||
url = "https://github.com/navarasu/onedark.nvim"
|
||||
},
|
||||
["packer.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
||||
url = "https://github.com/wbthomason/packer.nvim"
|
||||
},
|
||||
["suda.vim"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/suda.vim",
|
||||
url = "https://github.com/lambdalisue/suda.vim"
|
||||
},
|
||||
["toggleterm.nvim"] = {
|
||||
config = { 'require "config.toggleterm"' },
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/toggleterm.nvim",
|
||||
url = "https://github.com/akinsho/toggleterm.nvim"
|
||||
},
|
||||
["vim-misc"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/vim-misc",
|
||||
url = "https://github.com/xolox/vim-misc"
|
||||
},
|
||||
["vim-session"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/vim-session",
|
||||
url = "https://github.com/xolox/vim-session"
|
||||
},
|
||||
["vim-sleuth"] = {
|
||||
loaded = true,
|
||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/vim-sleuth",
|
||||
url = "https://github.com/tpope/vim-sleuth"
|
||||
}
|
||||
}
|
||||
|
||||
time([[Defining packer_plugins]], false)
|
||||
-- Config for: nvim-tree.lua
|
||||
time([[Config for nvim-tree.lua]], true)
|
||||
require "config.nvim-tree"
|
||||
time([[Config for nvim-tree.lua]], false)
|
||||
-- Config for: toggleterm.nvim
|
||||
time([[Config for toggleterm.nvim]], true)
|
||||
require "config.toggleterm"
|
||||
time([[Config for toggleterm.nvim]], false)
|
||||
-- Config for: nvim-treesitter
|
||||
time([[Config for nvim-treesitter]], true)
|
||||
require "config.treesitter"
|
||||
time([[Config for nvim-treesitter]], false)
|
||||
-- Config for: indent-blankline.nvim
|
||||
time([[Config for indent-blankline.nvim]], true)
|
||||
require "config.indent-blankline"
|
||||
time([[Config for indent-blankline.nvim]], false)
|
||||
-- Config for: lualine.nvim
|
||||
time([[Config for lualine.nvim]], true)
|
||||
require "config.lualine"
|
||||
time([[Config for lualine.nvim]], false)
|
||||
-- Config for: barbar.nvim
|
||||
time([[Config for barbar.nvim]], true)
|
||||
require "config.barbar"
|
||||
time([[Config for barbar.nvim]], false)
|
||||
-- Config for: onedark.nvim
|
||||
time([[Config for onedark.nvim]], true)
|
||||
require "config.onedark"
|
||||
time([[Config for onedark.nvim]], false)
|
||||
-- Config for: novim-mode
|
||||
time([[Config for novim-mode]], true)
|
||||
require "config.novim"
|
||||
time([[Config for novim-mode]], false)
|
||||
-- Config for: coc.nvim
|
||||
time([[Config for coc.nvim]], true)
|
||||
require "config.coc"
|
||||
time([[Config for coc.nvim]], false)
|
||||
-- Config for: dashboard-nvim
|
||||
time([[Config for dashboard-nvim]], true)
|
||||
require "config.dashboard"
|
||||
time([[Config for dashboard-nvim]], false)
|
||||
|
||||
_G._packer.inside_compile = false
|
||||
if _G._packer.needs_bufread == true then
|
||||
vim.cmd("doautocmd BufRead")
|
||||
end
|
||||
_G._packer.needs_bufread = false
|
||||
|
||||
if should_profile then save_profiles() end
|
||||
|
||||
end)
|
||||
|
||||
if not no_errors then
|
||||
error_msg = error_msg:gsub('"', '\\"')
|
||||
vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
|
||||
end
|
77
config/waybar/config
Normal file
77
config/waybar/config
Normal file
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"spacing": 4,
|
||||
"modules-left": [
|
||||
"wlr/workspaces",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
"battery",
|
||||
"cpu",
|
||||
"memory",
|
||||
"pulseaudio"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"custom/power",
|
||||
"clock"
|
||||
],
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"separate-outputs": true
|
||||
},
|
||||
"custom/power": {
|
||||
"on-click": "wlogout -b 2",
|
||||
"format": ""
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% ",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% "
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 80,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"on-click": "kitty -- auto-cpufreq --stats",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "{format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
}
|
||||
}
|
163
config/waybar/style.css
Normal file
163
config/waybar/style.css
Normal file
|
@ -0,0 +1,163 @@
|
|||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #5e81ac;
|
||||
border-bottom: 5px solid #5e81ac;
|
||||
color: #ffffff;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: inherit;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727d;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727d;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: #4c566a;
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
background-color: #2d3436;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #ecf0f1;
|
||||
color: #2d3436;
|
||||
}
|
||||
|
||||
#mpd {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#mpd.disconnected {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#mpd.stopped {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#mpd.paused {
|
||||
background-color: #51a37a;
|
||||
}
|
||||
|
||||
#language {
|
||||
background: #00b093;
|
||||
color: #740864;
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
background: #97e1ad;
|
||||
color: #000000;
|
||||
padding: 0 0px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state > label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state > label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
}
|
92
config/yofi/yofi.config
Normal file
92
config/yofi/yofi.config
Normal file
|
@ -0,0 +1,92 @@
|
|||
# Width/height of the app in pixels
|
||||
width = 400
|
||||
height = 512
|
||||
|
||||
# If set forces usage of basic window instead of Layer Shell wayland protocol
|
||||
force_window = false
|
||||
|
||||
# if unset, renders window centered
|
||||
# window_offsets = [500, -50] # in format [top_offset_pixels, left_offset_pixels]
|
||||
|
||||
# Similar to CSS border-radius for main window, for more details see corner_radius
|
||||
# for [input_text]
|
||||
corner_radius = "0"
|
||||
|
||||
font = "Roboto Mono Nerd Font Complete"
|
||||
# or you may use an absolute path, e.g:
|
||||
# font = "/usr/share/fonts/TTF/DejaVuSans.ttf"
|
||||
font_size = 24
|
||||
|
||||
# Color of the app background
|
||||
# Colors are specified in 0xRRGGBBAA format
|
||||
bg_color = 0x4c566aee
|
||||
# Color for the fonts
|
||||
# font_color = 0xf8f8f2ff
|
||||
|
||||
# HiDPI scaling factor; default is requested from compositor but
|
||||
# fractional values are truncated, so one may want to set it explicitly.
|
||||
# scale = 3
|
||||
|
||||
# Terminal emulator to use for apps that require terminal.
|
||||
# Certain apps like vim might not launch unless specified.
|
||||
term = "kitty -- "
|
||||
|
||||
# TOML sections are scope config values for a related blocks.
|
||||
# This one for instance is for input field area.
|
||||
[input_text]
|
||||
# font = ...
|
||||
font_color = 0xf8f8f2ff
|
||||
bg_color = 0x5e81acff
|
||||
|
||||
# Margin/padding values are specified as in CSS but only in pixels.
|
||||
# So it's either a single value for all directions
|
||||
# or two values: the first for top/bottom and the second for left/right
|
||||
# or finally four values: for top, right, bottom and left directions respectively.
|
||||
margin = "10" # equivalent to "5 5 5 5"
|
||||
padding = "5" # equivalent to "1.7 -4 1.7 -4"
|
||||
|
||||
# Corner radius is the arc radius for the surrounding input box.
|
||||
# Similar to border-radius in CSS but only in pixels.
|
||||
# So it's either a single value for all corners
|
||||
# or two values: the first for top-left/bottom-right and the second for top-right/bottom-left
|
||||
# or finally four values: for top-left, top-right, bottom-right and bottom-left respectively.
|
||||
# By default the radius is a maximal possible value.
|
||||
# corner_radius = "1 2 3 4"
|
||||
|
||||
# Section for items in the search results area.
|
||||
[list_items]
|
||||
# font = ...
|
||||
font_color = 0xf8f8f2ff
|
||||
|
||||
# Font color for an item that currently selected
|
||||
selected_font_color = 0xa6e22eff
|
||||
|
||||
# if specified, search matches are emphasized with this color
|
||||
match_color = 0xe69f66ff
|
||||
|
||||
margin = "5 10"
|
||||
|
||||
# If set to true hides the desktop actions
|
||||
hide_actions = false
|
||||
# Specify left margin for action line
|
||||
action_left_margin = 60
|
||||
|
||||
# Additional spacing between list items.
|
||||
# By default there's a space around 10 pixels
|
||||
# the value can be reduced by specifying a negative value
|
||||
item_spacing = 2
|
||||
|
||||
# Spacing between an icon and a text.
|
||||
icon_spacing = 5
|
||||
|
||||
# Sections for the icons. When this section presents, icons are displayed
|
||||
[icon]
|
||||
# For now app only supports fixed sized icons and there's no icon up/down-scaling yet.
|
||||
# More info: https://github.com/l4l/yofi/issues/76#issuecomment-1023631399
|
||||
size = 32
|
||||
|
||||
# For the icon search path, by default "hicolor" is used which usually not what you want.
|
||||
theme = "Flat-Remix-Blue-Dark"
|
||||
|
||||
# If no icon found for an entry, this one will be used instead
|
||||
fallback_icon_path = "/usr/share/icons/Adwaita/16x16/categories/applications-engineering-symbolic.symbolic.png"
|
35
install.sh
Normal file → Executable file
35
install.sh
Normal file → Executable file
|
@ -1,22 +1,17 @@
|
|||
xdg-user-dirs-update
|
||||
PLUGINS=${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins
|
||||
THEMES=${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes
|
||||
echo "Installing oh-my-zsh"
|
||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
#!/bin/env bash
|
||||
|
||||
echo "Copying Config"
|
||||
cp -rv config/* ~/.config
|
||||
cp -v .p10k.zsh ~
|
||||
cp -v .zshrc ~
|
||||
cp -v aliases.zsh ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}
|
||||
read -p "Copy configs? [y/n]" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
echo "Copying configs."
|
||||
cp -rv config/* ~/.config && echo "Done, copied successfully."
|
||||
fi
|
||||
|
||||
echo "Installing theme"
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $THEMES/powerlevel10k
|
||||
|
||||
echo "Installing plugins"
|
||||
|
||||
git clone --depth=1 https://github.com/MichaelAquilina/zsh-auto-notify.git $PLUGINS/auto-notify
|
||||
git clone --depth=1 https://github.com/TamCore/autoupdate-oh-my-zsh-plugins $PLUGINS/autoupdate
|
||||
git clone --depth=1 https://github.com/chrissicool/zsh-256color $PLUGINS/zsh-256color
|
||||
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions $PLUGINS/zsh-autosuggestions
|
||||
git clone --depth=1 https://github.com/3v1n0/zsh-bash-completions-fallback $PLUGINS/zsh-bash-completions-fallback
|
||||
read -p "Copy oh-my-posh theme? [y/n]" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
echo "Installing theme."
|
||||
mkdir -p ~/.poshthemes && cp bubblesextra.omp.json ~/.poshthemes && echo "Done, copied successfully."
|
||||
fi
|
Reference in a new issue