Compare commits
	
		
			108 Commits
		
	
	
		
			377c7aec81
			...
			f62beda403
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | f62beda403 | ||
|   | 1f48c690a5 | ||
|   | 6dcd713273 | ||
|   | a177955e85 | ||
|   | c8a110b9ba | ||
|   | 449f2dc890 | ||
|   | 005f77cdbf | ||
|   | cf051a191f | ||
|   | 1114797040 | ||
|   | d3ee528e2b | ||
|   | 1f5f04cef1 | ||
|   | 88b5ef02f5 | ||
|   | 04da38c6a2 | ||
|   | bce85fa1a7 | ||
|   | 34f693c045 | ||
|   | 4f9f7e548e | ||
|   | a62d036c10 | ||
|   | 59dd7303af | ||
|   | 3ebc1b414c | ||
|   | ec8260daaf | ||
|   | 3f2d0991c2 | ||
|   | 0e68d3dca3 | ||
|   | 43061705ce | ||
|   | 14031539d8 | ||
|   | 5adca4c8e2 | ||
|   | 8f23c730a6 | ||
|   | 72a49d5e1c | ||
|   | 3493a2287b | ||
|   | eb8fe65fa9 | ||
|   | 3dd9b60f5f | ||
|   | 2a40065939 | ||
|   | 0ca4a99af1 | ||
|   | ec424125e1 | ||
|   | f142308811 | ||
|   | 7a9f0f6f47 | ||
|   | 6a57e95895 | ||
|   | 723895373e | ||
|   | f30c20d354 | ||
|   | f111effce5 | ||
|   | 69b6174817 | ||
|   | e9da1721d7 | ||
|   | 2fd20bd541 | ||
|   | 8e838e1601 | ||
|   | 119cb07749 | ||
|   | bc3bb4ed16 | ||
|   | 3d1ff7934a | ||
|   | e31ff128fa | ||
|   | b910a496a2 | ||
|   | b723ebb5b5 | ||
|   | 30883aaa78 | ||
|   | 9e62854ba9 | ||
|   | 957701fce9 | ||
|   | e161127590 | ||
|   | b1a2d98e0a | ||
|   | 08b61f677b | ||
|   | 6406bd637b | ||
|   | 6c5cae2b9a | ||
|   | 2b8d21d824 | ||
|   | 3fd319c2e2 | ||
|   | 5fdb8166cb | ||
|   | 862619b1cc | ||
|   | ba422a0648 | ||
|   | 00b1735bed | ||
|   | f44ce08f75 | ||
|   | c25d84ad56 | ||
|   | 5a261f9805 | ||
|   | 2574165d59 | ||
|   | 673c819a72 | ||
|   | e894b99c2a | ||
|   | 95f7180b5f | ||
|   | 3ea525b653 | ||
|   | bc435f0f38 | ||
|   | 7c6da42aa4 | ||
|   | ff3daf700c | ||
|   | fd50ca3299 | ||
|   | f1a0fb37dd | ||
|   | 6878875278 | ||
|   | d9e58990e3 | ||
|   | 65b0516562 | ||
|   | 043e2708e8 | ||
|   | 5a4a9b6acf | ||
|   | c7439f61f5 | ||
|   | 3c9b31f283 | ||
|   | 56fbe76cf7 | ||
|   | 8bc96b4337 | ||
|   | 5db50b1e7f | ||
|   | 8c554fcdef | ||
|   | 749d5e12d9 | ||
|   | c8259bc433 | ||
|   | 380f9245bf | ||
|   | 3d677fedb7 | ||
|   | 12eea29508 | ||
|   | f404871c42 | ||
|   | c38b45e957 | ||
|   | 24283c765b | ||
|   | 24d4801414 | ||
|   | 95292ac3b6 | ||
|   | 8b6ef51156 | ||
|   | bc6ccb338b | ||
|   | 68e1f978ca | ||
|   | 0771ce0401 | ||
|   | b893d4df72 | ||
|   | e0c325b5d8 | ||
|   | b4fcb164f3 | ||
|   | b825615a42 | ||
|   | ee6da6e10d | ||
|   | 50f45725af | ||
|   | 7b959b08ad | 
							
								
								
									
										15
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | ||||
| config/.config/dconf/ | ||||
| config/.config/kak/al/rc/org.kak | ||||
| config/.config/kak/colors/ | ||||
| config/.config/kak/mru_files.txt | ||||
| config/.config/kak/plugins/ | ||||
| config/.config/mutt/chalupmc | ||||
| config/.config/mutt/mikecchalupiak | ||||
| config/.config/mutt/spamreciver1 | ||||
| config/.config/qutebrowser/rosepine/ | ||||
| config/.config/zathura/colors | ||||
| config/.icons/ | ||||
| config/.scripts/baraction.sh | ||||
| config/.scripts/brave.sh | ||||
| config/.scripts/tmux-change-dir.sh | ||||
| config/.themes/ | ||||
| @ -5,7 +5,7 @@ export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" | ||||
| 
 | ||||
| export PATH="${PATH}:$HOME/.scripts:$HOME/maple2022/bin:$HOME/intelFPGA_lite/18.1/quartus/bin:$HOME/intelFPGA_lite/18.1/modelsim_ase/bin" | ||||
| export _JAVA_AWT_WM_NONREPARENTING=1 | ||||
| export XDG_CURRENT_DESKTOP=sway | ||||
| # export XDG_CURRENT_DESKTOP=sway | ||||
| source ~/.bashrc | ||||
| export QSYS_ROOTDIR="/home/mikec/intelFPGA_lite/18.1/quartus/sopc_builder/bin" | ||||
| export VERSION_CONTROL="never" | ||||
| @ -20,3 +20,6 @@ export VERSION_CONTROL="never" | ||||
| # This section can be safely removed at any time if needed. | ||||
| test -r '/home/mikec/.opam/opam-init/init.sh' && . '/home/mikec/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true | ||||
| # END opam configuration | ||||
| # if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then | ||||
|   # exec river | ||||
| # fi | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| # ~/.bashrc: executed by bash(1) for non-login shells. | ||||
| # ~/.bashrc | ||||
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | ||||
| # for examples | ||||
| 
 | ||||
| @ -10,11 +10,20 @@ esac | ||||
| 
 | ||||
| export PATH=~/.local/bin:/snap/bin:/usr/sandbox/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:$PATH | ||||
| PATH=$PATH:~/.local/share/gem/ruby/3.0.0/bin/:~/.scripts | ||||
| PATH=$PATH:~/.local/share/gem/ruby/3.4.0/bin/ | ||||
| PATH=$PATH:~/.cargo/bin | ||||
| PATH=$PATH:~/go/bin/ | ||||
| PATH=$PATH:~/.nimble/bin/ | ||||
| PATH=$PATH:~/Documents/suckless/dylan/opendylan-2024.1/bin | ||||
| PATH=$PATH:~/.config/emacs/bin/ | ||||
| PATH=$PATH:~/.mint/bin/ | ||||
| PATH=$PATH:~/glamoroustoolkit/bin/ | ||||
| PATH=$PATH:~/Documents/Projects/Cuis-Smalltalk-Dev/ | ||||
| PATH=$PATH:~/opt/homebrew/bin/ | ||||
| 
 | ||||
| export CFLAGS="$CFLAGS -I/opt/homebrew/include" | ||||
| 
 | ||||
| LDPATH=$LDPATH:/opt/homebrew/lib/ | ||||
| # don't put duplicate lines or lines starting with space in the history. | ||||
| # See bash(1) for more options | ||||
| HISTCONTROL=ignoreboth | ||||
| @ -119,17 +128,21 @@ alias _='sudo' | ||||
| alias _i='sudo -i' | ||||
| alias please='sudo' | ||||
| alias fucking='sudo' | ||||
| alias hx='helix' | ||||
| # alias hx='helix' | ||||
| alias bat='bat --theme="base16-256"' | ||||
| if [ -n "$(command -v 'eza')" ]; then | ||||
|   alias ls='eza' | ||||
| fi | ||||
| alias zf='z $(flirt)' | ||||
| 
 | ||||
| # Alias definitions. | ||||
| # You may want to put all your additions into a separate file like | ||||
| # ~/.bash_aliases, instead of adding them here directly. | ||||
| # See /usr/share/doc/bash-doc/examples in the bash-doc package. | ||||
| # if [ -z "$EDITOR" ]; then | ||||
| # export EDITOR='kak' | ||||
| export EDITOR='nvim' | ||||
| # fi | ||||
| 
 | ||||
| if [ -f ~/.bash_aliases ]; then | ||||
|     . ~/.bash_aliases | ||||
| @ -141,9 +154,11 @@ if [ "$XDG_SESSION_DESKTOP" = "sway" ] ; then | ||||
|     export STUDIO_JDK=/usr/lib/jvm/java-11-openjdk/ | ||||
| fi | ||||
| eval "$(zoxide init bash)" | ||||
| eval "$(fzf --bash)" | ||||
| 
 | ||||
| export TMUX_TMPDIR=/tmp | ||||
| export TINTED_SHELL_ENABLE_BASE16_VARS=1 | ||||
| export PKG_CONFIG_PATH=/usr/local/share/pkgconfig/:$PKG_CONFIG_PATH | ||||
| 
 | ||||
| tinty_source_shell_theme() { | ||||
|   tinty $@ | ||||
| @ -162,14 +177,35 @@ tinty_source_shell_theme() { | ||||
|   unset subcommand | ||||
| } | ||||
| 
 | ||||
| if [ -n "$(command -v 'tinty')" ]; then | ||||
|     tinty_source_shell_theme "init" | ||||
|     alias theme='tinty_source_shell_theme apply "$(tinty list | fzf --cycle)" && xrdb ~/.Xresources' | ||||
| # if [ -n "$(command -v 'tinty')" ]; then | ||||
| #     tinty_source_shell_theme "init" | ||||
| #     alias theme='tinty_source_shell_theme apply "$(tinty list | fzf --cycle)" && xrdb ~/.Xresources' | ||||
| # fi | ||||
| 
 | ||||
| run_kak() { | ||||
|     /usr/bin/kak -c $SESH 2>/dev/null "$@" || /usr/bin/kak -s $SESH "$@" | ||||
| } | ||||
| 
 | ||||
| if [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ] && [ -z "$TMUX" ]; then | ||||
|     SESH="$( (tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)" | ||||
|     alias kak='tmux new-session -e "EDITOR=\"/usr/bin/kak -c $SESH\"" -s $SESH /usr/bin/kak -s $SESH > /dev/null' | ||||
| elif [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ]; then | ||||
|     SESH="$(tmux display-message -p '#S')" | ||||
|     # alias kak='kak -c $SESH 2>/dev/null || kak -s $SESH' | ||||
|     alias kak=run_kak | ||||
|     alias vidir='EDITOR="/usr/bin/kak -c $SESH 2>/dev/null || /usr/bin/kak -s $SESH" vidir' | ||||
|     alias vipe='EDITOR="/usr/bin/kak -c $SESH 2>/dev/null || /usr/bin/kak -s $SESH" vipe' | ||||
| fi | ||||
| 
 | ||||
| if [ -n "$(command -v tmux)" ] && [ -z "$TMUX" ]; then | ||||
|     alias kak='tmux new-session kak > /dev/null' | ||||
| if [ -n "$(command -v tmux)" ] && [ -n "$(command -v helix || command -v hx)" ] && [ -z "$TMUX" ]; then | ||||
|     alias helix='tmux new-session -e "EDITOR=hx" hx > /dev/null'     | ||||
|     alias hx='tmux new-session -e "EDITOR=hx" hx > /dev/null'     | ||||
| fi | ||||
| # if [ -n "$(command -v tmux)" ] && [ -z "$TMUX" ]; then | ||||
| #     SESH="$( (tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)" | ||||
| #     alias tmux="tmux new-session -s $SESH" | ||||
| # fi | ||||
| 
 | ||||
| alias enter-dev='. enter-dev.sh' | ||||
| alias ssh='TERM="xterm-256color" ssh' | ||||
| 
 | ||||
| @ -183,3 +219,9 @@ alias csi='rlwrap csi' | ||||
| alias chicken-csi='rlwrap chicken-csi' | ||||
| alias icyc='rlwrap icyc' | ||||
| export DCONF_PROFILE | ||||
| # export FZF_DEFAULT_OPTS=" | ||||
| # 	--color=fg:#908caa,bg:#191724,hl:#ebbcba | ||||
| # 	--color=fg+:#e0def4,bg+:#26233a,hl+:#ebbcba | ||||
| # 	--color=border:#403d52,header:#31748f,gutter:#191724 | ||||
| # 	--color=spinner:#f6c177,info:#9ccfd8 | ||||
| # 	--color=pointer:#c4a7e7,marker:#eb6f92,prompt:#908caa" | ||||
|  | ||||
							
								
								
									
										2
									
								
								config/.config/KDE/UserFeedback.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/KDE/UserFeedback.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| [UserFeedback] | ||||
| LastEncouragement=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x87}\x4\n\x84\xab\0) | ||||
| @ -0,0 +1,2 @@ | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=2 | ||||
							
								
								
									
										12
									
								
								config/.config/alacritty/alacritty.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								config/.config/alacritty/alacritty.toml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| [general] | ||||
| import = ["rose-pine.toml"] | ||||
| 
 | ||||
| [window] | ||||
| opacity = 1 | ||||
| 
 | ||||
| [font] | ||||
| size = 14 | ||||
| 
 | ||||
| [font.normal] | ||||
| family = "Iosevka Term SS12" | ||||
| style = "Regular" | ||||
							
								
								
									
										191
									
								
								config/.config/alacritty/alacritty.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										191
									
								
								config/.config/alacritty/alacritty.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,191 @@ | ||||
| font: | ||||
|   normal: | ||||
|     family: Cascadia Code | ||||
|     style: Regular | ||||
| 
 | ||||
|   bold: | ||||
|     family: Cascadia Code | ||||
|     style: Bold | ||||
| 
 | ||||
|   italic: | ||||
|     family: Cascadia Code | ||||
|     style: Italic | ||||
| 
 | ||||
|   bold_italic: | ||||
|     family: Cascadia Code | ||||
|     style: Bold Italic | ||||
| 
 | ||||
|   size: 12 | ||||
| 
 | ||||
| # draw_bold_text_with_bright_colors: true | ||||
|   # shell: | ||||
|   #   program: /bin/zsh | ||||
|   #   args: | ||||
|   #   - --login | ||||
|   #   - -c | ||||
|   #   - 'tmux attach -t TMUX || tmux new -s TMUX' | ||||
| # ... | ||||
| 
 | ||||
| # Colors (One Half Dark) | ||||
| # colors: | ||||
| #   primary: | ||||
| #     background: '0x282c34' | ||||
| #     foreground: '0xdcdfe4' | ||||
| 
 | ||||
| #   normal: | ||||
| #     black: '0x282c34' | ||||
| #     red: '0xe06c75' | ||||
| #     green: '0x98c379' | ||||
| #     yellow: '0xe5c07b' | ||||
| #     blue: '0x61afef' | ||||
| #     magenta: '0xc678dd' | ||||
| #     cyan: '0x56b6c2' | ||||
| #     white: '0xdcdfe4' | ||||
| 
 | ||||
| #   bright: | ||||
| #     black: '0x282c34' | ||||
| #     red: '0xe06c75' | ||||
| #     green: '0x98c379' | ||||
| #     yellow: '0xe5c07b' | ||||
| #     blue: '0x61afef' | ||||
| #     magenta: '0xc678dd' | ||||
| #     cyan: '0x56b6c2' | ||||
| #     white: '0xdcdfe4' | ||||
| 
 | ||||
| 
 | ||||
| # Colors (One Half Light) | ||||
| #colors: | ||||
| #  primary: | ||||
| #    background: '0xfafafa' | ||||
| #    foreground: '0x383a42' | ||||
| # | ||||
| #  normal: | ||||
| #    black: '0x383a42' | ||||
| #    red: '0xe45649' | ||||
| #    green: '0x50a14f' | ||||
| #    yellow: '0xc18401' | ||||
| #    blue: '0x0184bc' | ||||
| #    magenta: '0xa626a4' | ||||
| #    cyan: '0x0997b3' | ||||
| #    white: '0xfafafa' | ||||
| # | ||||
| #  bright: | ||||
| #    black: '0x383a42' | ||||
| #    red: '0xe45649' | ||||
| #    green: '0x50a14f' | ||||
| #    yellow: '0xc18401' | ||||
| #    blue: '0x0184bc' | ||||
| #    magenta: '0xa626a4' | ||||
| #    cyan: '0x0997b3' | ||||
| #    white: '0xfafafa' | ||||
| 
 | ||||
| 
 | ||||
| # Colors (Dracula) | ||||
| # colors: | ||||
| #   primary: | ||||
| #     background: '0x282a36' | ||||
| #     foreground: '0xf8f8f2' | ||||
| #   cursor: | ||||
| #     text: CellBackground | ||||
| #     cursor: CellForeground | ||||
| #   vi_mode_cursor: | ||||
| #     text: CellBackground | ||||
| #     cursor: CellForeground | ||||
| #   search: | ||||
| #     matches: | ||||
| #       foreground: '0x44475a' | ||||
| #       background: '0x50fa7b' | ||||
| #     focused_match: | ||||
| #       foreground: '0x44475a' | ||||
| #       background: '0xffb86c' | ||||
| #     bar: | ||||
| #       background: '0x282a36' | ||||
| #       foreground: '0xf8f8f2' | ||||
| #   line_indicator: | ||||
| #     foreground: None | ||||
| #     background: None | ||||
| #   selection: | ||||
| #     text: CellForeground | ||||
| #     background: '0x44475a' | ||||
| #   normal: | ||||
| #     black:   '0x000000' | ||||
| #     red:     '0xff5555' | ||||
| #     green:   '0x50fa7b' | ||||
| #     yellow:  '0xf1fa8c' | ||||
| #     blue:    '0xbd93f9' | ||||
| #     magenta: '0xff79c6' | ||||
| #     cyan:    '0x8be9fd' | ||||
| #     white:   '0xbfbfbf' | ||||
| #   bright: | ||||
| #     black:   '0x4d4d4d' | ||||
| #     red:     '0xff6e67' | ||||
| #     green:   '0x5af78e' | ||||
| #     yellow:  '0xf4f99d' | ||||
| #     blue:    '0xcaa9fa' | ||||
| #     magenta: '0xff92d0' | ||||
| #     cyan:    '0x9aedfe' | ||||
| #     white:   '0xe6e6e6' | ||||
| #   dim: | ||||
| #     black:   '0x14151b' | ||||
| #     red:     '0xff2222' | ||||
| #     green:   '0x1ef956' | ||||
| #     yellow:  '0xebf85b' | ||||
| #     blue:    '0x4d5b86' | ||||
| #     magenta: '0xff46b0' | ||||
| #     cyan:    '0x59dffc' | ||||
| #     white:   '0xe6e6d1' | ||||
| 
 | ||||
| 
 | ||||
| # Colors (Nord) | ||||
| #colors: | ||||
| #  primary: | ||||
| #    background: '#2e3440' | ||||
| #    foreground: '#d8dee9' | ||||
| #    dim_foreground: '#a5abb6' | ||||
| #  cursor: | ||||
| #    text: '#2e3440' | ||||
| #    cursor: '#d8dee9' | ||||
| #  vi_mode_cursor: | ||||
| #    text: '#2e3440' | ||||
| #    cursor: '#d8dee9' | ||||
| #  selection: | ||||
| #    text: CellForeground | ||||
| #    background: '#4c566a' | ||||
| #  search: | ||||
| #    matches: | ||||
| #      foreground: CellBackground | ||||
| #      background: '#88c0d0' | ||||
| #    bar: | ||||
| #      background: '#434c5e' | ||||
| #      foreground: '#d8dee9' | ||||
| #  normal: | ||||
| #    black: '#3b4252' | ||||
| #    red: '#bf616a' | ||||
| #    green: '#a3be8c' | ||||
| #    yellow: '#ebcb8b' | ||||
| #    blue: '#81a1c1' | ||||
| #    magenta: '#b48ead' | ||||
| #    cyan: '#88c0d0' | ||||
| #    white: '#e5e9f0' | ||||
| #  bright: | ||||
| #    black: '#4c566a' | ||||
| #    red: '#bf616a' | ||||
| #    green: '#a3be8c' | ||||
| #    yellow: '#ebcb8b' | ||||
| #    blue: '#81a1c1' | ||||
| #    magenta: '#b48ead' | ||||
| #    cyan: '#8fbcbb' | ||||
| #    white: '#eceff4' | ||||
| #  dim: | ||||
| #    black: '#373e4d' | ||||
| #    red: '#94545d' | ||||
| #    green: '#809575' | ||||
| #    yellow: '#b29e75' | ||||
| #    blue: '#68809a' | ||||
| #    magenta: '#8c738c' | ||||
| #    cyan: '#6d96a5' | ||||
| #    white: '#aeb3bb' | ||||
| 
 | ||||
| # Visual Bell | ||||
| # ... | ||||
| # background_opacity: 0.90 | ||||
							
								
								
									
										37
									
								
								config/.config/alacritty/colors
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								config/.config/alacritty/colors
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,37 @@ | ||||
| # Base16 Monokai - alacritty color config | ||||
| # Wimer Hazenberg (http://www.monokai.nl) | ||||
| 
 | ||||
| [colors] | ||||
| draw_bold_text_with_bright_colors = false | ||||
| 
 | ||||
| # Default colors | ||||
| [colors.primary] | ||||
| background = '0x272822' | ||||
| foreground = '0xf8f8f2' | ||||
| 
 | ||||
| # Colors the cursor will use if `custom_cursor_colors` is true | ||||
| [colors.cursor] | ||||
| text = '0x272822' | ||||
| cursor = '0xf8f8f2' | ||||
| 
 | ||||
| # Normal colors | ||||
| [colors.normal] | ||||
| black = '0x272822' | ||||
| red = '0xf92672' | ||||
| green = '0xa6e22e' | ||||
| yellow = '0xf4bf75' | ||||
| blue = '0x66d9ef' | ||||
| magenta = '0xae81ff' | ||||
| cyan = '0xa1efe4' | ||||
| white = '0xf8f8f2' | ||||
| 
 | ||||
| # Bright colors | ||||
| [colors.bright] | ||||
| black = '0x75715e' | ||||
| red = '0xfd971f' | ||||
| green = '0x383830' | ||||
| yellow = '0x49483e' | ||||
| blue = '0xa59f85' | ||||
| magenta = '0xf5f4f1' | ||||
| cyan = '0xcc6633' | ||||
| white = '0xf9f8f5' | ||||
							
								
								
									
										58
									
								
								config/.config/alacritty/nord.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								config/.config/alacritty/nord.toml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,58 @@ | ||||
| # TOML interpretation of the https://github.com/nordtheme/alacritty | ||||
| # See also: https://github.com/nordtheme/alacritty/issues/40 | ||||
| # (if the above is resolved, you may not need this Gist) | ||||
| 
 | ||||
| [colors.primary] | ||||
| background = "#2e3440" | ||||
| foreground = "#d8dee9" | ||||
| dim_foreground = "#a5abb6" | ||||
| 
 | ||||
| [colors.cursor] | ||||
| text = "#2e3440" | ||||
| cursor = "#d8dee9" | ||||
| 
 | ||||
| [colors.vi_mode_cursor] | ||||
| text = "#2e3440" | ||||
| cursor = "#d8dee9" | ||||
| 
 | ||||
| [colors.selection] | ||||
| text = "CellForeground" | ||||
| background = "#4c566a" | ||||
| 
 | ||||
| [colors.search.matches] | ||||
| foreground = "CellBackground" | ||||
| background = "#88c0d0" | ||||
| 
 | ||||
| [colors.footer_bar] | ||||
| background = "#434c5e" | ||||
| foreground = "#d8dee9" | ||||
| 
 | ||||
| [colors.normal] | ||||
| black = "#3b4252" | ||||
| red = "#bf616a" | ||||
| green = "#a3be8c" | ||||
| yellow = "#ebcb8b" | ||||
| blue = "#81a1c1" | ||||
| magenta = "#b48ead" | ||||
| cyan = "#88c0d0" | ||||
| white = "#e5e9f0" | ||||
| 
 | ||||
| [colors.bright] | ||||
| black = "#4c566a" | ||||
| red = "#bf616a" | ||||
| green = "#a3be8c" | ||||
| yellow = "#ebcb8b" | ||||
| blue = "#81a1c1" | ||||
| magenta = "#b48ead" | ||||
| cyan = "#8fbcbb" | ||||
| white = "#eceff4" | ||||
| 
 | ||||
| [colors.dim] | ||||
| black = "#373e4d" | ||||
| red = "#94545d" | ||||
| green = "#809575" | ||||
| yellow = "#b29e75" | ||||
| blue = "#68809a" | ||||
| magenta = "#8c738c" | ||||
| cyan = "#6d96a5" | ||||
| white = "#aeb3bb" | ||||
							
								
								
									
										51
									
								
								config/.config/alacritty/nord.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								config/.config/alacritty/nord.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,51 @@ | ||||
| # Copyright (c) 2016-present Sven Greb <development@svengreb.de> | ||||
| # This source code is licensed under the MIT license found in the license file. | ||||
| 
 | ||||
| colors: | ||||
|   primary: | ||||
|     background: "#2e3440" | ||||
|     foreground: "#d8dee9" | ||||
|     dim_foreground: "#a5abb6" | ||||
|   cursor: | ||||
|     text: "#2e3440" | ||||
|     cursor: "#d8dee9" | ||||
|   vi_mode_cursor: | ||||
|     text: "#2e3440" | ||||
|     cursor: "#d8dee9" | ||||
|   selection: | ||||
|     text: CellForeground | ||||
|     background: "#4c566a" | ||||
|   search: | ||||
|     matches: | ||||
|       foreground: CellBackground | ||||
|       background: "#88c0d0" | ||||
|     bar: | ||||
|       background: "#434c5e" | ||||
|       foreground: "#d8dee9" | ||||
|   normal: | ||||
|     black: "#3b4252" | ||||
|     red: "#bf616a" | ||||
|     green: "#a3be8c" | ||||
|     yellow: "#ebcb8b" | ||||
|     blue: "#81a1c1" | ||||
|     magenta: "#b48ead" | ||||
|     cyan: "#88c0d0" | ||||
|     white: "#e5e9f0" | ||||
|   bright: | ||||
|     black: "#4c566a" | ||||
|     red: "#bf616a" | ||||
|     green: "#a3be8c" | ||||
|     yellow: "#ebcb8b" | ||||
|     blue: "#81a1c1" | ||||
|     magenta: "#b48ead" | ||||
|     cyan: "#8fbcbb" | ||||
|     white: "#eceff4" | ||||
|   dim: | ||||
|     black: "#373e4d" | ||||
|     red: "#94545d" | ||||
|     green: "#809575" | ||||
|     yellow: "#b29e75" | ||||
|     blue: "#68809a" | ||||
|     magenta: "#8c738c" | ||||
|     cyan: "#6d96a5" | ||||
|     white: "#aeb3bb" | ||||
							
								
								
									
										75
									
								
								config/.config/alacritty/rose-pine-dawn.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								config/.config/alacritty/rose-pine-dawn.toml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,75 @@ | ||||
| # Colors section of "Alacritty - TOML configuration file format" | ||||
| # https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors | ||||
| 
 | ||||
| [colors.primary] | ||||
| foreground = "#575279" | ||||
| background = "#faf4ed" | ||||
| dim_foreground = "#797593" | ||||
| bright_foreground = "#575279" | ||||
| 
 | ||||
| [colors.cursor] | ||||
| text = "#575279" | ||||
| cursor = "#cecacd" | ||||
| 
 | ||||
| [colors.vi_mode_cursor] | ||||
| text = "#575279" | ||||
| cursor = "#cecacd" | ||||
| 
 | ||||
| [colors.search.matches] | ||||
| foreground = "#797593" | ||||
| background = "#f2e9e1" | ||||
| 
 | ||||
| [colors.search.focused_match] | ||||
| foreground = "#faf4ed" | ||||
| background = "#d7827e" | ||||
| 
 | ||||
| [colors.hints.start] | ||||
| foreground = "#797593" | ||||
| background = "#fffaf3" | ||||
| 
 | ||||
| [colors.hints.end] | ||||
| foreground = "#9893a5" | ||||
| background = "#fffaf3" | ||||
| 
 | ||||
| [colors.line_indicator] | ||||
| foreground = "None" | ||||
| background = "None" | ||||
| 
 | ||||
| [colors.footer_bar] | ||||
| foreground = "#575279" | ||||
| background = "#fffaf3" | ||||
| 
 | ||||
| [colors.selection] | ||||
| text = "#575279" | ||||
| background = "#dfdad9" | ||||
| 
 | ||||
| [colors.normal] | ||||
| black = "#f2e9e1" | ||||
| red = "#b4637a" | ||||
| green = "#286983" | ||||
| yellow = "#ea9d34" | ||||
| blue = "#56949f" | ||||
| magenta = "#907aa9" | ||||
| cyan = "#d7827e" | ||||
| white = "#575279" | ||||
| 
 | ||||
| [colors.bright] | ||||
| black = "#9893a5" | ||||
| red = "#b4637a" | ||||
| green = "#286983" | ||||
| yellow = "#ea9d34" | ||||
| blue = "#56949f" | ||||
| magenta = "#907aa9" | ||||
| cyan = "#d7827e" | ||||
| white = "#575279" | ||||
| 
 | ||||
| [colors.dim] | ||||
| black = "#9893a5" | ||||
| red = "#b4637a" | ||||
| green = "#286983" | ||||
| yellow = "#ea9d34" | ||||
| blue = "#56949f" | ||||
| magenta = "#907aa9" | ||||
| cyan = "#d7827e" | ||||
| white = "#575279" | ||||
| 
 | ||||
							
								
								
									
										75
									
								
								config/.config/alacritty/rose-pine-moon.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								config/.config/alacritty/rose-pine-moon.toml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,75 @@ | ||||
| # Colors section of "Alacritty - TOML configuration file format" | ||||
| # https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors | ||||
| 
 | ||||
| [colors.primary] | ||||
| foreground = "#e0def4" | ||||
| background = "#232136" | ||||
| dim_foreground = "#908caa" | ||||
| bright_foreground = "#e0def4" | ||||
| 
 | ||||
| [colors.cursor] | ||||
| text = "#e0def4" | ||||
| cursor = "#56526e" | ||||
| 
 | ||||
| [colors.vi_mode_cursor] | ||||
| text = "#e0def4" | ||||
| cursor = "#56526e" | ||||
| 
 | ||||
| [colors.search.matches] | ||||
| foreground = "#908caa" | ||||
| background = "#393552" | ||||
| 
 | ||||
| [colors.search.focused_match] | ||||
| foreground = "#232136" | ||||
| background = "#ea9a97" | ||||
| 
 | ||||
| [colors.hints.start] | ||||
| foreground = "#908caa" | ||||
| background = "#2a273f" | ||||
| 
 | ||||
| [colors.hints.end] | ||||
| foreground = "#6e6a86" | ||||
| background = "#2a273f" | ||||
| 
 | ||||
| [colors.line_indicator] | ||||
| foreground = "None" | ||||
| background = "None" | ||||
| 
 | ||||
| [colors.footer_bar] | ||||
| foreground = "#e0def4" | ||||
| background = "#2a273f" | ||||
| 
 | ||||
| [colors.selection] | ||||
| text = "#e0def4" | ||||
| background = "#44415a" | ||||
| 
 | ||||
| [colors.normal] | ||||
| black = "#393552" | ||||
| red = "#eb6f92" | ||||
| green = "#3e8fb0" | ||||
| yellow = "#f6c177" | ||||
| blue = "#9ccfd8" | ||||
| magenta = "#c4a7e7" | ||||
| cyan = "#ea9a97" | ||||
| white = "#e0def4" | ||||
| 
 | ||||
| [colors.bright] | ||||
| black = "#6e6a86" | ||||
| red = "#eb6f92" | ||||
| green = "#3e8fb0" | ||||
| yellow = "#f6c177" | ||||
| blue = "#9ccfd8" | ||||
| magenta = "#c4a7e7" | ||||
| cyan = "#ea9a97" | ||||
| white = "#e0def4" | ||||
| 
 | ||||
| [colors.dim] | ||||
| black = "#6e6a86" | ||||
| red = "#eb6f92" | ||||
| green = "#3e8fb0" | ||||
| yellow = "#f6c177" | ||||
| blue = "#9ccfd8" | ||||
| magenta = "#c4a7e7" | ||||
| cyan = "#ea9a97" | ||||
| white = "#e0def4" | ||||
| 
 | ||||
							
								
								
									
										75
									
								
								config/.config/alacritty/rose-pine.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								config/.config/alacritty/rose-pine.toml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,75 @@ | ||||
| # Colors section of "Alacritty - TOML configuration file format" | ||||
| # https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors | ||||
| 
 | ||||
| [colors.primary] | ||||
| foreground = "#e0def4" | ||||
| background = "#191724" | ||||
| dim_foreground = "#908caa" | ||||
| bright_foreground = "#e0def4" | ||||
| 
 | ||||
| [colors.cursor] | ||||
| text = "#e0def4" | ||||
| cursor = "#524f67" | ||||
| 
 | ||||
| [colors.vi_mode_cursor] | ||||
| text = "#e0def4" | ||||
| cursor = "#524f67" | ||||
| 
 | ||||
| [colors.search.matches] | ||||
| foreground = "#908caa" | ||||
| background = "#26233a" | ||||
| 
 | ||||
| [colors.search.focused_match] | ||||
| foreground = "#191724" | ||||
| background = "#ebbcba" | ||||
| 
 | ||||
| [colors.hints.start] | ||||
| foreground = "#908caa" | ||||
| background = "#1f1d2e" | ||||
| 
 | ||||
| [colors.hints.end] | ||||
| foreground = "#6e6a86" | ||||
| background = "#1f1d2e" | ||||
| 
 | ||||
| [colors.line_indicator] | ||||
| foreground = "None" | ||||
| background = "None" | ||||
| 
 | ||||
| [colors.footer_bar] | ||||
| foreground = "#e0def4" | ||||
| background = "#1f1d2e" | ||||
| 
 | ||||
| [colors.selection] | ||||
| text = "#e0def4" | ||||
| background = "#403d52" | ||||
| 
 | ||||
| [colors.normal] | ||||
| black = "#26233a" | ||||
| red = "#eb6f92" | ||||
| green = "#31748f" | ||||
| yellow = "#f6c177" | ||||
| blue = "#9ccfd8" | ||||
| magenta = "#c4a7e7" | ||||
| cyan = "#ebbcba" | ||||
| white = "#e0def4" | ||||
| 
 | ||||
| [colors.bright] | ||||
| black = "#6e6a86" | ||||
| red = "#eb6f92" | ||||
| green = "#31748f" | ||||
| yellow = "#f6c177" | ||||
| blue = "#9ccfd8" | ||||
| magenta = "#c4a7e7" | ||||
| cyan = "#ebbcba" | ||||
| white = "#e0def4" | ||||
| 
 | ||||
| [colors.dim] | ||||
| black = "#6e6a86" | ||||
| red = "#eb6f92" | ||||
| green = "#31748f" | ||||
| yellow = "#f6c177" | ||||
| blue = "#9ccfd8" | ||||
| magenta = "#c4a7e7" | ||||
| cyan = "#ebbcba" | ||||
| white = "#e0def4" | ||||
| 
 | ||||
| @ -2,7 +2,7 @@ | ||||
| 
 | ||||
| ## Autostart Programs | ||||
| sxhkd & | ||||
| xsetroot -cursor_name left_ptr | ||||
| # xsetroot -cursor_name left_ptr | ||||
| pgrep bspswallow || bspswallow & | ||||
| pgrep statnot || statnot & | ||||
| # polybar example & | ||||
| @ -12,6 +12,7 @@ if [ $(pgrep polybar) ]; then | ||||
| else | ||||
| 	sleep .5 && polybar mainbar & | ||||
| fi | ||||
| pipewire-launch || pipewire-launch restart & | ||||
| #MONITOR=DP-5 polybar example & | ||||
| ~/.fehbg | ||||
| picom & | ||||
|  | ||||
							
								
								
									
										1
									
								
								config/.config/cmus/rc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								config/.config/cmus/rc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| 
 | ||||
							
								
								
									
										51
									
								
								config/.config/cmus/rose-pine-legacy.theme
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								config/.config/cmus/rose-pine-legacy.theme
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,51 @@ | ||||
| # Rosé Pine colorscheme | ||||
| # by: Boris Petrov (https://github.com/Iorvethe) | ||||
| # colors from: https://rosepinetheme.com/ | ||||
| # | ||||
| # Blue: 67 | ||||
| # Red: 166 | ||||
| # Yellow: 227 | ||||
| # Pink: 217 | ||||
| # White: 254 | ||||
| # Black: 233 | ||||
| 
 | ||||
| # Window | ||||
| set color_cmdline_bg=default | ||||
| set color_cmdline_fg=default | ||||
| 
 | ||||
| set color_win_title_bg=67 | ||||
| set color_win_title_fg=254 | ||||
| 
 | ||||
| set color_win_bg=default | ||||
| set color_win_fg=default | ||||
| 
 | ||||
| set color_separator=67 | ||||
| 
 | ||||
| # Bottom status | ||||
| set color_titleline_bg=67 | ||||
| set color_titleline_fg=254 | ||||
| 
 | ||||
| set color_statusline_bg=default | ||||
| set color_statusline_fg=default | ||||
| 
 | ||||
| # Text | ||||
| set color_win_cur=227 | ||||
| set color_win_dir=default | ||||
| 
 | ||||
| # Menu | ||||
| set color_win_sel_bg=67 | ||||
| set color_win_sel_fg=254 | ||||
| 
 | ||||
| set color_win_inactive_sel_bg=default | ||||
| set color_win_inactive_sel_fg=67 | ||||
| 
 | ||||
| set color_win_cur_sel_bg=67 | ||||
| set color_win_cur_sel_fg=227 | ||||
| 
 | ||||
| set color_win_inactive_cur_sel_bg=default | ||||
| set color_win_inactive_cur_sel_fg=227 | ||||
| 
 | ||||
| # Messages | ||||
| set color_error=166 | ||||
| set color_info=227 | ||||
| 
 | ||||
							
								
								
									
										51
									
								
								config/.config/cmus/rose-pine.theme
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								config/.config/cmus/rose-pine.theme
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,51 @@ | ||||
| # Rosé Pine colorscheme | ||||
| # by: Boris Petrov (https://github.com/Iorvethe) | ||||
| # colors from: https://rosepinetheme.com/ | ||||
| # | ||||
| # Blue: 67 | ||||
| # Red: 166 | ||||
| # Yellow: 227 | ||||
| # Pink: 181 | ||||
| # White: 254 | ||||
| # Black: 233 | ||||
| 
 | ||||
| # Window | ||||
| set color_cmdline_bg=default | ||||
| set color_cmdline_fg=default | ||||
| 
 | ||||
| set color_win_title_bg=181 | ||||
| set color_win_title_fg=233 | ||||
| 
 | ||||
| set color_win_bg=default | ||||
| set color_win_fg=default | ||||
| 
 | ||||
| set color_separator=181 | ||||
| 
 | ||||
| # Bottom status | ||||
| set color_titleline_bg=181 | ||||
| set color_titleline_fg=233 | ||||
| 
 | ||||
| set color_statusline_bg=default | ||||
| set color_statusline_fg=default | ||||
| 
 | ||||
| # Text | ||||
| set color_win_cur=227 | ||||
| set color_win_dir=default | ||||
| 
 | ||||
| # Menu | ||||
| set color_win_sel_bg=181 | ||||
| set color_win_sel_fg=233 | ||||
| 
 | ||||
| set color_win_inactive_sel_bg=default | ||||
| set color_win_inactive_sel_fg=181 | ||||
| 
 | ||||
| set color_win_cur_sel_bg=181 | ||||
| set color_win_cur_sel_fg=227 | ||||
| 
 | ||||
| set color_win_inactive_cur_sel_bg=default | ||||
| set color_win_inactive_cur_sel_fg=227 | ||||
| 
 | ||||
| # Messages | ||||
| set color_error=166 | ||||
| set color_info=227 | ||||
| 
 | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										3
									
								
								config/.config/falkon/custom.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								config/.config/falkon/custom.css
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| * { | ||||
|     font-family: sans-serif; | ||||
| } | ||||
							
								
								
									
										22
									
								
								config/.config/ghostty/config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								config/.config/ghostty/config
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| font-family = "" | ||||
| # font-family = "FairfaxHaxHD" | ||||
| # font-family = "PragmataPro Liga" | ||||
| # font-family = "BigBlueTermPlus Nerd Font" | ||||
| # font-family = "Olympe Mono Hacked" | ||||
| font-family = "Iosevka SS12" | ||||
| font-family = "Cascadia Code" | ||||
| font-family = "CaskaydiaCove Nerd Font" | ||||
| # font-family = "Terminess Nerd Font Mono" | ||||
| # font-family = "Ubuntu Mono Nerd Font" | ||||
| # font-family = "Victor Mono Nerd Font" | ||||
| # font-family = "Sudo" | ||||
| # theme = light:rose-pine-dawn,dark:rose-pine | ||||
| font-size = 14 | ||||
| font-thicken = true | ||||
| # font-variation = wdth=100 | ||||
| # theme = light:xcodelight,dark:xcodedark | ||||
| theme = light:nord-light,dark:nord | ||||
| # theme = Monokai Classic | ||||
| # window-decoration = false | ||||
| # gtk-adwaita = false | ||||
| window-decoration = true | ||||
							
								
								
									
										39
									
								
								config/.config/helix/config.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								config/.config/helix/config.toml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,39 @@ | ||||
| theme = "rose_pine" | ||||
| 
 | ||||
| [editor] | ||||
| line-number = "relative" | ||||
| rulers = [80] | ||||
| color-modes = true | ||||
| completion-trigger-len = 1 | ||||
| idle-timeout = 50 | ||||
| 
 | ||||
| [editor.statusline] | ||||
| left = [] | ||||
| center = [] | ||||
| right = ["spinner", "diagnostics", "version-control", "file-modification-indicator", "file-name", "file-encoding", "read-only-indicator", "position", "mode", "selections", "spacer"] | ||||
| mode.normal = "normal" | ||||
| mode.insert = "insert" | ||||
| mode.select = "select" | ||||
| 
 | ||||
| [editor.lsp] | ||||
| display-inlay-hints = true | ||||
| display-messages = true | ||||
| display-progress-messages = true | ||||
| 
 | ||||
| [editor.cursor-shape] | ||||
| normal = "block" | ||||
| insert = "bar" | ||||
| select = "underline" | ||||
| 
 | ||||
| [editor.indent-guides] | ||||
| render = true | ||||
| 
 | ||||
| [keys.normal."space".e] # config mode | ||||
| c = ":config-open" | ||||
| l = ":e ~/.config/helix/languages.toml" | ||||
| r = ":config-reload" | ||||
| 
 | ||||
| [keys.normal.g] | ||||
| j = "goto_last_line" | ||||
| k = "goto_file_start" | ||||
| e = "goto_file_end" | ||||
							
								
								
									
										6
									
								
								config/.config/helix/languages.toml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								config/.config/helix/languages.toml
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,6 @@ | ||||
| [[languages]] | ||||
| indent = { tab-width = 2, unit = "    " } | ||||
| 
 | ||||
| [language-server.harper-ls] | ||||
| command = "harper-ls" | ||||
| args = ["--stdio"] | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										69
									
								
								config/.config/kak/al/rc/typst.kak
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								config/.config/kak/al/rc/typst.kak
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,69 @@ | ||||
| # Detection | ||||
| # ‾‾‾‾‾‾‾‾‾ | ||||
| 
 | ||||
| hook global BufCreate .*[.](typ) %{ | ||||
|     set-option buffer filetype typst | ||||
| } | ||||
| 
 | ||||
| # Initialization | ||||
| # ‾‾‾‾‾‾‾‾‾‾‾‾‾‾ | ||||
| 
 | ||||
| hook -group typst-highlight global WinSetOption filetype=typst %{ | ||||
|     require-module typst | ||||
| 
 | ||||
|     add-highlighter window/typst ref typst | ||||
|     hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/typst } | ||||
|     hook window InsertChar \n -group typst typst-on-new-line | ||||
| } | ||||
| 
 | ||||
| provide-module typst %§ | ||||
| 
 | ||||
| # Highlighters | ||||
| # ‾‾‾‾‾‾‾‾‾‾‾‾ | ||||
| 
 | ||||
| add-highlighter shared/typst group | ||||
| 
 | ||||
| # Comments | ||||
| add-highlighter shared/typst/ regex ^//(?:[^\n/][^\n]*|)$ 0:comment | ||||
| 
 | ||||
| # Strings | ||||
| add-highlighter shared/typst/ regex '"[^"]*"' 0:string | ||||
| 
 | ||||
| # Headings | ||||
| add-highlighter shared/typst/ regex ^=+\h+[^\n]+$ 0:header | ||||
| 
 | ||||
| # Code blocks | ||||
| # Raw with optional syntax highlighting | ||||
| add-highlighter shared/typst/ regex '^```[^(```)]*```' 0:mono | ||||
| # Multiline monospace | ||||
| add-highlighter shared/typst/ regex '^`[^(`)]*`' 0:mono | ||||
| 
 | ||||
| # Monospace text | ||||
| add-highlighter shared/typst/ regex \B(`[^\n]+?`)\B 0:mono | ||||
| add-highlighter shared/typst/ regex \B(```[^\n]+?```)\B 0:mono | ||||
| 
 | ||||
| # Bold text | ||||
| add-highlighter shared/typst/ regex \s\*[^\*]+\*\B 0:+b | ||||
| 
 | ||||
| # Italic text | ||||
| add-highlighter shared/typst/ regex \b_.*?_\b 0:+i | ||||
| 
 | ||||
| # Code expressions: functions, variables | ||||
| add-highlighter shared/typst/ regex (^|\h)#(\w|\.|-)+ 0:meta | ||||
| 
 | ||||
| # Bold terms in term lists | ||||
| add-highlighter shared/typst/ regex ^/\h[^:]*: 0:+b | ||||
| 
 | ||||
| § | ||||
| 
 | ||||
| # Commands | ||||
| # ‾‾‾‾‾‾‾‾ | ||||
|   | ||||
| define-command -hidden typst-on-new-line %< | ||||
|     evaluate-commands -draft -itersel %< | ||||
|         # Preserve previous line indent | ||||
|         try %{ execute-keys -draft <semicolon> K <a-&> } | ||||
|         # Cleanup trailing whitespaces from previous line | ||||
|         try %{ execute-keys -draft k x s \h+$ <ret> d } | ||||
|     > | ||||
| > | ||||
| @ -1,163 +0,0 @@ | ||||
| # Catppuccin Macchiato theme for Kakoune | ||||
| # | ||||
| # Taken and adapted from | ||||
| # <https://github.com/catppuccin/kakoune/blob/e52fb5c95f70c297fea1fd58613284817b5a50bd/colors/catppuccin_macchiato.kak> | ||||
| 
 | ||||
| # Color palette | ||||
| declare-option str rosewater      "rgb:f4dbd6" | ||||
| declare-option str red            "rgb:ed8796" | ||||
| declare-option str mauve          "rgb:c6a0f6" | ||||
| declare-option str maroon         "rgb:ee99a0" | ||||
| declare-option str pink           "rgb:f5bde6" | ||||
| declare-option str cyan           "rgb:7dc4e4" | ||||
| declare-option str yellow         "rgb:eed49f" | ||||
| declare-option str green          "rgb:a6da95" | ||||
| declare-option str white          "rgb:cad3f5" | ||||
| declare-option str blue           "rgb:8aadf4" | ||||
| declare-option str sky            "rgb:91d7e3" | ||||
| declare-option str lavender       "rgb:b7bdf8" | ||||
| declare-option str black1         "rgb:1e2030" | ||||
| declare-option str black2         "rgb:24273a" | ||||
| declare-option str black3         "rgb:363a4f" | ||||
| declare-option str orange         "rgb:f5a97f" | ||||
| declare-option str teal           "rgb:8bd5ca" | ||||
| declare-option str flamingo       "rgb:f0c6c6" | ||||
| declare-option str gray0          "rgb:5b6078" | ||||
| declare-option str gray1          "rgb:6e738d" | ||||
| declare-option str bright_red     "%opt{red}+b" | ||||
| declare-option str bright_green   "%opt{green}+b" | ||||
| declare-option str bright_yellow  "%opt{yellow}+b" | ||||
| declare-option str bright_blue    "%opt{blue}+b" | ||||
| declare-option str bright_cyan    "%opt{cyan}+b" | ||||
| declare-option str bright_white   "%opt{white}+b" | ||||
| declare-option str foreground     %opt{white} | ||||
| declare-option str background     %opt{black2} | ||||
| declare-option str overlay0       "rgb:8087a2" | ||||
| declare-option str overlay1       "rgb:939ab7" | ||||
| 
 | ||||
| # Markup | ||||
| set-face global title  "%opt{rosewater}" | ||||
| set-face global header "%opt{bright_red}" | ||||
| set-face global bold   "%opt{mauve}" | ||||
| set-face global italic "%opt{lavender}" | ||||
| set-face global mono   "%opt{green}" | ||||
| set-face global block  "%opt{cyan}" | ||||
| set-face global link   "%opt{green}" | ||||
| set-face global bullet "%opt{green}" | ||||
| set-face global list   "%opt{white}" | ||||
| 
 | ||||
| # Builtins | ||||
| set-face global Default            "%opt{white},%opt{background}" | ||||
| set-face global PrimarySelection   "%opt{gray0},%opt{lavender}" | ||||
| set-face global SecondarySelection "%opt{lavender},%opt{gray0}" | ||||
| set-face global PrimaryCursor      "%opt{background},%opt{rosewater}" | ||||
| set-face global SecondaryCursor    "%opt{black1},%opt{teal}" | ||||
| set-face global PrimaryCursorEol   "%opt{gray0},%opt{mauve}" | ||||
| set-face global SecondaryCursorEol "%opt{gray0},%opt{maroon}" | ||||
| set-face global LineNumbers        "%opt{gray1},%opt{background}" | ||||
| set-face global LineNumberCursor   "%opt{lavender},%opt{gray0}+b" | ||||
| set-face global LineNumbersWrapped "%opt{teal},%opt{black1}+i" | ||||
| set-face global MenuForeground     "%opt{white},%opt{gray0}+b" | ||||
| set-face global MenuBackground     "%opt{white},%opt{black3}" | ||||
| set-face global MenuInfo           "%opt{black1},%opt{blue}" | ||||
| set-face global Information        "%opt{black1},%opt{lavender}" | ||||
| set-face global Error              "%opt{red},%opt{black2}" | ||||
| set-face global StatusLine         "%opt{white},%opt{black1}" | ||||
| set-face global StatusLineMode     "%opt{black2},%opt{yellow}" | ||||
| set-face global StatusLineInfo     "%opt{background},%opt{green}" | ||||
| set-face global StatusLineValue    "%opt{orange},%opt{gray0}" | ||||
| set-face global StatusCursor       "%opt{black1},%opt{lavender}" | ||||
| set-face global Prompt             "%opt{green},%opt{black2}" | ||||
| set-face global MatchingChar       "%opt{maroon},%opt{black2}" | ||||
| set-face global Whitespace         "%opt{gray1},%opt{background}+f" | ||||
| set-face global WrapMarker         Whitespace | ||||
| set-face global BufferPadding      "%opt{background},%opt{background}" | ||||
| 
 | ||||
| # Code | ||||
| set-face global value          "%opt{orange}" | ||||
| set-face global type           "%opt{rosewater}" | ||||
| set-face global variable       "%opt{white}" | ||||
| set-face global module         "%opt{maroon}" | ||||
| set-face global function       "%opt{sky}" | ||||
| set-face global string         "%opt{green}" | ||||
| set-face global keyword        "%opt{blue}" | ||||
| set-face global operator       "%opt{blue}" | ||||
| set-face global attribute      "%opt{green}" | ||||
| set-face global comment        "%opt{gray1}+i" | ||||
| set-face global documentation  comment | ||||
| set-face global meta           "%opt{pink}" | ||||
| set-face global builtin        "%opt{lavender}+b" | ||||
| 
 | ||||
| # Tree-sitter (<https://git.sr.ht/~hadronized/kak-tree-sitter>) | ||||
| set-face global ts_attribute                    "%opt{blue}" | ||||
| set-face global ts_comment                      "%opt{overlay0}+i" | ||||
| set-face global ts_conceal                      "%opt{mauve}+i" | ||||
| set-face global ts_constant                     "%opt{orange}" | ||||
| set-face global ts_constant_builtin_boolean     "%opt{sky}" | ||||
| set-face global ts_constant_character           "%opt{yellow}" | ||||
| set-face global ts_constant_macro               "%opt{mauve}" | ||||
| set-face global ts_constructor                  "%opt{cyan}" | ||||
| set-face global ts_diff_plus                    "%opt{green}" | ||||
| set-face global ts_diff_minus                   "%opt{red}" | ||||
| set-face global ts_diff_delta                   "%opt{blue}" | ||||
| set-face global ts_diff_delta_moved             "%opt{mauve}" | ||||
| set-face global ts_error                        "%opt{red}+b" | ||||
| set-face global ts_function                     "%opt{blue}" | ||||
| set-face global ts_function_builtin             "%opt{blue}+i" | ||||
| set-face global ts_function_macro               "%opt{mauve}" | ||||
| set-face global ts_hint                         "%opt{blue}+b" | ||||
| set-face global ts_info                         "%opt{green}+b" | ||||
| set-face global ts_keyword                      "%opt{mauve}" | ||||
| set-face global ts_keyword_conditional          "%opt{mauve}+i" | ||||
| set-face global ts_keyword_control_conditional  "%opt{mauve}+i" | ||||
| set-face global ts_keyword_control_directive    "%opt{mauve}+i" | ||||
| set-face global ts_keyword_control_import       "%opt{mauve}+i" | ||||
| set-face global ts_keyword_directive            "%opt{mauve}+i" | ||||
| set-face global ts_label                        "%opt{cyan}+i" | ||||
| set-face global ts_markup_bold                  "%opt{orange}+b" | ||||
| set-face global ts_markup_heading               "%opt{red}" | ||||
| set-face global ts_markup_heading_1             "%opt{red}" | ||||
| set-face global ts_markup_heading_2             "%opt{mauve}" | ||||
| set-face global ts_markup_heading_3             "%opt{green}" | ||||
| set-face global ts_markup_heading_4             "%opt{yellow}" | ||||
| set-face global ts_markup_heading_5             "%opt{pink}" | ||||
| set-face global ts_markup_heading_6             "%opt{teal}" | ||||
| set-face global ts_markup_heading_marker        "%opt{orange}+b" | ||||
| set-face global ts_markup_italic                "%opt{pink}+i" | ||||
| set-face global ts_markup_list_checked          "%opt{green}" | ||||
| set-face global ts_markup_list_numbered         "%opt{blue}+i" | ||||
| set-face global ts_markup_list_unchecked        "%opt{teal}" | ||||
| set-face global ts_markup_list_unnumbered       "%opt{mauve}" | ||||
| set-face global ts_markup_link_label            "%opt{blue}" | ||||
| set-face global ts_markup_link_url              "%opt{teal}+u" | ||||
| set-face global ts_markup_link_uri              "%opt{teal}+u" | ||||
| set-face global ts_markup_link_text             "%opt{blue}" | ||||
| set-face global ts_markup_quote                 "%opt{gray1}" | ||||
| set-face global ts_markup_raw                   "%opt{green}" | ||||
| set-face global ts_markup_strikethrough         "%opt{gray1}+s" | ||||
| set-face global ts_namespace                    "%opt{blue}+i" | ||||
| set-face global ts_operator                     "%opt{sky}" | ||||
| set-face global ts_property                     "%opt{sky}" | ||||
| set-face global ts_punctuation                  "%opt{overlay1}" | ||||
| set-face global ts_punctuation_special          "%opt{sky}" | ||||
| set-face global ts_special                      "%opt{blue}" | ||||
| set-face global ts_spell                        "%opt{mauve}" | ||||
| set-face global ts_string                       "%opt{green}" | ||||
| set-face global ts_string_regex                 "%opt{orange}" | ||||
| set-face global ts_string_regexp                "%opt{orange}" | ||||
| set-face global ts_string_escape                "%opt{mauve}" | ||||
| set-face global ts_string_special               "%opt{blue}" | ||||
| set-face global ts_string_special_path          "%opt{green}" | ||||
| set-face global ts_string_special_symbol        "%opt{mauve}" | ||||
| set-face global ts_string_symbol                "%opt{red}" | ||||
| set-face global ts_tag                          "%opt{mauve}" | ||||
| set-face global ts_tag_error                    "%opt{red}" | ||||
| set-face global ts_text                         "%opt{white}" | ||||
| set-face global ts_text_title                   "%opt{mauve}" | ||||
| set-face global ts_type                         "%opt{yellow}" | ||||
| set-face global ts_type_enum_variant            "%opt{flamingo}" | ||||
| set-face global ts_variable                     "%opt{white}" | ||||
| set-face global ts_variable_builtin             "%opt{red}" | ||||
| set-face global ts_variable_other_member        "%opt{teal}" | ||||
| set-face global ts_variable_parameter           "%opt{maroon}+i" | ||||
| set-face global ts_warning                      "%opt{orange}+b" | ||||
| @ -1,166 +0,0 @@ | ||||
| # Catppuccint Mocha theme for Kakoune | ||||
| # | ||||
| # Taken and adapted from | ||||
| # <https://github.com/catppuccin/kakoune/blob/7f187d9da2867a7fda568b2135d29b9c00cfbb94/colors/catppuccin_mocha.kak> | ||||
| 
 | ||||
| # Catppuccin theme for Kakoune | ||||
| 
 | ||||
| # Color palette (see https://catppuccin.com/palette) | ||||
| declare-option str rosewater "rgb:f5e0dc" | ||||
| declare-option str flamingo  "rgb:f2cdcd" | ||||
| declare-option str pink      "rgb:f5c2e7" | ||||
| declare-option str mauve     "rgb:cba6f7" | ||||
| declare-option str red       "rgb:f38ba8" | ||||
| declare-option str maroon    "rgb:eba0ac" | ||||
| declare-option str peach     "rgb:fab387" | ||||
| declare-option str yellow    "rgb:f9e2af" | ||||
| declare-option str green     "rgb:a6e3a1" | ||||
| declare-option str teal      "rgb:94e2d5" | ||||
| declare-option str sky       "rgb:89dceb" | ||||
| declare-option str sapphire  "rgb:74c7ec" | ||||
| declare-option str blue      "rgb:89b4fa" | ||||
| declare-option str lavender  "rgb:b4befe" | ||||
| declare-option str text      "rgb:cdd6f4" | ||||
| declare-option str subtext1  "rgb:bac2de" | ||||
| declare-option str subtext0  "rgb:a6adc8" | ||||
| declare-option str overlay2  "rgb:9399b2" | ||||
| declare-option str overlay1  "rgb:7f849c" | ||||
| declare-option str overlay0  "rgb:6c7086" | ||||
| declare-option str surface2  "rgb:585b70" | ||||
| declare-option str surface1  "rgb:45475a" | ||||
| declare-option str surface0  "rgb:313244" | ||||
| declare-option str base      "rgb:1e1e2e" | ||||
| declare-option str mantle    "rgb:181825" | ||||
| declare-option str crust     "rgb:11111b" | ||||
| 
 | ||||
| # Markup | ||||
| set-face global title  "%opt{text}+b" | ||||
| set-face global header "%opt{subtext0}+b" | ||||
| set-face global bold   "%opt{maroon}+b" | ||||
| set-face global italic "%opt{maroon}+i" | ||||
| set-face global mono   "%opt{green}" | ||||
| set-face global block  "%opt{sapphire}" | ||||
| set-face global link   "%opt{blue}" | ||||
| set-face global bullet "%opt{peach}" | ||||
| set-face global list   "%opt{peach}" | ||||
| 
 | ||||
| # Builtins | ||||
| set-face global Default            "%opt{text},%opt{base}" | ||||
| set-face global PrimarySelection   "%opt{text},%opt{surface2}" | ||||
| set-face global SecondarySelection "%opt{text},%opt{surface2}" | ||||
| set-face global PrimaryCursor      "%opt{crust},%opt{rosewater}" | ||||
| set-face global SecondaryCursor    "%opt{text},%opt{overlay0}" | ||||
| set-face global PrimaryCursorEol   "%opt{surface2},%opt{lavender}" | ||||
| set-face global SecondaryCursorEol "%opt{surface2},%opt{overlay1}" | ||||
| set-face global LineNumbers        "%opt{overlay1},%opt{base}" | ||||
| set-face global LineNumberCursor   "%opt{rosewater},%opt{surface2}+b" | ||||
| set-face global LineNumbersWrapped "%opt{rosewater},%opt{surface2}" | ||||
| set-face global MenuForeground     "%opt{text},%opt{surface1}+b" | ||||
| set-face global MenuBackground     "%opt{text},%opt{surface0}" | ||||
| set-face global MenuInfo           "%opt{crust},%opt{teal}" | ||||
| set-face global Information        "%opt{crust},%opt{teal}" | ||||
| set-face global Error              "%opt{crust},%opt{red}" | ||||
| set-face global DiagnosticError    Error | ||||
| set-face global DiagnosticWarning  "%opt{yellow}" | ||||
| set-face global StatusLine         "%opt{text},%opt{mantle}" | ||||
| set-face global StatusLineMode     "%opt{crust},%opt{yellow}" | ||||
| set-face global StatusLineInfo     "%opt{crust},%opt{teal}" | ||||
| set-face global StatusLineValue    "%opt{crust},%opt{yellow}" | ||||
| set-face global StatusCursor       "%opt{crust},%opt{rosewater}" | ||||
| set-face global Prompt             "%opt{teal},%opt{base}+b" | ||||
| set-face global MatchingChar       "%opt{maroon},%opt{base}" | ||||
| set-face global Whitespace         "%opt{overlay1},%opt{base}+f" | ||||
| set-face global WrapMarker         Whitespace | ||||
| set-face global BufferPadding      "%opt{base},%opt{base}" | ||||
| 
 | ||||
| 
 | ||||
| # Code | ||||
| set-face global value         "%opt{peach}" | ||||
| set-face global type          "%opt{yellow}" | ||||
| set-face global variable      "%opt{text}" | ||||
| set-face global module        "%opt{maroon}" | ||||
| set-face global function      "%opt{blue}" | ||||
| set-face global string        "%opt{green}" | ||||
| set-face global keyword       "%opt{mauve}" | ||||
| set-face global operator      "%opt{sky}" | ||||
| set-face global attribute     "%opt{yellow}" | ||||
| set-face global comment       "%opt{overlay1}+i" | ||||
| set-face global documentation comment | ||||
| set-face global meta          "%opt{yellow}" | ||||
| set-face global builtin       "%opt{red}" | ||||
| 
 | ||||
| # Tree-sitter (<https://git.sr.ht/~hadronized/kak-tree-sitter>) | ||||
| # Copied from catppuccin_macchiato.kak | ||||
| # Adjusted with https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md | ||||
| set-face global ts_attribute                    attribute | ||||
| set-face global ts_comment                      comment | ||||
| set-face global ts_conceal                      "%opt{mauve}+i" | ||||
| set-face global ts_constant                     "%opt{peach}" | ||||
| set-face global ts_constant_builtin_boolean     "%opt{sky}" | ||||
| set-face global ts_constant_character           "%opt{yellow}" | ||||
| set-face global ts_constant_macro               "%opt{mauve}" | ||||
| set-face global ts_constructor                  "%opt{sky}" | ||||
| set-face global ts_diff_plus                    "%opt{green}" | ||||
| set-face global ts_diff_minus                   "%opt{red}" | ||||
| set-face global ts_diff_delta                   "%opt{blue}" | ||||
| set-face global ts_diff_delta_moved             "%opt{mauve}" | ||||
| set-face global ts_error                        "%opt{red}+b" | ||||
| set-face global ts_function                     "%opt{blue}" | ||||
| set-face global ts_function_builtin             "%opt{blue}+i" | ||||
| set-face global ts_function_macro               "%opt{mauve}" | ||||
| set-face global ts_hint                         "%opt{blue}+b" | ||||
| set-face global ts_info                         "%opt{teal}+b" | ||||
| set-face global ts_keyword                      "%opt{mauve}" | ||||
| set-face global ts_keyword_conditional          "%opt{mauve}+i" | ||||
| set-face global ts_keyword_control_conditional  "%opt{mauve}+i" | ||||
| set-face global ts_keyword_control_directive    "%opt{mauve}+i" | ||||
| set-face global ts_keyword_control_import       "%opt{mauve}+i" | ||||
| set-face global ts_keyword_directive            "%opt{mauve}+i" | ||||
| set-face global ts_label                        "%opt{sky}+i" | ||||
| set-face global ts_markup_bold                  "%opt{peach}+b" | ||||
| set-face global ts_markup_heading               "%opt{red}" | ||||
| set-face global ts_markup_heading_1             "%opt{red}" | ||||
| set-face global ts_markup_heading_2             "%opt{mauve}" | ||||
| set-face global ts_markup_heading_3             "%opt{green}" | ||||
| set-face global ts_markup_heading_4             "%opt{yellow}" | ||||
| set-face global ts_markup_heading_5             "%opt{pink}" | ||||
| set-face global ts_markup_heading_6             "%opt{teal}" | ||||
| set-face global ts_markup_heading_marker        "%opt{peach}+b" | ||||
| set-face global ts_markup_italic                "%opt{pink}+i" | ||||
| set-face global ts_markup_list_checked          "%opt{green}" | ||||
| set-face global ts_markup_list_numbered         "%opt{blue}+i" | ||||
| set-face global ts_markup_list_unchecked        "%opt{teal}" | ||||
| set-face global ts_markup_list_unnumbered       "%opt{mauve}" | ||||
| set-face global ts_markup_link_label            "%opt{blue}" | ||||
| set-face global ts_markup_link_url              "%opt{teal}+u" | ||||
| set-face global ts_markup_link_uri              "%opt{teal}+u" | ||||
| set-face global ts_markup_link_text             "%opt{blue}" | ||||
| set-face global ts_markup_quote                 "%opt{overlay1}" | ||||
| set-face global ts_markup_raw                   "%opt{green}" | ||||
| set-face global ts_markup_strikethrough         "%opt{overlay1}+s" | ||||
| set-face global ts_namespace                    "%opt{blue}+i" | ||||
| set-face global ts_operator                     "%opt{sky}" | ||||
| set-face global ts_property                     "%opt{sky}" | ||||
| set-face global ts_punctuation                  "%opt{overlay1}" | ||||
| set-face global ts_punctuation_special          "%opt{sky}" | ||||
| set-face global ts_special                      "%opt{blue}" | ||||
| set-face global ts_spell                        "%opt{mauve}" | ||||
| set-face global ts_string                       string | ||||
| set-face global ts_string_regex                 "%opt{pink}" | ||||
| set-face global ts_string_regexp                "%opt{pink}" | ||||
| set-face global ts_string_escape                "%opt{flamingo}" | ||||
| set-face global ts_string_special               "%opt{blue}" | ||||
| set-face global ts_string_special_path          "%opt{green}" | ||||
| set-face global ts_string_special_symbol        "%opt{mauve}" | ||||
| set-face global ts_string_symbol                "%opt{red}" | ||||
| set-face global ts_tag                          "%opt{mauve}" | ||||
| set-face global ts_tag_error                    "%opt{red}" | ||||
| set-face global ts_text                         "%opt{text}" | ||||
| set-face global ts_text_title                   "%opt{mauve}" | ||||
| set-face global ts_type                         type | ||||
| set-face global ts_type_enum_variant            "%opt{teal}" | ||||
| set-face global ts_variable                     variable | ||||
| set-face global ts_variable_builtin             builtin | ||||
| set-face global ts_variable_other_member        "%opt{teal}" | ||||
| set-face global ts_variable_parameter           "%opt{maroon}+i" | ||||
| set-face global ts_warning                      "%opt{yellow}+b" | ||||
| @ -1 +0,0 @@ | ||||
| ../plugins/base16-kakoune/colors/ | ||||
| @ -19,28 +19,46 @@ plug "kak-lsp/kak-lsp" do %{ | ||||
|         cargo install --locked --force --path . | ||||
| } | ||||
| 
 | ||||
| # plug "gustavo-hms/luar" %{ | ||||
| #     plug "gustavo-hms/peneira" %{ | ||||
| #         require-module peneira | ||||
| #     } | ||||
| # } | ||||
| plug "gustavo-hms/luar" %{ | ||||
|     plug "gustavo-hms/peneira" %{ | ||||
|         require-module peneira | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| plug "h-youhei/kakoune-surround" | ||||
| 
 | ||||
| plug "your-tools/kak-subvert" do %{ | ||||
|     cargo install --locked --force --path . | ||||
| } | ||||
| 
 | ||||
| plug "https://git.sr.ht/~nasmevka/repl.kak" | ||||
| 
 | ||||
| plug "https://gitlab.com/kstr0k/mru-files.kak" demand mru-files %{  # %{} needed even if empty | ||||
|   # suggested mappings: *after* plugin loads | ||||
|   # think "go alt[ernate]-f[iles]" | ||||
|   # map global goto <a-f> '<esc>: mru-files ' -docstring 'mru-files' | ||||
|   # map global goto <a-F> '<esc>: mru-files-related<ret>' -docstring 'mru-files-related' | ||||
| } | ||||
| 
 | ||||
| plug "custom-filetypes" load-path "~/.config/kak/al" | ||||
| # # Color Themes | ||||
| plug "tinted-theming/base16-kakoune" | ||||
| 
 | ||||
| plug "tinted-theming/base16-kakoune" theme | ||||
| plug "https://git.sr.ht/~hadronized/kakoune-tree-sitter-themes" theme | ||||
| ### End Of Plugins ### | ||||
| 
 | ||||
| # set-option global luar_interpreter luajit | ||||
| set-option global luar_interpreter luajit | ||||
| 
 | ||||
| ## Treesitter ## | ||||
| 
 | ||||
| #eval %sh{ kak-tree-sitter -dksv --with-highlighting --with-text-objects --init $kak_session } | ||||
| # eval %sh{ kak-tree-sitter -dksvvv --with-highlighting --with-text-objects --init $kak_session } | ||||
| #eval %sh{ kak-tree-sitter -dks --with-text-objects --session $kak_session } | ||||
| #eval %sh{ kak-tree-sitter -dks  --with-highlighting --session $kak_session } | ||||
| eval %sh{ kak-tree-sitter -dks --init $kak_session } | ||||
| evaluate-commands %sh{ | ||||
|     echo "colorscheme base16-$BASE16_THEME" | ||||
| } | ||||
| eval %sh{ kak-tree-sitter -dksvvv --init $kak_session } | ||||
| # evaluate-commands %sh{ | ||||
| #     echo "colorscheme base16-$BASE16_THEME" | ||||
| # } | ||||
| 
 | ||||
| ## Popup ## | ||||
| evaluate-commands %sh{kak-popup init} | ||||
| 
 | ||||
| ## Highlighting ## | ||||
| hook global WinCreate .* %{ add-highlighter window/number-lines number-lines -relative -hlcursor} | ||||
| @ -52,77 +70,77 @@ add-highlighter global/ show-whitespaces | ||||
| 
 | ||||
| add-highlighter global/ wrap -word -indent | ||||
| ## Formatting ## | ||||
| define-command enable-autofmt -docstring 'enable autoformatting of buffer' %{ | ||||
| 
 | ||||
| 
 | ||||
|     hook global -group autofmt BufSetOption filetype=(zig) %{ | ||||
|         set-option buffer formatcmd 'zig fmt --stdin' | ||||
| 
 | ||||
|         hook -group autofmt buffer BufOpenFile .* %{ | ||||
|             format | ||||
|         } | ||||
| 
 | ||||
|         hook -group autofmt buffer BufWritePre .* %{ | ||||
|             format | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     hook global -group autofmt BufSetOption filetype=(html) %{ | ||||
|         set-option buffer formatcmd 'prettier --tab-width 4 --parser html' | ||||
| 
 | ||||
|         hook -group autofmt buffer BufOpenFile .* %{ | ||||
|             format | ||||
|         } | ||||
| 
 | ||||
|         hook -group autofmt buffer BufWritePre .* %{ | ||||
|             format | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     hook global -group autofmt BufSetOption filetype=(css) %{ | ||||
|         set-option buffer formatcmd 'prettier --tab-width 4 --parser css' | ||||
| 
 | ||||
|         hook -group autofmt buffer BufOpenFile .* %{ | ||||
|             format | ||||
|         } | ||||
| 
 | ||||
|         hook -group autofmt buffer BufWritePre .* %{ | ||||
|             format | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     hook global -group autofmt BufSetOption filetype=(javascript) %{ | ||||
|         set-option buffer formatcmd 'prettier --tab-width 4 --parser typescript' | ||||
| 
 | ||||
|         hook -group autofmt buffer BufOpenFile .* %{ | ||||
|             format | ||||
|         } | ||||
| 
 | ||||
|         hook -group autofmt buffer BufWritePre .* %{ | ||||
|             format | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     hook global -group autofmt BufSetOption filetype=(go) %{ | ||||
|         set-option buffer formatcmd 'gofmt' | ||||
| 
 | ||||
|         hook -group autofmt buffer BufOpenFile .* %{ | ||||
|             format | ||||
|         } | ||||
| 
 | ||||
|         hook -group autofmt buffer BufWritePre .* %{ | ||||
|             format | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| define-command disable-autofmt -docstring 'disable autoformatting of buffer' %{ | ||||
|     remove-hooks global autofmt | ||||
| } | ||||
| 
 | ||||
| enable-autofmt | ||||
| 
 | ||||
| 
 | ||||
| # define-command enable-autofmt -docstring 'enable autoformatting of buffer' %{ | ||||
| # | ||||
| # | ||||
| #     hook global -group autofmt BufSetOption filetype=(zig) %{ | ||||
| #         set-option buffer formatcmd 'zig fmt --stdin' | ||||
| # | ||||
| #         hook -group autofmt buffer BufOpenFile .* %{ | ||||
| #             format | ||||
| #         } | ||||
| # | ||||
| #         hook -group autofmt buffer BufWritePre .* %{ | ||||
| #             format | ||||
| #         } | ||||
| #     } | ||||
| # | ||||
| #     hook global -group autofmt BufSetOption filetype=(html) %{ | ||||
| #         set-option buffer formatcmd 'prettier --tab-width 4 --parser html' | ||||
| # | ||||
| #         hook -group autofmt buffer BufOpenFile .* %{ | ||||
| #             format | ||||
| #         } | ||||
| # | ||||
| #         hook -group autofmt buffer BufWritePre .* %{ | ||||
| #             format | ||||
| #         } | ||||
| #     } | ||||
| # | ||||
| #     hook global -group autofmt BufSetOption filetype=(css) %{ | ||||
| #         set-option buffer formatcmd 'prettier --tab-width 4 --parser css' | ||||
| # | ||||
| #         hook -group autofmt buffer BufOpenFile .* %{ | ||||
| #             format | ||||
| #         } | ||||
| # | ||||
| #         hook -group autofmt buffer BufWritePre .* %{ | ||||
| #             format | ||||
| #         } | ||||
| #     } | ||||
| # | ||||
| #     hook global -group autofmt BufSetOption filetype=(javascript) %{ | ||||
| #         set-option buffer formatcmd 'prettier --tab-width 4 --parser typescript' | ||||
| # | ||||
| #         hook -group autofmt buffer BufOpenFile .* %{ | ||||
| #             format | ||||
| #         } | ||||
| # | ||||
| #         hook -group autofmt buffer BufWritePre .* %{ | ||||
| #             format | ||||
| #         } | ||||
| #     } | ||||
| # | ||||
| #     hook global -group autofmt BufSetOption filetype=(go) %{ | ||||
| #         set-option buffer formatcmd 'gofmt' | ||||
| # | ||||
| #         hook -group autofmt buffer BufOpenFile .* %{ | ||||
| #             format | ||||
| #         } | ||||
| # | ||||
| #         hook -group autofmt buffer BufWritePre .* %{ | ||||
| #             format | ||||
| #         } | ||||
| #     } | ||||
| # } | ||||
| # | ||||
| # define-command disable-autofmt -docstring 'disable autoformatting of buffer' %{ | ||||
| #     remove-hooks global autofmt | ||||
| # } | ||||
| # | ||||
| # enable-autofmt | ||||
| # | ||||
| # | ||||
| ## Indentation ## | ||||
| set global tabstop 4 | ||||
| set global indentwidth 4 | ||||
| @ -183,10 +201,28 @@ define-command sleuth-disable -docstring 'Disable sleuth' %{ | ||||
| } | ||||
| 
 | ||||
| ## LSP ## | ||||
| lsp-enable | ||||
| # lsp-enable | ||||
| # lsp-inlay-diagnostics-enable global | ||||
| hook global WinSetOption filetype=(c|zig|python|ruby|lua|java|html|css|swift) %{ | ||||
|     # set-option window lsp_auto_highlight_references true | ||||
|     set-option window lsp_hover_anchor true | ||||
|     lsp-auto-hover-enable | ||||
|     #lsp-auto-hover-insert-mode-enable | ||||
|     lsp-auto-signature-help-enable | ||||
|     lsp-inlay-hints-enable global | ||||
|     lsp-enable-window | ||||
| } | ||||
| 
 | ||||
| hook global WinSetOption filetype=(rust) %{ | ||||
|     set-option window lsp_auto_highlight_references true | ||||
|     set-option window lsp_hover_anchor true | ||||
|     lsp-auto-hover-enable | ||||
|     #lsp-auto-hover-insert-mode-enable | ||||
|     lsp-auto-signature-help-enable | ||||
|     lsp-inlay-hints-enable global | ||||
|     lsp-enable-window | ||||
| } | ||||
| 
 | ||||
| lsp-inlay-diagnostics-enable global | ||||
| hook global WinSetOption filetype=(c|zig|rust|python|ruby|lua|java|html|css) %{ | ||||
|       hook window -group semantic-tokens BufReload .* lsp-semantic-tokens | ||||
|         hook window -group semantic-tokens NormalIdle .* lsp-semantic-tokens | ||||
| @ -210,10 +246,23 @@ face global InfoDiagnosticHint        Information | ||||
| face global InfoDiagnosticInformation Information | ||||
| face global InfoDiagnosticWarning     Information | ||||
| 
 | ||||
| hook -group lsp-filetype-swift global BufSetOption filetype=swift %{ | ||||
|     set-option buffer lsp_servers %{ | ||||
|         [sourcekit-lsp] | ||||
|         root_globs = [".git", ".hg"] | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| set-option global lsp_config %{ | ||||
| } | ||||
| 
 | ||||
| define-command -docstring 'Invoke fzf to select a buffer' fzf-buffer %{ | ||||
| define-command fzf-buffer -docstring 'Invoke fzf to select a buffer' %{ | ||||
|     evaluate-commands %sh{ | ||||
|         tmux split-window -l 30% "(printf \"%s\n\" $kak_quoted_buflist | fzf --bind 'focus:execute-silent(echo \"eval -client $kak_client %{ e {} }\" | kak -p $kak_session)' || echo \"$kak_buffile\") | xargs -I{} echo \"eval -client $kak_client %{ e '{}' }\" | /usr/bin/kak -p $kak_session" | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| define-command -docstring 'Invoke fzf to select a buffer' prev-fzf-buff %{ | ||||
|     evaluate-commands %sh{ | ||||
|         BUFFER=$( | ||||
|             ( | ||||
| @ -225,7 +274,6 @@ define-command -docstring 'Invoke fzf to select a buffer' fzf-buffer %{ | ||||
|             ) | | ||||
|             fzf-tmux --cycle -p 80%,90% --read0 --preview='bat --theme=base16-256 --color=always {} 2>/dev/null' | ||||
|         ) | ||||
|         BUFFER=${BUFFER/\'/\'\'} | ||||
|         if [ -n "$BUFFER" ]; then | ||||
|             printf "buffer %s" "${BUFFER}" | ||||
|         fi | ||||
| @ -357,14 +405,25 @@ define-command -docstring 'Print Working Directory' -params 0 pwd %{ | ||||
|     evaluate-commands echo %sh{ echo "$(pwd)"} | ||||
| } | ||||
| 
 | ||||
| # define-command -docstring 'copy to clipboard' xcopy %{ | ||||
| #     execute-keys '<a-|>xclip -selection clipboard -i<ret>' | ||||
| # } | ||||
| 
 | ||||
| # define-command -docstring 'paste from clipboard' xpaste %{ | ||||
| #     evaluate-commands -save-regs '"' %{ | ||||
| #         set-register dquote %sh{ xclip -selection clipboard -o } | ||||
| #         execute-keys 'p' | ||||
| #     } | ||||
| # } | ||||
| 
 | ||||
| define-command -docstring 'copy to clipboard' xcopy %{ | ||||
|     execute-keys '<a-|>xclip -selection clipboard -i<ret>' | ||||
|     execute-keys '<a-|>wl-copy<ret>' | ||||
| } | ||||
| 
 | ||||
| define-command -docstring 'paste from clipboard' xpaste %{ | ||||
|     evaluate-commands -save-regs '"' %{ | ||||
|         set-register dquote %sh{ xclip -selection clipboard -o } | ||||
|         execute-keys 'p' | ||||
|         set-register dquote %sh{ wl-paste } | ||||
|         execute-keys 'P' | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| @ -412,15 +471,26 @@ map -docstring 'new terminal tab' global tmux T ':tmux-repl-window<ret>' | ||||
| map -docstring 'new git window' global tmux g ':tmux-terminal-window lazygit<ret>' | ||||
| 
 | ||||
| declare-user-mode project | ||||
| map -docstring 'enter project mode' global user P ':enter-user-mode project<ret>' | ||||
| map -docstring 'enter project mode' global user p ':enter-user-mode project<ret>' | ||||
| map -docstring 'open project' global project o ':switch-project<ret>' | ||||
| 
 | ||||
| map -docstring 'enter man mode' global user m ':enter-user-mode man<ret>' | ||||
| 
 | ||||
| declare-user-mode general | ||||
| map -docstring 'enter general keybinds mode' global user g ':enter-user-mode general<ret>' | ||||
| #map -docstring 'clipboard yank' global user y '<a-|>clip.exe<ret>' | ||||
| map -docstring 'clipboard yank' global user y ':xcopy<ret>' | ||||
| map -docstring 'clipboard yank' global general y ':xcopy<ret>' | ||||
| #map -docstring 'clipboard paste' global user p '|powershell.exe -C Get-Clipboard | tr -d "\r"<ret>' | ||||
| map -docstring 'clipboard paste' global user p ':xpaste<ret>' | ||||
| map -docstring 'clipboard paste' global general p ':xpaste<ret>' | ||||
| map -docstring 'quit kakoune' global general q ':q<ret>' | ||||
| map -docstring 'toggle comments' global general c ':comment-line<ret>' | ||||
| 
 | ||||
| map -docstring 'quit kakoune' global user q ':q<ret>' | ||||
| map -docstring 'toggle comments' global user c ':comment-line<ret>' | ||||
| declare-user-mode spell | ||||
| map -docstring 'enter spell mode' global general s ':enter-user-mode spell<ret>' | ||||
| map -docstring 'enable spell check' global spell s ':spell<ret>' | ||||
| map -docstring 'clear spell check' global spell c ':spell-clear<ret>' | ||||
| map -docstring 'next spell check' global spell n ':spell-next<ret>' | ||||
| map -docstring 'spell check replacements' global spell r ':spell-replace<ret>' | ||||
| 
 | ||||
| map -docstring 'quit kakoune' global user q ':q!<ret>' | ||||
| colorscheme base16-rose-pine | ||||
|  | ||||
| @ -1,4 +0,0 @@ | ||||
| 
 | ||||
| set -e | ||||
| 
 | ||||
|         cargo install --locked --force --path . | ||||
| @ -1,19 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|       discord-presence-enable | ||||
|  } catch %{ | ||||
|     echo -debug "Error while evaluating 'kakoune-discord' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'kakoune-discord' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -1,2 +0,0 @@ | ||||
| 
 | ||||
|  cargo install --path . --force  | ||||
| @ -1,23 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|         require-module rainbow | ||||
|             # suggested mapping | ||||
| #     # map global user r ": rainbow<ret>" -docstring "rainbow brackets" | ||||
| #         # map global user R ": rmhl window/ranges_rainbow_specs<ret>" \ | ||||
| #             #     -docstring "remove rainbow highlighter" | ||||
|  } catch %{ | ||||
|     echo -debug "Error while evaluating 'kakoune-rainbow' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'kakoune-rainbow' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -1 +0,0 @@ | ||||
| gitlab.com | ||||
| @ -1,19 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|          # configuration here | ||||
|  } catch %{ | ||||
|     echo -debug "Error while evaluating 'kakoune-smooth-scroll' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'kakoune-smooth-scroll' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -1,21 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|     plug "gustavo-hms/peneira" %{ | ||||
|         require-module peneira | ||||
|     } | ||||
|  } catch %{ | ||||
|     echo -debug "Error while evaluating 'luar' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'luar' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -1,19 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|         # your config | ||||
|  } catch %{ | ||||
|     echo -debug "Error while evaluating 'pandoc.kak' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'pandoc.kak' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -1,19 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|         require-module peneira | ||||
|      } catch %{ | ||||
|     echo -debug "Error while evaluating 'peneira' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'peneira' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -1,25 +0,0 @@ | ||||
| try %{  | ||||
| 
 | ||||
|     # if you have wrap highlighter enamled in you configuration | ||||
|     # files it's better to turn it off for tagbar, using this hook: | ||||
|     hook global WinSetOption filetype=tagbar %{ | ||||
|         remove-highlighter window/wrap | ||||
|         # you can also disable rendering whitespaces here, line numbers, and | ||||
|         # matching characters | ||||
|     } | ||||
|  } catch %{ | ||||
|     echo -debug "Error while evaluating 'tagbar.kak' configuration: %val{error}" | ||||
| 
 | ||||
|     set-option -add current plug_conf_errors "Error while evaluating 'tagbar.kak' configuration:" | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n    " } | ||||
|     set-option -add current plug_conf_errors %val{error} | ||||
|     set-option -add current plug_conf_errors %sh{ printf "\n\n" } | ||||
| 
 | ||||
|     hook -once -group plug-conf-err global WinDisplay .* %{ | ||||
|         info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" | ||||
|         on-key %{ | ||||
|             info -style modal | ||||
|             execute-keys -with-maps -with-hooks %val{key} | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										30
									
								
								config/.config/kde.org/UserFeedback.org.kde.discover.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								config/.config/kde.org/UserFeedback.org.kde.discover.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,30 @@ | ||||
| [Source-applicationSourceName] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-applicationVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-locale] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-opengl] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-platform] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-qtVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-screens] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-startCount] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-usageTime] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=137 | ||||
| ApplicationTime=622 | ||||
							
								
								
									
										30
									
								
								config/.config/kde.org/UserFeedback.org.kde.dolphin.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								config/.config/kde.org/UserFeedback.org.kde.dolphin.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,30 @@ | ||||
| [Source-applicationVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-locale] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-places] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-platform] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-qtVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-screens] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-settings] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-startCount] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-usageTime] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=3 | ||||
| ApplicationTime=35142 | ||||
							
								
								
									
										21
									
								
								config/.config/kde.org/UserFeedback.org.kde.kate.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								config/.config/kde.org/UserFeedback.org.kde.kate.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| [Source-applicationVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-platform] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-qtVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-screens] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-startCount] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-usageTime] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=10 | ||||
| ApplicationTime=3242 | ||||
							
								
								
									
										27
									
								
								config/.config/kde.org/UserFeedback.org.kde.kmail.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								config/.config/kde.org/UserFeedback.org.kde.kmail.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | ||||
| [Source-accounts] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-applicationVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-locale] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-platform] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-qtVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-screens] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-startCount] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-usageTime] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=1 | ||||
| ApplicationTime=14 | ||||
							
								
								
									
										2
									
								
								config/.config/kde.org/UserFeedback.org.kde.kmail2.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/kde.org/UserFeedback.org.kde.kmail2.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=1 | ||||
							
								
								
									
										31
									
								
								config/.config/kde.org/UserFeedback.org.kde.plasmashell.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								config/.config/kde.org/UserFeedback.org.kde.plasmashell.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,31 @@ | ||||
| [Source-applicationVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-compiler] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-opengl] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-panelCount] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-platform] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-qpa] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-qtVersion] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-screens] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [Source-usageTime] | ||||
| dataSourceCommonSettings\activeState=true | ||||
| 
 | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=210 | ||||
| ApplicationTime=2008695 | ||||
| LastEncouragement=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x87}\x4\n\x84\xab\0) | ||||
| @ -0,0 +1,2 @@ | ||||
| [UserFeedback] | ||||
| ApplicationStartCount=254 | ||||
							
								
								
									
										21
									
								
								config/.config/kde.org/elisa.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								config/.config/kde.org/elisa.conf
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										5
									
								
								config/.config/kde.org/marble.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								config/.config/kde.org/marble.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| [Favorites] | ||||
| Atlas=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xc2\x3\xd4\x8b\xdf\0) | ||||
| OpenStreetMap=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xc2\x3\xd4\x8b\xdf\0) | ||||
| Satellite%20View=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xc2\x3\xd4\x8b\xdf\0) | ||||
| initialized=true | ||||
							
								
								
									
										7
									
								
								config/.config/kde.org/plasmashell.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/.config/kde.org/plasmashell.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| [QQControlsFileDialog] | ||||
| favoriteFolders=@Invalid() | ||||
| height=0 | ||||
| sidebarSplit=125.55000000000001 | ||||
| sidebarVisible=true | ||||
| sidebarWidth=80 | ||||
| width=0 | ||||
							
								
								
									
										2
									
								
								config/.config/kde.org/spectacle.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/kde.org/spectacle.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| [KImageAnnotator] | ||||
| AnnotatorDockWidgetsState=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\0W\0\0\x1\x8a\xfc\x2\0\0\0\x1\xfb\0\0\0\x1c\0T\0o\0o\0l\0 \0S\0\x65\0l\0\x65\0\x63\0t\0i\0o\0n\x1\0\0\0%\0\0\x1\x8a\0\0\0\x64\x1\0\0\x3\0\0\0\x2\0\0\x2t\0\0\0$\xfc\x1\0\0\0\x1\xfb\0\0\0\x1a\0I\0t\0\x65\0m\0 \0S\0\x65\0t\0t\0i\0n\0g\0s\x1\0\0\0\0\0\0\x2t\0\0\0\xe5\x1\0\0\x3\0\0\0\x3\0\0\x2t\0\0\0$\xfc\x1\0\0\0\x2\xfb\0\0\0 \0G\0\x65\0n\0\x65\0r\0\x61\0l\0 \0S\0\x65\0t\0t\0i\0n\0g\0s\x1\0\0\0\0\0\0\x1x\0\0\0x\x1\0\0\x3\xfb\0\0\0\x1c\0I\0m\0\x61\0g\0\x65\0 \0S\0\x65\0t\0t\0i\0n\0g\0s\x1\0\0\x1y\0\0\0\xfb\0\0\0P\x1\0\0\x3\0\0\x2\x1c\0\0\x1\x8a\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0) | ||||
							
								
								
									
										7
									
								
								config/.config/kde.org/systemsettings.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/.config/kde.org/systemsettings.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| [QQControlsFileDialog] | ||||
| favoriteFolders=@Invalid() | ||||
| height=0 | ||||
| sidebarSplit=125.55000000000001 | ||||
| sidebarVisible=true | ||||
| sidebarWidth=80 | ||||
| width=0 | ||||
							
								
								
									
										2
									
								
								config/.config/kdedefaults/kcminputrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/kdedefaults/kcminputrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| [Mouse] | ||||
| cursorTheme=breeze_cursors | ||||
							
								
								
									
										8
									
								
								config/.config/kdedefaults/kdeglobals
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								config/.config/kdedefaults/kdeglobals
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| [General] | ||||
| ColorScheme=BreezeDark | ||||
| 
 | ||||
| [Icons] | ||||
| Theme=breeze-dark | ||||
| 
 | ||||
| [KDE] | ||||
| widgetStyle=Breeze | ||||
							
								
								
									
										2
									
								
								config/.config/kdedefaults/kscreenlockerrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/kdedefaults/kscreenlockerrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| [Greeter] | ||||
| Theme=org.kde.breeze.desktop | ||||
							
								
								
									
										3
									
								
								config/.config/kdedefaults/ksplashrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								config/.config/kdedefaults/ksplashrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| [KSplash] | ||||
| Engine=KSplashQML | ||||
| Theme=org.kde.breezedark.desktop | ||||
							
								
								
									
										7
									
								
								config/.config/kdedefaults/kwinrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/.config/kdedefaults/kwinrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| [Windows] | ||||
| Placement=Centered | ||||
| 
 | ||||
| [org.kde.kdecoration2] | ||||
| NoPlugin=false | ||||
| library=org.kde.breeze | ||||
| theme=Breeze | ||||
							
								
								
									
										1
									
								
								config/.config/kdedefaults/package
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								config/.config/kdedefaults/package
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| org.kde.breezedark.desktop | ||||
							
								
								
									
										2
									
								
								config/.config/kdedefaults/plasmarc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/kdedefaults/plasmarc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| [Theme] | ||||
| name=default | ||||
							
								
								
									
										22
									
								
								config/.config/mutt/accounts/spamreciver1@outlook.com.muttrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								config/.config/mutt/accounts/spamreciver1@outlook.com.muttrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| # vim: filetype=neomuttrc | ||||
| # muttrc file for account spamreciver1@outlook.com | ||||
| set realname = "spamreciver1" | ||||
| set from = "spamreciver1@outlook.com" | ||||
| set sendmail = "msmtp -a spamreciver1@outlook.com" | ||||
| alias me spamreciver1 <spamreciver1@outlook.com> | ||||
| set folder = "/home/mikec/.local/share/mail/spamreciver1@outlook.com" | ||||
| set header_cache = /home/mikec/.cache/mutt-wizard/spamreciver1@outlook.com/headers | ||||
| set message_cachedir = /home/mikec/.cache/mutt-wizard/spamreciver1@outlook.com/bodies | ||||
| set mbox_type = Maildir | ||||
| set hostname = "outlook.com" | ||||
| source /usr/share/mutt-wizard/switch.muttrc | ||||
| set spoolfile = +INBOX | ||||
| set postponed = +Drafts | ||||
| set trash = +Trash | ||||
| set record = +Sent | ||||
| 
 | ||||
| macro index o "<shell-escape>mw -y spamreciver1@outlook.com<enter>" "run mbsync to sync spamreciver1@outlook.com" | ||||
| macro index \eg "<enter-command>unset wait_key<enter><shell-escape>gpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; /usr/libexec/gpg-wks-client --create \$eFGPT \$eID | msmtp --read-envelope-from --read-recipients -a spamreciver1@outlook.com<enter>"  "publish GPG key to WKS provider" | ||||
| macro index \eh "<pipe-message>/usr/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a spamreciver1@outlook.com<enter>" "confirm GPG publication" | ||||
| 
 | ||||
| mailboxes "=INBOX" "=Drafts" "=Junk" "=Trash" "=Sent" "=Archive" | ||||
| @ -5,3 +5,4 @@ macro index,pager i1 '<sync-mailbox><enter-command>source /home/mikec/.config/mu | ||||
| macro index,pager i2 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/chalupmc@rose-hulman.edu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to chalupmc@rose-hulman.edu" | ||||
| macro index,pager i3 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/mikec@mchalupiak.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to mikec@mchalupiak.com" | ||||
| set use_threads=reverse sort=last-date | ||||
| macro index,pager i4 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/spamreciver1@outlook.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to spamreciver1@outlook.com" | ||||
|  | ||||
| @ -1,7 +1,11 @@ | ||||
| https://phaazon.net/blog/feed | ||||
| https://danielde.dev/rss.xml | ||||
| https://sizeof.cat/index.xml | ||||
| https://pkolaczk.github.io/feed.xml | ||||
| https://karl-voit.at/feeds/lazyblorg-all.atom_1.0.links-and-content.xml | ||||
| https://lukesmith.xyz/index.xml | ||||
| https://joeyh.name/blog/index.rss | ||||
| https://kagifeedback.org/atom/t/release-notes | ||||
| https://api.substack.com/feed/podcast/462466.rss | ||||
| https://www.dailywire.com/feeds/rss.xml | ||||
| https://feeds.simplecast.com/6c2VScgo | ||||
|  | ||||
| @ -1,29 +0,0 @@ | ||||
| function colors(color, theme) | ||||
|     color = os.getenv("BASE16_THEME") | ||||
|     alt_color = 'everforest' or color | ||||
|     -- Available values:   `'hard'`, `'medium'`, `'soft'` | ||||
|     vim.g.gruvbox_material_background = 'medium' | ||||
|     -- Available values:   `'material'`, `'mix'`, `'original'` | ||||
|     vim.g.gruvbox_material_foreground = 'mix' | ||||
|     -- Available values:   `'hard'`, `'medium'`, `'soft'` | ||||
|     vim.g.everforest_background = 'hard' | ||||
|     vim.g.gruvbox_material_better_performance = 1 | ||||
|     vim.g.everforest_better_performance = 1 | ||||
|     if color == 'gruvbox-dark-hard' then | ||||
|         color = 'gruvbox-material' | ||||
|         vim.g.gruvbox_material_background = 'hard' | ||||
|     elseif color == 'gruvbox-dark-soft' then | ||||
|         color = 'gruvbox-material' | ||||
|         vim.g.gruvbox_material_background = 'soft' | ||||
|     elseif color == 'everforest-dark-hard' then | ||||
|         vim.g.everforest_background = 'hard' | ||||
|         color = 'everforest' | ||||
|     end | ||||
|     if theme then | ||||
|         vim.cmd.colorscheme(alt_color) | ||||
|     elseif not pcall(vim.cmd.colorscheme, color) or color == nil then | ||||
|         vim.cmd.colorscheme(alt_color) | ||||
|     end | ||||
| end | ||||
| 
 | ||||
| colors() | ||||
| @ -1,108 +0,0 @@ | ||||
| local lsp = require('lsp-zero') | ||||
| local lsp_config = require("lspconfig") | ||||
| 
 | ||||
| lsp.preset('recommended') | ||||
| 
 | ||||
| lsp.ensure_installed({ | ||||
| 	'lua_ls', | ||||
| }) | ||||
| 
 | ||||
| --Enable (broadcasting) snippet capability for completion | ||||
| local capabilities = vim.lsp.protocol.make_client_capabilities() | ||||
| capabilities.textDocument.completion.completionItem.snippetSupport = true | ||||
| 
 | ||||
| lsp_config.html.setup { | ||||
|     capabilities = capabilities, | ||||
|     filetypes = { "html", "etlua" }, | ||||
| } | ||||
| 
 | ||||
| lsp_config.nim_langserver.setup{ | ||||
|     settings = { | ||||
|         nim = { | ||||
|             projectMapping = { | ||||
|                 projectFile = "main.nim", | ||||
|                 fileRegex = ".*\\.nim" | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| lsp_config.hls.setup{} | ||||
| 
 | ||||
| lsp_config.clojure_lsp.setup{} | ||||
| 
 | ||||
| local cmp = require("cmp") | ||||
| local cmp_select = {behavior = cmp.SelectBehavior.Select} | ||||
| local cmp_mappings = lsp.defaults.cmp_mappings({ | ||||
| 	['<C-p>'] = cmp.mapping.select_prev_item(cmp_select), | ||||
| 	['<C-n>'] = cmp.mapping.select_next_item(cmp_select), | ||||
| 	['<C-y>'] = cmp.mapping.confirm({select = true}), | ||||
| 	['<C-Space>'] = cmp.mapping.complete(), | ||||
| }) | ||||
| 
 | ||||
| cmp.setup { | ||||
|     sources = { | ||||
|         { name = 'conjure' }, | ||||
|         { name = 'nvim_lsp_signature_help' }, | ||||
|         { name = 'nvim_lsp' }, | ||||
|         { name = 'luasnip' }, | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| lsp.set_preferences({ | ||||
| 	sign_icons = { } | ||||
| }) | ||||
| 
 | ||||
| lsp.setup_nvim_cmp({ | ||||
| 	mapping = cmp_mappings | ||||
| }) | ||||
| 
 | ||||
| vim.api.nvim_create_autocmd('User', { | ||||
|     pattern = 'LspAttached', | ||||
|     once = true, | ||||
|     callback = vim.lsp.codelens.refresh, | ||||
| }) | ||||
| 
 | ||||
| lsp.on_attach(function(client, bufnr) | ||||
| 	local opts = {buffer = bufnr, remap = false} | ||||
| 
 | ||||
| 	if client.name == "eslint" then | ||||
| 		vim.cmd.LspStop('eslint') | ||||
| 		return | ||||
| 	end | ||||
|     if client.name == "html" or client.name == "cssls" then | ||||
|         capabilities = capabilities | ||||
|     end | ||||
| 
 | ||||
|     vim.api.nvim_create_autocmd({ 'TextChanged', 'InsertLeave' }, { | ||||
|         buffer = bufnr, | ||||
|         callback = vim.lsp.codelens.refresh, | ||||
|     }) | ||||
|     -- trigger codelens refresh | ||||
|     vim.api.nvim_exec_autocmds('User', { pattern = 'LspAttached' }) | ||||
| 
 | ||||
| 
 | ||||
| 	vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts) | ||||
| 	vim.keymap.set("n", "K", vim.lsp.buf.hover, opts) | ||||
| 	vim.keymap.set("n", "<leader>vws", vim.lsp.buf.workspace_symbol, opts) | ||||
| 	vim.keymap.set("n", "<leader>vd", vim.diagnostic.open_float, opts) | ||||
| 	vim.keymap.set("n", "[d", vim.diagnostic.goto_next, opts) | ||||
| 	vim.keymap.set("n", "]d", vim.diagnostic.goto_prev, opts) | ||||
| 	vim.keymap.set("n", "<leader>vca", vim.lsp.buf.code_action, opts) | ||||
| 	vim.keymap.set("n", "<leader>vrr", vim.lsp.buf.references, opts) | ||||
| 	vim.keymap.set("n", "<leader>vrn", vim.lsp.buf.rename, opts) | ||||
| 	vim.keymap.set("i", "<C-h>", vim.lsp.buf.signature_help, opts) | ||||
| end) | ||||
| 
 | ||||
| lsp_config.lua_ls.setup { | ||||
|     -- ... other configs | ||||
|     settings = { | ||||
|         Lua = { | ||||
|             diagnostics = { | ||||
|                 globals = { 'vim' } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| lsp_config.racket_langserver.setup{} | ||||
| lsp.setup() | ||||
| @ -1,15 +0,0 @@ | ||||
| local builtin = require('telescope.builtin') | ||||
| local telescope = require('telescope') | ||||
| telescope.load_extension("workspaces") | ||||
| telescope.load_extension("recent_files") | ||||
| telescope.load_extension("telescope-tabs") | ||||
| vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) | ||||
| vim.keymap.set('n', '<leader>fF', builtin.git_files, {}) | ||||
| vim.keymap.set('n', '<leader>fg', builtin.live_grep, {}) | ||||
| vim.keymap.set('n', '<leader>bb', builtin.buffers, {}) | ||||
| vim.keymap.set('n', '<leader>hh', builtin.help_tags, {}) | ||||
| vim.keymap.set('n', '<leader>cc', builtin.colorscheme, {}) | ||||
| vim.keymap.set('n', '<leader>wo', ":Telescope workspaces<CR>", {}) | ||||
| vim.api.nvim_set_keymap("n", "<leader>fr", | ||||
|   [[<cmd>lua require('telescope').extensions.recent_files.pick()<CR>]], | ||||
|   {noremap = true, silent = true}) | ||||
| @ -1,22 +0,0 @@ | ||||
| require'nvim-treesitter.configs'.setup { | ||||
|   -- A list of parser names, or "all" | ||||
|   ensure_installed = { "help", "java", "c", "lua" }, | ||||
| 
 | ||||
|   -- Install parsers synchronously (only applied to `ensure_installed`) | ||||
|   sync_install = false, | ||||
| 
 | ||||
|   -- Automatically install missing parsers when entering buffer | ||||
|   -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally | ||||
|   auto_install = true, | ||||
| 
 | ||||
|   highlight = { | ||||
|     -- `false` will disable the whole extension | ||||
|     enable = true, | ||||
| 
 | ||||
|     -- Setting this to true will run `:h syntax` and tree-sitter at the same time. | ||||
|     -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). | ||||
|     -- Using this option may slow down your editor, and you may see some duplicate highlights. | ||||
|     -- Instead of true it can also be a list of languages | ||||
|     additional_vim_regex_highlighting = false, | ||||
|   }, | ||||
| } | ||||
| @ -1,2 +0,0 @@ | ||||
| vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle) | ||||
| 
 | ||||
| @ -1 +0,0 @@ | ||||
| [{"url": "sqlserver://chalupmc:MikeC00l@golem.csse.rose-hulman.edu/SodaBasechalupmc", "name": "SodaBasechalupmc"}, {"url": "sqlserver://chalupmc:MikeC00l@golem.csse.rose-hulman.edu/NWindchalupmc", "name": "NWindchalupmc"}] | ||||
| @ -1,97 +0,0 @@ | ||||
| -- See `:help vim.lsp.start_client` for an overview of the supported `config` options. | ||||
| 
 | ||||
| --local project_name = vim.fn.fnamemodify(vim.fn.getcwd(), ':p:h:t') | ||||
| --local workspace_dir = '/path/to/workspace-root/' .. project_name | ||||
| local workspace_dir = vim.fn.getcwd() | ||||
| local config = { | ||||
|   -- The command that starts the language server | ||||
|   -- See: https://github.com/eclipse/eclipse.jdt.ls#running-from-the-command-line | ||||
|   cmd = { | ||||
| 
 | ||||
|     -- 💀 | ||||
|     'jdtls', -- or '/path/to/java17_or_newer/bin/java' | ||||
|             -- depends on if `java` is in your $PATH env variable and if it points to the right version. | ||||
| 
 | ||||
|     -- '-Declipse.application=org.eclipse.jdt.ls.core.id1', | ||||
|     -- '-Dosgi.bundles.defaultStartLevel=4', | ||||
|     -- '-Declipse.product=org.eclipse.jdt.ls.core.product', | ||||
|     -- '-Dlog.protocol=true', | ||||
|     -- '-Dlog.level=ALL', | ||||
|     -- '-Xms1g', | ||||
|     -- '--add-modules=ALL-SYSTEM', | ||||
|     -- '--add-opens', 'java.base/java.util=ALL-UNNAMED', | ||||
|     -- '--add-opens', 'java.base/java.lang=ALL-UNNAMED', | ||||
|     -- | ||||
|     -- -- 💀 | ||||
|     -- '-jar', '/usr/share/java/jdtls/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar', | ||||
|     --      -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                       ^^^^^^^^^^^^^^ | ||||
|     --      -- Must point to the                                                     Change this to | ||||
|     --      -- eclipse.jdt.ls installation                                           the actual version | ||||
|     -- | ||||
|     -- | ||||
|     -- -- 💀 | ||||
|     -- '-configuration', '/usr/share/java/jdtls/config_linux', | ||||
|     --                 -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ^^^^^^ | ||||
|     --                 -- Must point to the                      Change to one of `linux`, `win` or `mac` | ||||
|     --                 -- eclipse.jdt.ls installation            Depending on your system. | ||||
|     -- | ||||
|     -- | ||||
|     -- -- 💀 | ||||
|     -- -- See `data directory configuration` section in the README | ||||
|     -- '-data', "/home/mikec/Documents/workspace" | ||||
|   }, | ||||
| 
 | ||||
|   -- 💀 | ||||
|   -- This is the default if not provided, you can remove it. Or adjust as needed. | ||||
|   -- One dedicated LSP server & client will be started per unique root_dir | ||||
|   root_dir = require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'}), | ||||
| 
 | ||||
|   -- Here you can configure eclipse.jdt.ls specific settings | ||||
|   -- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request | ||||
|   -- for a list of options | ||||
|   settings = { | ||||
|     java = { | ||||
|     } | ||||
|   }, | ||||
| 
 | ||||
|   -- Language server `initializationOptions` | ||||
|   -- You need to extend the `bundles` with paths to jar files | ||||
|   -- if you want to use additional eclipse.jdt.ls plugins. | ||||
|   -- | ||||
|   -- See https://github.com/mfussenegger/nvim-jdtls#java-debug-installation | ||||
|   -- | ||||
|   -- If you don't plan on using the debugger or other eclipse.jdt.ls plugins you can remove this | ||||
|   --init_options = { | ||||
|   --  bundles = { | ||||
|   --      vim.fn.glob("/home/mikec/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-*.jar", 1) | ||||
|   --  } | ||||
|   --}, | ||||
| } | ||||
| 
 | ||||
| -- This bundles definition is the same as in the previous section (java-debug installation) | ||||
| local bundles = { | ||||
|     vim.fn.glob("/home/mikec/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-*.jar", 1) | ||||
| }; | ||||
| 
 | ||||
| -- This is the new part | ||||
| vim.list_extend(bundles, vim.split(vim.fn.glob("/path/to/microsoft/vscode-java-test/server/*.jar", 1), "\n")) | ||||
| config['init_options'] = { | ||||
|   bundles = bundles; | ||||
| } | ||||
| 
 | ||||
| -- This starts a new client & server, | ||||
| -- or attaches to an existing client & server depending on the `root_dir`. | ||||
| 
 | ||||
| vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts) | ||||
| vim.keymap.set("n", "K", vim.lsp.buf.hover, opts) | ||||
| vim.keymap.set("n", "<leader>vws", vim.lsp.buf.workspace_symbol, opts) | ||||
| vim.keymap.set("n", "<leader>vd", vim.diagnostic.open_float, opts) | ||||
| vim.keymap.set("n", "[d", vim.diagnostic.goto_next, opts) | ||||
| vim.keymap.set("n", "]d", vim.diagnostic.goto_prev, opts) | ||||
| vim.keymap.set("n", "<leader>vca", vim.lsp.buf.code_action, opts) | ||||
| vim.keymap.set("n", "<leader>vrr", vim.lsp.buf.references, opts) | ||||
| vim.keymap.set("n", "<leader>vrn", vim.lsp.buf.rename, opts) | ||||
| vim.keymap.set("i", "<C-h>", vim.lsp.buf.signature_help, opts) | ||||
| vim.keymap.set("n", "<leader>i", function() require('jdtls').organize_imports() end, opts) | ||||
| 
 | ||||
| require('jdtls').start_or_attach(config) | ||||
							
								
								
									
										2
									
								
								config/.config/nvim/init.lua
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										2
									
								
								config/.config/nvim/init.lua
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							| @ -1 +1 @@ | ||||
| config = require("config") | ||||
| require 'config' | ||||
|  | ||||
							
								
								
									
										67
									
								
								config/.config/nvim/lazy-lock.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								config/.config/nvim/lazy-lock.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,67 @@ | ||||
| { | ||||
|   "blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" }, | ||||
|   "catppuccin": { "branch": "main", "commit": "30fa4d122d9b22ad8b2e0ab1b533c8c26c4dde86" }, | ||||
|   "cellular-automaton.nvim": { "branch": "main", "commit": "1606e9d5d04ff254023c3f3c62842d065708d6d3" }, | ||||
|   "compiler-explorer.nvim": { "branch": "master", "commit": "ee8e7a2808bdad67cd2acb61b5c9ffa7735c7ec9" }, | ||||
|   "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, | ||||
|   "dim.lua": { "branch": "main", "commit": "e7d7428d2d0bde97c6441ca9f04a1e9ac7c6d6bb" }, | ||||
|   "dracula.nvim": { "branch": "main", "commit": "df528c869b09fbdc7578e6ccc7ff6faf44a2046d" }, | ||||
|   "dropbar.nvim": { "branch": "master", "commit": "596f95e98a21e8fccf3db91fec481129eb82ff61" }, | ||||
|   "everblush": { "branch": "main", "commit": "678f808d81801b983b6fb8296fb17ba1b2785d7c" }, | ||||
|   "everforest": { "branch": "master", "commit": "28d59e29d972e21f2e802ce916f28dcab30697ae" }, | ||||
|   "fennel.vim": { "branch": "main", "commit": "c6a9c035ca108cbb24273d96cd6277fb8fbc60b4" }, | ||||
|   "github-colors": { "branch": "main", "commit": "7292749e49e6f870e63879a528bb05c8c8d1a59a" }, | ||||
|   "github-nvim-theme": { "branch": "main", "commit": "c106c9472154d6b2c74b74565616b877ae8ed31d" }, | ||||
|   "gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" }, | ||||
|   "gruvbox-material": { "branch": "master", "commit": "6a100833060d26cd3ab85c34c5f7154a1000c12f" }, | ||||
|   "gruvbox.nvim": { "branch": "main", "commit": "12c2624287dc827edb5d72b2bc4c9619e692a554" }, | ||||
|   "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, | ||||
|   "leap.nvim": { "branch": "main", "commit": "e9cb442c0614a7e8185608f639e10c54e53bb083" }, | ||||
|   "love2d.nvim": { "branch": "main", "commit": "25715394680590f56aab90390d430cab0dc46808" }, | ||||
|   "lua-utils.nvim": { "branch": "main", "commit": "e565749421f4bbb5d2e85e37c3cef9d56553d8bd" }, | ||||
|   "lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" }, | ||||
|   "mason-lspconfig.nvim": { "branch": "main", "commit": "5e085efe67fccb13372d54331d849219662a7e93" }, | ||||
|   "mason.nvim": { "branch": "main", "commit": "7dc4facca9702f95353d5a1f87daf23d78e31c2a" }, | ||||
|   "melange-nvim": { "branch": "master", "commit": "ce42f6b629beeaa00591ba73a77d3eeac4cf28ce" }, | ||||
|   "mellow.nvim": { "branch": "main", "commit": "0cb5476b506f8e71428e823919b69ecf34afe646" }, | ||||
|   "mini.nvim": { "branch": "main", "commit": "ddb70da6ec6aa896cfde87350d1e8dffb57ddef0" }, | ||||
|   "monochrome.nvim": { "branch": "main", "commit": "2de78d9688ea4a177bcd9be554ab9192337d35ff" }, | ||||
|   "monokai.nvim": { "branch": "master", "commit": "b8bd44d5796503173627d7a1fc51f77ec3a08a63" }, | ||||
|   "moonlight.nvim": { "branch": "pure-lua", "commit": "e24e4218ec680b6396532808abf57ca0ada82e66" }, | ||||
|   "moonscript-vim": { "branch": "master", "commit": "715c96c7c3b02adc507f84bf5754985460afc426" }, | ||||
|   "nabla.nvim": { "branch": "master", "commit": "9b69b709063ccf40ac36fabb4fff7d90b3736475" }, | ||||
|   "nelua.vim": { "branch": "main", "commit": "330f34d017df92dd1a1a7283e302982256e169db" }, | ||||
|   "neogit": { "branch": "master", "commit": "4046f747739cf7e7b9aada447f3edc59c947b111" }, | ||||
|   "neorg": { "branch": "main", "commit": "e206c9642f4a115cd836e76c98ef785623d335bc" }, | ||||
|   "nord.nvim": { "branch": "master", "commit": "80c1e5321505aeb22b7a9f23eb82f1e193c12470" }, | ||||
|   "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, | ||||
|   "nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" }, | ||||
|   "nvim-highlight-colors": { "branch": "main", "commit": "1ce0a09bfc28c7274e649d20927cea51e440b65c" }, | ||||
|   "nvim-lspconfig": { "branch": "master", "commit": "408cf07b97535825cca6f1afa908d98348712ba6" }, | ||||
|   "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, | ||||
|   "nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" }, | ||||
|   "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, | ||||
|   "nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" }, | ||||
|   "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, | ||||
|   "nvim-unception": { "branch": "main", "commit": "df0e505f0f1371c49c2bcf993985962edb5a279d" }, | ||||
|   "nvim-web-devicons": { "branch": "master", "commit": "f66cdfef5e84112045b9ebc3119fee9bddb3c687" }, | ||||
|   "oceanic-next": { "branch": "master", "commit": "09833f72d5ba23de2e8bcae18f479f326f5f677a" }, | ||||
|   "oil.nvim": { "branch": "master", "commit": "07f80ad645895af849a597d1cac897059d89b686" }, | ||||
|   "one-nvim": { "branch": "main", "commit": "faf6fb3f98fccbe009c3466f657a8fff84a5f956" }, | ||||
|   "onedark.nvim": { "branch": "master", "commit": "de495fabe171d48aed5525f002d14414efcecbb2" }, | ||||
|   "pathlib.nvim": { "branch": "main", "commit": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1" }, | ||||
|   "plantuml-syntax": { "branch": "master", "commit": "9d4900aa16674bf5bb8296a72b975317d573b547" }, | ||||
|   "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, | ||||
|   "range-highlight.nvim": { "branch": "master", "commit": "f54aec737f138e52c187a8bea77b41347fd86f12" }, | ||||
|   "rose-pine": { "branch": "main", "commit": "72a04c4065345b51b56aed4859ea1d884f734097" }, | ||||
|   "sherbet.nvim": { "branch": "master", "commit": "5c4166eff70ec551ae0023edfb89141b25cc18c6" }, | ||||
|   "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" }, | ||||
|   "telescope-tabs": { "branch": "vim_ui_select", "commit": "f01bc722582fdcaa58ea37492b382ff109893d95" }, | ||||
|   "tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" }, | ||||
|   "v-vim": { "branch": "master", "commit": "1dc1388bafb89072f8349dbd96f9462ae22237cb" }, | ||||
|   "vim-colors-xcode": { "branch": "master", "commit": "6d449229bf29176448bd06377689d7a8db0d1bee" }, | ||||
|   "vim-etlua": { "branch": "master", "commit": "bb2974d0134ce6da60c3be0d82d809976b859c1c" }, | ||||
|   "vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" }, | ||||
|   "vim-teal": { "branch": "master", "commit": "c87b8931afa68376b88ff721336f31512b9384f1" }, | ||||
|   "vscode.nvim": { "branch": "main", "commit": "cb9df0873c10a21d05362455ae3bb355eadcef6b" } | ||||
| } | ||||
| @ -1,29 +0,0 @@ | ||||
| local M = {} | ||||
| 
 | ||||
| local function db_completion() | ||||
|   require("cmp").setup.buffer { sources = { { name = "vim-dadbod-completion" } } } | ||||
| end | ||||
| 
 | ||||
| function M.setup() | ||||
|   vim.g.db_ui_save_location = vim.fn.stdpath "config" .. require("plenary.path").path.sep .. "db_ui" | ||||
| 
 | ||||
|   vim.api.nvim_create_autocmd("FileType", { | ||||
|     pattern = { | ||||
|       "sql", | ||||
|     }, | ||||
|     command = [[setlocal omnifunc=vim_dadbod_completion#omni]], | ||||
|   }) | ||||
| 
 | ||||
|   vim.api.nvim_create_autocmd("FileType", { | ||||
|     pattern = { | ||||
|       "sql", | ||||
|       "mysql", | ||||
|       "plsql", | ||||
|     }, | ||||
|     callback = function() | ||||
|       vim.schedule(db_completion) | ||||
|     end, | ||||
|   }) | ||||
| end | ||||
| 
 | ||||
| return M | ||||
							
								
								
									
										7
									
								
								config/.config/nvim/lua/config/init.lua
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										7
									
								
								config/.config/nvim/lua/config/init.lua
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							| @ -1,3 +1,4 @@ | ||||
| require("config.remap") | ||||
| require("config.packer") | ||||
| require("config.set") | ||||
| require 'config.lazy' | ||||
| require 'config.set' | ||||
| require 'config.keymap' | ||||
| require 'config.lsp' | ||||
|  | ||||
							
								
								
									
										74
									
								
								config/.config/nvim/lua/config/keymap.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										74
									
								
								config/.config/nvim/lua/config/keymap.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,74 @@ | ||||
| local set = vim.keymap.set | ||||
| local setnx = function(key, command, desc) | ||||
|     set({'n', 'x'}, key, command, { desc = desc }) | ||||
| end | ||||
| 
 | ||||
| setnx('<leader>ff', Snacks.picker.files, 'Find files') | ||||
| setnx('<leader>f/', Snacks.picker.grep_word, 'Search current word') | ||||
| setnx('<leader>f?', Snacks.picker.grep, 'Search in files') | ||||
| setnx('<leader>fr', Snacks.picker.recent, 'Find recent files') | ||||
| setnx('<leader>b', Snacks.picker.buffers, 'List buffers') | ||||
| setnx('<leader>h', Snacks.picker.help, 'Search help') | ||||
| setnx('<leader>m', Snacks.picker.marks, 'Search marks') | ||||
| setnx('<leader>q', Snacks.picker.qflist, 'Search quickfix list') | ||||
| setnx('<leader>l', Snacks.picker.loclist, 'Search location list') | ||||
| setnx('<leader>j', Snacks.picker.jumps, 'Search jumplist') | ||||
| setnx('<leader>r', Snacks.picker.registers, 'Search registers') | ||||
| setnx('<leader>s', Snacks.picker.spelling, 'List spelling suggestions') | ||||
| setnx('<leader>M', Snacks.picker.man, 'Search man pages') | ||||
| setnx('<leader>t', require'telescope-tabs'.list_tabs, 'List tabs') | ||||
| setnx('<leader>c', Snacks.picker.colorschemes, 'Select colorscheme') | ||||
| setnx('<leader>N', Snacks.picker.notifications, 'List notifications') | ||||
| 
 | ||||
| local neogit = require('neogit') | ||||
| setnx('<leader>op', '<CMD>Oil<CR>', 'Open file manager') | ||||
| setnx('<leader>oP', '<CMD>Oil --float<CR>', 'Open file manager in floating window') | ||||
| setnx('<leader>ot', '<CMD>term<CR>', 'Open terminal') | ||||
| setnx('<leader>oT', '<CMD>tabnew<CR>', 'Open new tab') | ||||
| setnx('<leader>of', '<CMD>enew<CR>', 'Open new file') | ||||
| -- setnx('<leader>ow', '<CMD>Telescope workspaces', 'Open workspace') | ||||
| setnx('<leader>ol', '<CMD>Lazy<CR>', 'Open Lazy') | ||||
| setnx('<leader>om', '<CMD>Mason<CR>', 'Open Mason') | ||||
| setnx('<leader>oc', '<CMD>cd ' .. vim.fn.stdpath('config') .. '<CR><CMD>Oil .<CR>', 'Open neovim configuration') | ||||
| setnx('<leader>og', neogit.open, 'Open (neo)git') | ||||
| 
 | ||||
| -- Exit terminal mode with ESC | ||||
| set('t', '<Esc>', '<C-\\><C-n>') | ||||
| 
 | ||||
| -- Swap ' and ` | ||||
| setnx('\'', '`', 'Goto mark with column') | ||||
| setnx('`', '\'', 'Goto mark without column') | ||||
| 
 | ||||
| setnx('<leader>x', '<CMD>bd!<CR>', 'Close Current Buffer') | ||||
| 
 | ||||
| setnx('grR', Snacks.picker.lsp_references, 'Search lsp references') | ||||
| -- setnx('grI', tele.lsp_incoming_calls, 'Find incoming function calls') | ||||
| -- setnx('grO', tele.lsp_outgoing_calls, 'Find outgoing function calls') | ||||
| setnx('grd', Snacks.picker.diagnostics, 'Show LSP diagnostics') | ||||
| setnx('grD', (function() | ||||
|     local diag = true | ||||
|     return function() | ||||
|         diag = not diag | ||||
|         vim.diagnostic.config({ update_in_insert = true, float = true, virtual_lines = diag}) | ||||
|     end | ||||
| end)(), 'Toggle LSP diagnostics') | ||||
| setnx('grs', Snacks.picker.lsp_workspace_symbols, 'Show workspace symbols') | ||||
| setnx('grS', Snacks.picker.lsp_symbols, 'Show document symbols') | ||||
| setnx('gri', Snacks.picker.lsp_implementations, 'Goto implementation') | ||||
| setnx('gd', Snacks.picker.lsp_definitions, 'Goto definition') | ||||
| setnx('gD', Snacks.picker.lsp_type_definitions, 'Goto type definition') | ||||
| 
 | ||||
| setnx('<leader>gc', Snacks.picker.git_log, 'List git commits') | ||||
| setnx('<leader>gb', Snacks.picker.git_branches, 'List git branches') | ||||
| setnx('<leader>gs', Snacks.picker.git_status, 'Show git status') | ||||
| setnx('<leader>gS', Snacks.picker.git_stash, 'Show git stash') | ||||
| setnx('<leader>gB', Snacks.picker.git_log_file, 'List buffers git commits') | ||||
| setnx('<leader>gr', Snacks.picker.git_log_line, 'List buffers git commits over visual range') | ||||
| 
 | ||||
| setnx('<leader>n', require('nabla').popup, 'Show popup for nabla preview') | ||||
| setnx('<leader>p', '"+p', 'Paste from system clipboard') | ||||
| setnx('<leader>y', '"+y', 'Yank to system clipboard') | ||||
| 
 | ||||
| setnx('gs', '<Plug>(leap)', 'Activate leap') | ||||
| setnx('g<C-s>', '<Plug>(leap-anywhere)', 'Activate leap anywhere') | ||||
| setnx('gS', require('leap.remote').action, 'Activate remote leap') | ||||
							
								
								
									
										35
									
								
								config/.config/nvim/lua/config/lazy.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								config/.config/nvim/lua/config/lazy.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,35 @@ | ||||
| -- Bootstrap lazy.nvim | ||||
| local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||||
| if not (vim.uv or vim.loop).fs_stat(lazypath) then | ||||
|   local lazyrepo = "https://github.com/folke/lazy.nvim.git" | ||||
|   local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) | ||||
|   if vim.v.shell_error ~= 0 then | ||||
|     vim.api.nvim_echo({ | ||||
|       { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, | ||||
|       { out, "WarningMsg" }, | ||||
|       { "\nPress any key to exit..." }, | ||||
|     }, true, {}) | ||||
|     vim.fn.getchar() | ||||
|     os.exit(1) | ||||
|   end | ||||
| end | ||||
| vim.opt.rtp:prepend(lazypath) | ||||
| 
 | ||||
| -- Make sure to setup `mapleader` and `maplocalleader` before | ||||
| -- loading lazy.nvim so that mappings are correct. | ||||
| -- This is also a good place to setup other settings (vim.opt) | ||||
| vim.g.mapleader = " " | ||||
| vim.g.maplocalleader = "\\" | ||||
| 
 | ||||
| -- Setup lazy.nvim | ||||
| require("lazy").setup({ | ||||
|   spec = { | ||||
|     -- import your plugins | ||||
|     { import = "plugins" }, | ||||
|   }, | ||||
|   -- Configure any other settings here. See the documentation for more details. | ||||
|   -- colorscheme that will be used when installing plugins. | ||||
|   install = { colorscheme = { "nord" } }, | ||||
|   -- automatically check for plugin updates | ||||
|   checker = { enabled = false, notify = false }, | ||||
| }) | ||||
							
								
								
									
										48
									
								
								config/.config/nvim/lua/config/lsp.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								config/.config/nvim/lua/config/lsp.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,48 @@ | ||||
| vim.api.nvim_create_autocmd('LspAttach', { | ||||
|     group = vim.api.nvim_create_augroup('UserLspConfig', {}), | ||||
|     callback = function(args) | ||||
|         local client = vim.lsp.get_client_by_id(args.data.client_id) | ||||
|         if client:supports_method('textDocument/inlayHint') or client.server_capabilities.inlayHintProvider then | ||||
|             vim.lsp.inlay_hint.enable(true, { bufnr = args.buf }) | ||||
|         end | ||||
|     end | ||||
| }) | ||||
| 
 | ||||
| -- vim.lsp.config('rust-analyzer', { | ||||
| --     settings = { | ||||
| --         ["rust-analyzer"] = { | ||||
| --             inlayHints = { | ||||
| --                 bindingModeHints = { | ||||
| --                     enable = false, | ||||
| --                 }, | ||||
| --                 chainingHints = { | ||||
| --                     enable = true, | ||||
| --                 }, | ||||
| --                 closingBraceHints = { | ||||
| --                     enable = true, | ||||
| --                     minLines = 25, | ||||
| --                 }, | ||||
| --                 closureReturnTypeHints = { | ||||
| --                     enable = "never", | ||||
| --                 }, | ||||
| --                 lifetimeElisionHints = { | ||||
| --                     enable = "never", | ||||
| --                     useParameterNames = false, | ||||
| --                 }, | ||||
| --                 maxLength = 25, | ||||
| --                 parameterHints = { | ||||
| --                     enable = true, | ||||
| --                 }, | ||||
| --                 reborrowHints = { | ||||
| --                     enable = "never", | ||||
| --                 }, | ||||
| --                 renderColons = true, | ||||
| --                 typeHints = { | ||||
| --                     enable = true, | ||||
| --                     hideClosureInitialization = false, | ||||
| --                     hideNamedConstructor = false, | ||||
| --                 }, | ||||
| --             }, | ||||
| --         } | ||||
| --     } | ||||
| -- }) | ||||
| @ -1,342 +0,0 @@ | ||||
| -- This file can be loaded by calling `lua require('plugins')` from your init.vim | ||||
| 
 | ||||
| -- Only required if you have packer configured as `opt` | ||||
| vim.cmd [[packadd packer.nvim]] | ||||
| 
 | ||||
| return require('packer').startup(function(use) | ||||
| 	-- Packer can manage itself | ||||
| 	use 'wbthomason/packer.nvim' | ||||
| 
 | ||||
| 	use { | ||||
| 		'nvim-telescope/telescope.nvim', | ||||
|         branch = '0.1.x', | ||||
| 		requires = { { 'nvim-lua/plenary.nvim' } } | ||||
| 	} | ||||
| 
 | ||||
|     use { | ||||
|         'LukasPietzschmann/telescope-tabs', | ||||
|         requires = { 'nvim-telescope/telescope.nvim' }, | ||||
|         config = function() | ||||
|             require'telescope-tabs'.setup{ | ||||
|                 -- Your custom config :^) | ||||
|             } | ||||
|         end | ||||
|     } | ||||
| 
 | ||||
|     use "sindrets/diffview.nvim" | ||||
| 
 | ||||
| 	use({ | ||||
| 		'rose-pine/neovim', | ||||
| 		as = 'rose-pine', | ||||
| 		--		config = function() | ||||
| 		--			vim.cmd('colorscheme rose-pine') | ||||
| 		--		end | ||||
| 	}) | ||||
| 
 | ||||
|     use { | ||||
|         "mireq/large_file", | ||||
|         config = function() | ||||
|             require("large_file").setup() | ||||
|         end | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
| 	use 'tanvirtin/monokai.nvim' | ||||
| 
 | ||||
|     use 'arzg/vim-colors-xcode' | ||||
| 
 | ||||
| 	use 'shaunsingh/nord.nvim' | ||||
| 
 | ||||
| 	use 'kvrohit/mellow.nvim' | ||||
| 
 | ||||
| 	use 'Mofiqul/vscode.nvim' | ||||
| 
 | ||||
| 	use 'Th3Whit3Wolf/one-nvim' | ||||
| 
 | ||||
| 	use 'mhartington/oceanic-next' | ||||
| 
 | ||||
| 	use 'folke/tokyonight.nvim' | ||||
| 
 | ||||
| 	use 'sainnhe/gruvbox-material' | ||||
| 
 | ||||
|     use { "ellisonleao/gruvbox.nvim" } | ||||
| 
 | ||||
| 	use 'sainnhe/everforest' | ||||
| 
 | ||||
| 	use 'lourenci/github-colors' | ||||
| 
 | ||||
| 	use 'navarasu/onedark.nvim' | ||||
| 
 | ||||
| 	use 'shaunsingh/moonlight.nvim' | ||||
| 
 | ||||
| 	use 'Mofiqul/dracula.nvim' | ||||
| 
 | ||||
| 	use 'kdheepak/monochrome.nvim' | ||||
| 
 | ||||
|     use "savq/melange-nvim" | ||||
| 
 | ||||
|     use { "catppuccin/nvim", as = "catppuccin" } | ||||
| 
 | ||||
|     -- use 'RRethy/nvim-base16' | ||||
| 
 | ||||
|     use ({ 'projekt0n/github-nvim-theme' }) | ||||
| 
 | ||||
|     use  { 'Everblush/nvim', as = 'everblush' } | ||||
| 
 | ||||
|     use "lewpoly/sherbet.nvim" | ||||
| 
 | ||||
|     -- use 'xiyaowong/transparent.nvim' | ||||
| 
 | ||||
| 	use { | ||||
| 		'nvim-treesitter/nvim-treesitter', | ||||
| 		run = ':TSUpdate', | ||||
| 	} | ||||
| 
 | ||||
| 	use { | ||||
| 		'numToStr/Comment.nvim', | ||||
| 		config = function() | ||||
| 			require('Comment').setup() | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
| 	use 'nvim-treesitter/playground' | ||||
| 
 | ||||
| 	-- use 'mbbill/undotree' | ||||
| 
 | ||||
| 	use { | ||||
| 		'VonHeikemen/lsp-zero.nvim', | ||||
| 		requires = { | ||||
| 			-- LSP Support | ||||
| 			{ 'neovim/nvim-lspconfig' }, | ||||
| 			{ 'williamboman/mason.nvim' }, | ||||
| 			{ 'williamboman/mason-lspconfig.nvim' }, | ||||
| 
 | ||||
| 			-- Autocompletion | ||||
| 			{ 'hrsh7th/nvim-cmp' }, | ||||
| 			{ 'hrsh7th/cmp-buffer' }, | ||||
| 			{ 'hrsh7th/cmp-path' }, | ||||
| 			{ 'hrsh7th/cmp-nvim-lsp-signature-help' }, | ||||
| 			{ 'saadparwaiz1/cmp_luasnip' }, | ||||
| 			{ 'hrsh7th/cmp-nvim-lsp' }, | ||||
| 			{ 'hrsh7th/cmp-nvim-lua' }, | ||||
| 
 | ||||
| 			-- Snippets | ||||
| 			{ 'L3MON4D3/LuaSnip' }, | ||||
| 			{ 'rafamadriz/friendly-snippets' }, | ||||
| 		} | ||||
| 	} | ||||
| 
 | ||||
| 	use { | ||||
| 		'L3MON4D3/LuaSnip', | ||||
| 		--after = 'nvim-cmp', | ||||
| 		requires = { "rafamadriz/friendly-snippets" }, | ||||
| 		config = function() | ||||
| 			--require('config.snippets') | ||||
| 			require("luasnip.loaders.from_vscode").lazy_load() | ||||
| 		end, | ||||
| 		run = "make install_jsregexp" | ||||
| 	} | ||||
| 
 | ||||
| 	use 'rafamadriz/friendly-snippets' | ||||
| 
 | ||||
| 	use { | ||||
| 		"folke/twilight.nvim", | ||||
| 		config = function() | ||||
| 			require("twilight").setup { | ||||
| 				-- your configuration comes here | ||||
| 				-- or leave it empty to use the default settings | ||||
| 				-- refer to the configuration section below | ||||
| 			} | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
| 	use 'winston0410/cmd-parser.nvim' | ||||
| 	use { | ||||
| 		'winston0410/range-highlight.nvim', | ||||
| 		config = function() require("range-highlight").setup {} end | ||||
| 	} | ||||
| 
 | ||||
| 	use 'RRethy/vim-illuminate' | ||||
| 
 | ||||
| 	use 'mfussenegger/nvim-jdtls' | ||||
| 
 | ||||
| 	use { | ||||
| 		"samjwill/nvim-unception", | ||||
| 		setup = function() | ||||
| 			-- Optional settings go here! | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
| 	use { | ||||
| 		"0oAstro/dim.lua", | ||||
| 		requires = { "nvim-treesitter/nvim-treesitter", "neovim/nvim-lspconfig" }, | ||||
| 		config = function() | ||||
| 			require('dim').setup({}) | ||||
| 		end | ||||
| 	} | ||||
| 	use 'mfussenegger/nvim-dap' | ||||
| 
 | ||||
| 	use { "rcarriga/nvim-dap-ui", requires = { "mfussenegger/nvim-dap" } } | ||||
| 
 | ||||
| 	use { 'stevearc/dressing.nvim' } | ||||
| 
 | ||||
| 	use { | ||||
| 		'krady21/compiler-explorer.nvim', | ||||
| 		config = function() | ||||
| 			require("compiler-explorer").setup({ | ||||
| 				autocmd = { | ||||
| 					enable = true, | ||||
| 					hl = "Cursorline" | ||||
| 				} | ||||
| 			}) | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
| 	-- use 'ggandor/lightspeed.nvim' | ||||
| 
 | ||||
|     use { | ||||
| 		'ggandor/leap.nvim', | ||||
| 		config = function() | ||||
| 			require('leap').add_default_mappings() | ||||
| 		end | ||||
| 	} | ||||
| 	use 'ollykel/v-vim' | ||||
| 
 | ||||
| 	use { | ||||
| 		'windwp/nvim-ts-autotag', | ||||
| 		config = function() | ||||
| 			require('nvim-ts-autotag').setup() | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
| 	use 'jbyuki/nabla.nvim' | ||||
| 
 | ||||
| 	use { | ||||
| 		'ray-x/web-tools.nvim', | ||||
| 		config = function() | ||||
| 			require('web-tools').setup() | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
| 	use { | ||||
| 		'natecraddock/workspaces.nvim', | ||||
| 		config = function() | ||||
| 			require('workspaces').setup() | ||||
| 		end | ||||
| 	} | ||||
| 
 | ||||
|     use {"smartpde/telescope-recent-files"} | ||||
| 
 | ||||
|     use 'uga-rosa/ccc.nvim' | ||||
| 
 | ||||
|     use 'tveskag/nvim-blame-line' | ||||
| 
 | ||||
|     use { | ||||
|         'lewis6991/gitsigns.nvim', | ||||
|         config = function() | ||||
|             require('gitsigns').setup() | ||||
|         end | ||||
|     } | ||||
| 
 | ||||
| 	use 'Olical/conjure' | ||||
| 	use 'PaterJason/cmp-conjure' | ||||
| 
 | ||||
|     use { | ||||
|         'lukas-reineke/indent-blankline.nvim', | ||||
|         config = function() | ||||
|             require 'ibl'.setup{ scope = { enabled = false } } | ||||
|         end, | ||||
|     } | ||||
| 
 | ||||
|     use 'jaawerth/fennel.vim' | ||||
| 
 | ||||
|     use 'stefanos82/nelua.vim' | ||||
| 
 | ||||
|     use 'leafo/moonscript-vim' | ||||
| 
 | ||||
|     use 'teal-language/vim-teal' | ||||
| 
 | ||||
|     use 'https://github.com/VaiN474/vim-etlua' | ||||
| 
 | ||||
|     use 'folke/neodev.nvim' | ||||
| 
 | ||||
|     use { | ||||
|         "kylechui/nvim-surround", | ||||
|         tag = "*", -- Use for stability; omit to use `main` branch for the latest features | ||||
|         config = function() | ||||
|             require("nvim-surround").setup({ | ||||
|                 -- Configuration here, or leave empty to use defaults | ||||
|             }) | ||||
|         end | ||||
|     } | ||||
| 
 | ||||
|     use 'nvim-tree/nvim-web-devicons' | ||||
| 
 | ||||
|     use({ | ||||
|         "utilyre/barbecue.nvim", | ||||
|         tag = "*", | ||||
|         requires = { | ||||
|             "SmiteshP/nvim-navic", | ||||
|             "nvim-tree/nvim-web-devicons", -- optional dependency | ||||
|         }, | ||||
|         after = "nvim-web-devicons", -- keep this if you're using NvChad | ||||
|         config = function() | ||||
|             require("barbecue").setup() | ||||
|         end, | ||||
|     }) | ||||
| 
 | ||||
|     use { | ||||
|         'nvim-lualine/lualine.nvim', | ||||
|         requires = { 'nvim-tree/nvim-web-devicons', opt = true }, | ||||
|         config = function() | ||||
|             local function lspactive() | ||||
|                 local names = {} | ||||
|                 for i, server in pairs(vim.lsp.get_active_clients({ bufnr = 0 })) do | ||||
|                     table.insert(names, server.name) | ||||
|                 end | ||||
|                 return " [" .. table.concat(names, " ") .. "]" | ||||
|             end | ||||
|             require('lualine').setup { | ||||
|                 options = { | ||||
|                     globalstatus = true, | ||||
|                     icons_enabled = false, | ||||
|                     section_separators = { left = '', right = '' }, | ||||
|                     component_separators = { left = '', right = '' } | ||||
|                 }, | ||||
|                 sections = { | ||||
|                     lualine_a = { { 'mode', separator = { left = '', right = '' } }, }, | ||||
|                     lualine_b = {}, | ||||
|                     lualine_c = {'filename'}, | ||||
|                     lualine_x = {lspactive, { 'diagnostics', icons_enabled = true }, 'branch', 'diff'}, | ||||
|                     lualine_y = {'encoding', 'fileformat', 'filetype'}, | ||||
|                     lualine_z = {'location', { 'progress', separator = { left = '', right = '' } }, }, | ||||
|                 }, | ||||
|             } | ||||
|         end, | ||||
|     } | ||||
| 
 | ||||
|     use { | ||||
|         'goolord/alpha-nvim', | ||||
|         requires = { 'nvim-tree/nvim-web-devicons' }, | ||||
|         config = function () | ||||
|             require'alpha'.setup(require'alpha.themes.startify'.config) | ||||
|         end | ||||
|     } | ||||
| 
 | ||||
|     use 'aklt/plantuml-syntax' | ||||
| 
 | ||||
|     use { | ||||
|         "tpope/vim-dadbod", | ||||
|         opt = true, | ||||
|         requires = { | ||||
|             "kristijanhusak/vim-dadbod-ui", | ||||
|             "kristijanhusak/vim-dadbod-completion", | ||||
|         }, | ||||
|         config = function() | ||||
|             require("config.dadbod").setup() | ||||
|         end, | ||||
|         cmd = { "DBUIToggle", "DBUI", "DBUIAddConnection", "DBUIFindBuffer", "DBUIRenameBuffer", "DBUILastQueryInfo" }, | ||||
|     } | ||||
| 
 | ||||
|     use 'eandrju/cellular-automaton.nvim' | ||||
| end) | ||||
| @ -1,56 +0,0 @@ | ||||
| require('Comment').setup() | ||||
| vim.g.mapleader = " " | ||||
| vim.g.maplocalleader = "," | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>op", vim.cmd.Ex) | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>lp", ":lua require(\"nabla\").popup()<CR>") | ||||
| vim.keymap.set("n", "<leader>ll", ":lua require(\"nabla\").toggle_virt()<CR>") | ||||
| 
 | ||||
| -- vim.keymap.set("n", "<C-x>", vim.cmd.nohlsearch) | ||||
| vim.keymap.set("n", "<leader>x", vim.cmd.bdelete) | ||||
| vim.keymap.set("n", "<leader>bd", ":bdelete!<CR>") | ||||
| vim.keymap.set("n", "<leader>w", function() | ||||
|     vim.cmd.write(); | ||||
|     vim.cmd.bdelete(); | ||||
| end) | ||||
| 
 | ||||
| vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv") | ||||
| vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv") | ||||
| 
 | ||||
| vim.keymap.set("n", "J", "mzJ'z") | ||||
| vim.keymap.set("n", "<C-d>", "<C-d>zz") | ||||
| vim.keymap.set("n", "<C-u>", "<C-u>zz") | ||||
| vim.keymap.set("n", "n", "nzzzv") | ||||
| vim.keymap.set("n", "N", "Nzzzv") | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>y", "\"+y") | ||||
| vim.keymap.set("v", "<leader>y", "\"+y") | ||||
| vim.keymap.set("n", "<leader>Y", "\"+Y") | ||||
| vim.keymap.set("n", "<leader>p", "\"+p") | ||||
| vim.keymap.set("v", "<leader>p", "\"+p") | ||||
| vim.keymap.set("n", "<leader>P", "\"+P") | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>f", function() | ||||
|     vim.lsp.buf.format() | ||||
| end) | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>tw", function() | ||||
|     vim.cmd.Twilight() | ||||
| end) | ||||
| 
 | ||||
| 
 | ||||
| vim.keymap.set("t", "<Esc><Esc>", "<C-\\><C-n>") | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>ec", ":e ~/.config/nvim<CR>") | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>bn", ":bnext<CR>") | ||||
| vim.keymap.set("n", "<leader>bp", ":bprevious<CR>") | ||||
| 
 | ||||
| vim.keymap.set("n", "<leader>tn", ":tabnext<CR>") | ||||
| vim.keymap.set("n", "<leader>tp", ":tabprevious<CR>") | ||||
| vim.keymap.set("n", "<leader>to", ":tabnew<CR>") | ||||
| vim.keymap.set("n", "<leader>td", ":tabclose<CR>") | ||||
| vim.keymap.set("n", "<leader>tt", function() | ||||
| 	require('telescope-tabs').list_tabs() | ||||
| end) | ||||
							
								
								
									
										47
									
								
								config/.config/nvim/lua/config/set.lua
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										47
									
								
								config/.config/nvim/lua/config/set.lua
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							| @ -1,8 +1,8 @@ | ||||
| vim.opt.nu = true | ||||
| vim.opt.relativenumber = true | ||||
| 
 | ||||
| vim.opt.wrap = true | ||||
| vim.opt.linebreak = true | ||||
| -- vim.opt.wrap = true | ||||
| -- vim.opt.linebreak = true | ||||
| 
 | ||||
| vim.opt.tabstop = 4 | ||||
| vim.opt.softtabstop = 4 | ||||
| @ -10,34 +10,37 @@ vim.opt.shiftwidth = 4 | ||||
| vim.opt.expandtab = true | ||||
| 
 | ||||
| vim.opt.showmode = false | ||||
| vim.opt.winborder = 'none' | ||||
| 
 | ||||
| vim.opt.smartindent = true | ||||
| 
 | ||||
| vim.opt.spell = true | ||||
| vim.opt.spelllang = "en_us" | ||||
| -- vim.opt.spell = true | ||||
| vim.opt.spelllang = 'en_us' | ||||
| 
 | ||||
| vim.opt.swapfile = false | ||||
| vim.opt.backup = false | ||||
| vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" | ||||
| vim.opt.undodir = os.getenv('HOME') .. '/.nvim/undodir' | ||||
| vim.opt.undofile = true | ||||
| 
 | ||||
| vim.opt.hlsearch = true | ||||
| vim.opt.incsearch = true | ||||
| vim.opt.ignorecase = true | ||||
| vim.opt.smartcase = true | ||||
| 
 | ||||
| vim.opt.termguicolors = true | ||||
| 
 | ||||
| vim.opt.scrolloff = 8 | ||||
| vim.opt.signcolumn = "yes" | ||||
| vim.opt.isfname:append("@-@") | ||||
| vim.opt.signcolumn = 'yes' | ||||
| vim.opt.isfname:append('@-@') | ||||
| 
 | ||||
| vim.opt.updatetime = 50 | ||||
| 
 | ||||
| vim.opt.colorcolumn = "80" | ||||
| vim.opt.colorcolumn = '80' | ||||
| 
 | ||||
| vim.opt.splitright = true | ||||
| vim.opt.splitbelow = true | ||||
| 
 | ||||
| vim.g.mapleader = " " | ||||
| vim.g.mapleader = ' ' | ||||
| 
 | ||||
| vim.g.neovide_scale_factor = 1.0 | ||||
| vim.g.neovide_theme = 'auto' | ||||
| @ -46,14 +49,34 @@ function ChangeScaleFactor(delta) | ||||
|     vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta | ||||
| end | ||||
| 
 | ||||
| vim.keymap.set("n", "<C-=>", function() | ||||
| vim.keymap.set('n', '<C-=>', function() | ||||
|     ChangeScaleFactor(1.25) | ||||
| end) | ||||
| vim.keymap.set("n", "<C-->", function() | ||||
| vim.keymap.set('n', '<C-->', function() | ||||
|     ChangeScaleFactor(1 / 1.25) | ||||
| end) | ||||
| 
 | ||||
| vim.opt.guifont = { "Olympe Mono Hacked", ":h12" } | ||||
| vim.opt.guifont = { 'Iosevka Term SS12', ':h12' } | ||||
| vim.opt.termguicolors = true | ||||
| 
 | ||||
| vim.g.netrw_keepdir = 0 | ||||
| vim.g.netrw_preview = 1 | ||||
| vim.g.netrw_alto = 0 | ||||
| 
 | ||||
| vim.ui.select = Snacks.picker.select | ||||
| 
 | ||||
| vim.cmd('colorscheme nord') | ||||
| 
 | ||||
| vim.lsp.config('lua_ls', { | ||||
|     settings = { | ||||
|         Lua = { | ||||
|             workspace = { | ||||
|                 library = vim.api.nvim_get_runtime_file("", true), | ||||
|                 maxPreload = 100000, | ||||
|                 preloadFileSize = 100000, | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| }) | ||||
| 
 | ||||
| vim.diagnostic.config({ update_in_insert = true, float = true, virtual_lines = true}) | ||||
|  | ||||
							
								
								
									
										141
									
								
								config/.config/nvim/lua/plugins/colors.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										141
									
								
								config/.config/nvim/lua/plugins/colors.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,141 @@ | ||||
| return { | ||||
| 
 | ||||
| 	{  | ||||
|         'rose-pine/neovim', | ||||
|         name = 'rose-pine', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'tanvirtin/monokai.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'arzg/vim-colors-xcode', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'shaunsingh/nord.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'kvrohit/mellow.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'Mofiqul/vscode.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'Th3Whit3Wolf/one-nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'mhartington/oceanic-next', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'folke/tokyonight.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'sainnhe/gruvbox-material', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "ellisonleao/gruvbox.nvim", | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'sainnhe/everforest', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'lourenci/github-colors', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'navarasu/onedark.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'shaunsingh/moonlight.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'Mofiqul/dracula.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'kdheepak/monochrome.nvim', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "savq/melange-nvim", | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     {  | ||||
|         "catppuccin/nvim", | ||||
|         name = "catppuccin", | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     -- use 'RRethy/nvim-base16' | ||||
| 
 | ||||
|     { | ||||
|         'projekt0n/github-nvim-theme', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     {  | ||||
|         'Everblush/nvim',  | ||||
|         name = 'everblush', | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "lewpoly/sherbet.nvim", | ||||
|         priority = 1000, | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     -- use 'xiyaowong/transparent.nvim' | ||||
| } | ||||
							
								
								
									
										53
									
								
								config/.config/nvim/lua/plugins/filetypes.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								config/.config/nvim/lua/plugins/filetypes.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,53 @@ | ||||
| return { | ||||
|     { | ||||
|         'ollykel/v-vim', | ||||
|         ft = 'v', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'jaawerth/fennel.vim', | ||||
|         ft = 'fnl', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'stefanos82/nelua.vim', | ||||
|         ft = 'nelua', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'teal-language/vim-teal', | ||||
|         ft = 'tl' | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'VaiN474/vim-etlua', | ||||
|         ft = 'etlua', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'leafo/moonscript-vim', | ||||
|         ft = 'moon', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'aklt/plantuml-syntax', | ||||
|         ft = 'puml', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "S1M0N38/love2d.nvim", | ||||
|         -- event = "VeryLazy", | ||||
|         ft = 'lua', | ||||
|         version = "2.*", | ||||
|         opts = { }, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "nvim-neorg/neorg", | ||||
|         -- lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default | ||||
|         ft = 'norg', | ||||
|         version = "*", -- Pin Neorg to the latest stable release | ||||
|         config = true, | ||||
|     }, | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										136
									
								
								config/.config/nvim/lua/plugins/lsp.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										136
									
								
								config/.config/nvim/lua/plugins/lsp.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,136 @@ | ||||
| return { | ||||
| 
 | ||||
|     { | ||||
|         'mason-org/mason.nvim', | ||||
|         event = 'VeryLazy', | ||||
|         opts = {}, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'neovim/nvim-lspconfig', | ||||
|         event = 'VeryLazy', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "mason-org/mason-lspconfig.nvim", | ||||
|         event = 'VeryLazy', | ||||
|         opts = {}, | ||||
|         dependencies = { | ||||
|             { "mason-org/mason.nvim", opts = {} }, | ||||
|             "neovim/nvim-lspconfig", | ||||
|         }, | ||||
|     }, | ||||
| 
 | ||||
|     -- { | ||||
|     --     "MysticalDevil/inlay-hints.nvim", | ||||
|     --     event = "LspAttach", | ||||
|     --     dependencies = { "neovim/nvim-lspconfig" }, | ||||
|     --     config = function() | ||||
|     --         require("inlay-hints").setup() | ||||
|     --     end | ||||
|     -- }, | ||||
|     -- | ||||
|     { | ||||
|         'saghen/blink.cmp', | ||||
|         -- optional: provides snippets for the snippet source | ||||
|         -- dependencies = { 'L3MON4D3/LuaSnip' }, | ||||
| 
 | ||||
|         -- use a release tag to download pre-built binaries | ||||
|         version = '1.*', | ||||
|         -- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust | ||||
|         -- build = 'cargo build --release', | ||||
|         -- If you use nix, you can build from source using latest nightly rust with: | ||||
|         -- build = 'nix run .#build-plugin', | ||||
| 
 | ||||
|         ---@module 'blink.cmp' | ||||
|         ---@type blink.cmp.Config | ||||
|         opts = { | ||||
|             -- 'default' (recommended) for mappings similar to built-in completions (C-y to accept) | ||||
|             -- 'super-tab' for mappings similar to vscode (tab to accept) | ||||
|             -- 'enter' for enter to accept | ||||
|             -- 'none' for no mappings | ||||
|             -- | ||||
|             -- All presets have the following mappings: | ||||
|             -- C-space: Open menu or open docs if already open | ||||
|             -- C-n/C-p or Up/Down: Select next/previous item | ||||
|             -- C-e: Hide menu | ||||
|             -- C-k: Toggle signature help (if signature.enabled = true) | ||||
|             -- | ||||
|             -- See :h blink-cmp-config-keymap for defining your own keymap | ||||
|             keymap = { preset = 'default' }, | ||||
| 
 | ||||
|             -- snippets = { preset = 'mini_snippets' }, | ||||
|             appearance = { | ||||
|                 -- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font' | ||||
|                 -- Adjusts spacing to ensure icons are aligned | ||||
|                 nerd_font_variant = 'mono' | ||||
|             }, | ||||
| 
 | ||||
|             cmdline = { | ||||
|                 completion = { menu = { auto_show = true } }, | ||||
|             }, | ||||
|             -- (Default) Only show the documentation popup when manually triggered | ||||
|             completion = { | ||||
|                 documentation = { auto_show = false }, | ||||
|                 list = { | ||||
|                     selection = { | ||||
|                         preselect = true, | ||||
|                         auto_insert = false, | ||||
|                     }, | ||||
|                 }, | ||||
|                 ghost_text = { | ||||
|                     enabled = true, | ||||
|                     show_with_menu = true, | ||||
|                 }, | ||||
|                 menu = { | ||||
|                     auto_show = true, | ||||
|                     draw = { | ||||
|                         components = { | ||||
|                             -- customize the drawing of kind icons | ||||
|                             kind_icon = { | ||||
|                                 text = function(ctx) | ||||
|                                     -- default kind icon | ||||
|                                     local icon = ctx.kind_icon | ||||
|                                     -- if LSP source, check for color derived from documentation | ||||
|                                     if ctx.item.source_name == "LSP" then | ||||
|                                         local color_item = require("nvim-highlight-colors").format(ctx.item.documentation, { kind = ctx.kind }) | ||||
|                                         if color_item and color_item.abbr ~= "" then | ||||
|                                             icon = color_item.abbr | ||||
|                                         end | ||||
|                                     end | ||||
|                                     return icon .. ctx.icon_gap | ||||
|                                 end, | ||||
|                                 highlight = function(ctx) | ||||
|                                     -- default highlight group | ||||
|                                     local highlight = "BlinkCmpKind" .. ctx.kind | ||||
|                                     -- if LSP source, check for color derived from documentation | ||||
|                                     if ctx.item.source_name == "LSP" then | ||||
|                                         local color_item = require("nvim-highlight-colors").format(ctx.item.documentation, { kind = ctx.kind }) | ||||
|                                         if color_item and color_item.abbr_hl_group then | ||||
|                                             highlight = color_item.abbr_hl_group | ||||
|                                         end | ||||
|                                     end | ||||
|                                     return highlight | ||||
|                                 end, | ||||
|                             }, | ||||
|                         }, | ||||
|                     }, | ||||
|                 }, | ||||
|             }, | ||||
| 
 | ||||
|             -- Default list of enabled providers defined so that you can extend it | ||||
|             -- elsewhere in your config, without redefining it, due to `opts_extend` | ||||
|             sources = { | ||||
|                 default = { 'lsp', 'path', 'snippets', 'buffer' }, | ||||
|             }, | ||||
| 
 | ||||
|             -- (Default) Rust fuzzy matcher for typo resistance and significantly better performance | ||||
|             -- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation, | ||||
|             -- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"` | ||||
|             -- | ||||
|             -- See the fuzzy documentation for more information | ||||
|             fuzzy = { implementation = "prefer_rust_with_warning" } | ||||
|         }, | ||||
|         opts_extend = { "sources.default" } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										65
									
								
								config/.config/nvim/lua/plugins/treesitter.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								config/.config/nvim/lua/plugins/treesitter.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,65 @@ | ||||
| return { | ||||
|     { | ||||
|         'nvim-treesitter/nvim-treesitter', | ||||
|         -- branch = 'main', | ||||
|         version = false, | ||||
|         lazy = false, | ||||
|         build = ':TSUpdate', | ||||
|         config = function() | ||||
|             require'nvim-treesitter.configs'.setup { | ||||
|                 textobjects = { | ||||
|                     move = { | ||||
|                         enable = true, | ||||
|                         set_jumps = false, | ||||
|                         goto_next_start = { | ||||
|                             [']a'] = '@parameter.inner', | ||||
|                         }, | ||||
|                         goto_previous_start = { | ||||
|                             ['[a'] = '@parameter.inner', | ||||
|                         } | ||||
|                     }, | ||||
|                 }, | ||||
|                 auto_install = true, | ||||
|                 highlight = { | ||||
|                     enable = true, | ||||
|                 }, | ||||
|             } | ||||
|         end | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'nvim-treesitter/nvim-treesitter-textobjects', | ||||
|     }, | ||||
| 
 | ||||
|     -- { | ||||
|     --     'folke/twilight.nvim', | ||||
|     --     dependencies = { | ||||
|     --         'nvim-treesitter/nvim-treesitter', | ||||
|     --     }, | ||||
|     --     cmd = { | ||||
|     --         'Twilight', | ||||
|     --         'TwilightEnable', | ||||
|     --         'TwilightDisable', | ||||
|     --     }, | ||||
|     -- }, | ||||
| 
 | ||||
|     -- { | ||||
|     --     'RRethy/vim-illuminate', | ||||
|     --     event = 'VeryLazy', | ||||
|     --     lazy = false, | ||||
|     -- }, | ||||
| 
 | ||||
|     { | ||||
|         '0oAstro/dim.lua', | ||||
|         dependencies = { | ||||
|             'nvim-treesitter/nvim-treesitter', | ||||
|             'neovim/nvim-lspconfig' | ||||
|         }, | ||||
|         event = 'LspAttach', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
| 		'windwp/nvim-ts-autotag', | ||||
|         event = 'VeryLazy', | ||||
|     }, | ||||
| } | ||||
							
								
								
									
										76
									
								
								config/.config/nvim/lua/plugins/ui.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								config/.config/nvim/lua/plugins/ui.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,76 @@ | ||||
| return { | ||||
| 
 | ||||
|     { | ||||
|         'winston0410/range-highlight.nvim', | ||||
|         event = 'VeryLazy', | ||||
|     }, | ||||
| 
 | ||||
|     -- { | ||||
|     --     'lukas-reineke/indent-blankline.nvim', | ||||
|     --     event = 'VeryLazy', | ||||
|     --     config = function() | ||||
|     --         require'ibl'.setup{ scope = { enabled = false } } | ||||
|     --     end | ||||
|     -- }, | ||||
| 
 | ||||
|     { | ||||
|         'nvim-tree/nvim-web-devicons', | ||||
|         -- event = 'VeryLazy', | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     -- { | ||||
|     --     'goolord/alpha-nvim', | ||||
|     --     dependencies = { | ||||
|     --         'nvim-tree/nvim-web-devicons', | ||||
|     --     }, | ||||
|     --     config = function() | ||||
|     --         require('alpha').setup(require'alpha.themes.startify'.config) | ||||
|     --     end | ||||
|     -- }, | ||||
| 
 | ||||
|     { | ||||
|         'lewis6991/gitsigns.nvim', | ||||
|         event = 'VeryLazy', | ||||
|         opts = { | ||||
|             current_line_blame = true, | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'Bekaboo/dropbar.nvim', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'nvim-lualine/lualine.nvim', | ||||
|         dependencies = { | ||||
|             'nvim-tree/nvim-web-devicons', | ||||
|         }, | ||||
|         config = function() | ||||
|             local function lspactive() | ||||
|                 local names = {} | ||||
|                 for i, server in pairs(vim.lsp.get_clients({ bufnr = 0 })) do | ||||
|                     table.insert(names, server.name) | ||||
|                 end | ||||
|                 return " [" .. table.concat(names, " ") .. "]" | ||||
|                 -- return "[" .. table.concat(names, " ") .. "]" | ||||
|             end | ||||
|             require('lualine').setup { | ||||
|                 options = { | ||||
|                     globalstatus = true, | ||||
|                     icons_enabled = true, | ||||
|                     section_separators = { left = '', right = '' }, | ||||
|                     component_separators = { left = '', right = '' } | ||||
|                 }, | ||||
|                 sections = { | ||||
|                     lualine_a = { { 'mode', separator = { left = '', right = '' } }, }, | ||||
|                     lualine_b = {}, | ||||
|                     lualine_c = {'filename'}, | ||||
|                     lualine_x = {lspactive, { 'diagnostics', icons_enabled = true }, 'branch', 'diff'}, | ||||
|                     lualine_y = {'encoding', 'fileformat', 'filetype'}, | ||||
|                     lualine_z = {'location', { 'progress', separator = { left = '', right = '' } }, }, | ||||
|                 }, | ||||
|             } | ||||
|         end | ||||
|     }, | ||||
| } | ||||
							
								
								
									
										319
									
								
								config/.config/nvim/lua/plugins/util.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										319
									
								
								config/.config/nvim/lua/plugins/util.lua
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,319 @@ | ||||
| return { | ||||
| 
 | ||||
|     { | ||||
|         'nvim-lua/plenary.nvim', | ||||
|         -- event = 'VeryLazy', | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "sindrets/diffview.nvim", | ||||
|         event = 'VeryLazy', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'windwp/nvim-autopairs', | ||||
|         event = "InsertEnter", | ||||
|         config = true | ||||
|         -- use opts = {} for passing setup options | ||||
|         -- this is equivalent to setup({}) function | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "NeogitOrg/neogit", | ||||
|         lazy = true, | ||||
|         dependencies = { | ||||
|             "nvim-lua/plenary.nvim",         -- required | ||||
|             "sindrets/diffview.nvim",        -- optional - Diff integration | ||||
| 
 | ||||
|             -- Only one of these is needed. | ||||
|             -- "nvim-telescope/telescope.nvim", -- optional | ||||
|             -- "ibhagwan/fzf-lua",              -- optional | ||||
|             -- "echasnovski/mini.pick",         -- optional | ||||
|             "folke/snacks.nvim",             -- optional | ||||
|         }, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'brenoprata10/nvim-highlight-colors', | ||||
|         event = 'VeryLazy', | ||||
|         opts = { | ||||
|             render = 'virtual', | ||||
|         }, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'ggandor/leap.nvim', | ||||
|         dependencies = { | ||||
|             'tpope/vim-repeat', | ||||
|         }, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'LukasPietzschmann/telescope-tabs', | ||||
|         -- event = 'VeryLazy', | ||||
|         lazy = true, | ||||
|         branch = 'vim_ui_select', | ||||
|         config = function() | ||||
|             require('telescope-tabs').setup() | ||||
|         end | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "folke/snacks.nvim", | ||||
|         priority = 1000, | ||||
|         lazy = false, | ||||
|         ---@type snacks.Config | ||||
|         opts = { | ||||
|             -- your configuration comes here | ||||
|             -- or leave it empty to use the default settings | ||||
|             -- refer to the configuration section below | ||||
|             bigfile = { enabled = true }, | ||||
|             -- dashboard = { enabled = true }, | ||||
|             dim = { enabled = true }, | ||||
|             -- explorer = { enabled = true }, | ||||
|             -- git = { enabled = false }, | ||||
|             image = { | ||||
|                 enabled = true | ||||
|             }, | ||||
|             indent = { enabled = true }, | ||||
|             input = { enabled = true }, | ||||
|             lazygit = { enabled = false }, | ||||
|             picker = { | ||||
|                 enabled = true, | ||||
|                 layout = { | ||||
|                     preset = 'ivy_split', | ||||
|                     layout = { | ||||
|                         height = 0.3, | ||||
|                     }, | ||||
|                 }, | ||||
|             }, | ||||
|             notifier = { enabled = true }, | ||||
|             -- quickfile = { enabled = true }, | ||||
|             -- scope = { enabled = true }, | ||||
|             -- scroll = { enabled = true }, | ||||
|             terminal = { enabled = false }, | ||||
|             -- statuscolumn = { enabled = true }, | ||||
|             -- words = { enabled = true }, | ||||
|         }, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'echasnovski/mini.nvim', | ||||
|         config = function() | ||||
|             require('mini.starter').setup() | ||||
|             -- require('mini.cursorword').setup() | ||||
|             local miniclue = require'mini.clue' | ||||
|             miniclue.setup{ | ||||
|                 window = { | ||||
|                     delay = 0, | ||||
|                     config = { | ||||
|                         width = 'auto', | ||||
|                     }, | ||||
|                 }, | ||||
|                 triggers = { | ||||
|                     -- Leader triggers | ||||
|                     { mode = 'n', keys = '<Leader>' }, | ||||
|                     { mode = 'x', keys = '<Leader>' }, | ||||
| 
 | ||||
|                     -- Built-in completion | ||||
|                     { mode = 'i', keys = '<C-x>' }, | ||||
| 
 | ||||
|                     -- `g` key | ||||
|                     { mode = 'n', keys = 'g' }, | ||||
|                     { mode = 'x', keys = 'g' }, | ||||
| 
 | ||||
|                     -- Next | ||||
|                     { mode = 'n', keys = '['}, | ||||
|                     { mode = 'n', keys = ']'}, | ||||
|                     { mode = 'x', keys = '['}, | ||||
|                     { mode = 'x', keys = ']'}, | ||||
| 
 | ||||
|                     -- Marks | ||||
|                     { mode = 'n', keys = "'" }, | ||||
|                     { mode = 'n', keys = '`' }, | ||||
|                     { mode = 'x', keys = "'" }, | ||||
|                     { mode = 'x', keys = '`' }, | ||||
| 
 | ||||
|                     -- Registers | ||||
|                     { mode = 'n', keys = '"' }, | ||||
|                     { mode = 'x', keys = '"' }, | ||||
|                     { mode = 'i', keys = '<C-r>' }, | ||||
|                     { mode = 'c', keys = '<C-r>' }, | ||||
| 
 | ||||
|                     -- Window commands | ||||
|                     { mode = 'n', keys = '<C-w>' }, | ||||
| 
 | ||||
|                     -- `z` key | ||||
|                     { mode = 'n', keys = 'z' }, | ||||
|                     { mode = 'x', keys = 'z' }, | ||||
|                 }, | ||||
| 
 | ||||
|                 clues = { | ||||
|                     -- Enhance this by adding descriptions for <Leader> mapping groups | ||||
|                     miniclue.gen_clues.builtin_completion(), | ||||
|                     miniclue.gen_clues.g(), | ||||
|                     miniclue.gen_clues.marks(), | ||||
|                     miniclue.gen_clues.registers(), | ||||
|                     miniclue.gen_clues.windows(), | ||||
|                     miniclue.gen_clues.z(), | ||||
| 
 | ||||
|                     { mode = 'n', keys = '<leader>f', desc = '+Find' }, | ||||
|                     { mode = 'x', keys = '<leader>f', desc = '+Find' }, | ||||
| 
 | ||||
|                     { mode = 'n', keys = '<leader>o', desc = '+Open' }, | ||||
|                     { mode = 'x', keys = '<leader>o', desc = '+Open' }, | ||||
| 
 | ||||
|                     { mode = 'n', keys = '<leader>g', desc = '+Git' }, | ||||
|                     { mode = 'x', keys = '<leader>g', desc = '+Git' }, | ||||
|                 }, | ||||
|             } | ||||
|         end | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'stevearc/oil.nvim', | ||||
|         ---@module 'oil' | ||||
|         ---@type oil.SetupOpts | ||||
|         opts = { | ||||
|             triggers = { | ||||
|                 { 'g', mode = { 'n', 'x' } }, | ||||
|             }, | ||||
|         }, | ||||
|         -- Optional dependencies | ||||
|         dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons | ||||
|         -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. | ||||
|         lazy = false, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'eandrju/cellular-automaton.nvim', | ||||
|         -- event = 'VeryLazy', | ||||
|         cmd = 'CellularAutomaton', | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         "kylechui/nvim-surround", | ||||
|         version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features | ||||
|         event = "VeryLazy", | ||||
|         config = function() | ||||
|             require("nvim-surround").setup({ | ||||
|                 -- Configuration here, or leave empty to use defaults | ||||
|             }) | ||||
|         end | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'jbyuki/nabla.nvim', | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'krady21/compiler-explorer.nvim', | ||||
|         -- event = 'VeryLazy', | ||||
|         cmd = { | ||||
|             'CECompile', | ||||
|             'CECompileLive', | ||||
|             'CEFormat', | ||||
|             'CEAddLibrary', | ||||
|             'CELoadExample', | ||||
|             'CEOpenWebsite', | ||||
|             'CEDeleteCache', | ||||
|             'CEShowTooltip', | ||||
|             'CEGotoLabel', | ||||
|         }, | ||||
|         opts = { | ||||
|             autocmd = { | ||||
|                 enable = true, | ||||
|                 hl = 'Cursorline', | ||||
|             }, | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|     { | ||||
|         'samjwill/nvim-unception', | ||||
|         event = 'VeryLazy', | ||||
|     }, | ||||
| 
 | ||||
|     -- { | ||||
|     --     "jake-stewart/multicursor.nvim", | ||||
|     --     branch = "1.0", | ||||
|     --     config = function() | ||||
|     --         local mc = require("multicursor-nvim") | ||||
|     --         mc.setup() | ||||
|     -- | ||||
|     --         local set = vim.keymap.set | ||||
|     -- | ||||
|     --         -- Add or skip cursor above/below the main cursor. | ||||
|     --         set({"n", "x"}, "<up>", function() mc.lineAddCursor(-1) end) | ||||
|     --         set({"n", "x"}, "<down>", function() mc.lineAddCursor(1) end) | ||||
|     --         -- set({"n", "x"}, "<leader><up>", function() mc.lineSkipCursor(-1) end) | ||||
|     --         -- set({"n", "x"}, "<leader><down>", function() mc.lineSkipCursor(1) end) | ||||
|     -- | ||||
|     --         -- Add or skip adding a new cursor by matching word/selection | ||||
|     --         -- set({"n", "x"}, "<leader>n", function() mc.matchAddCursor(1) end) | ||||
|     --         -- set({"n", "x"}, "<leader>s", function() mc.matchSkipCursor(1) end) | ||||
|     --         -- set({"n", "x"}, "<leader>N", function() mc.matchAddCursor(-1) end) | ||||
|     --         -- set({"n", "x"}, "<leader>S", function() mc.matchSkipCursor(-1) end) | ||||
|     -- | ||||
|     --         -- Add cursor at next argument treesitter | ||||
|     --         set({'n', 'x'}, ']A', function() | ||||
|     --             if vim.v.count < 1 then | ||||
|     --                 mc.addCursor(']a') | ||||
|     --             else | ||||
|     --                 for i=1, vim.v.count - 1 do | ||||
|     --                     mc.addCursor(']a') | ||||
|     --                 end | ||||
|     --             end | ||||
|     --         end, { desc = 'Create multicursor on next argument'}) | ||||
|     --         set({'n', 'x'}, '[A', function() | ||||
|     --             if vim.v.count < 1 then | ||||
|     --                 mc.addCursor('[a') | ||||
|     --             else | ||||
|     --                 for i=1, vim.v.count - 1 do | ||||
|     --                     mc.addCursor('[a') | ||||
|     --                 end | ||||
|     --             end | ||||
|     --         end, { desc = 'Create multicursor on previous argument'}) | ||||
|     -- | ||||
|     --         -- Add and remove cursors with control + left click. | ||||
|     --         set("n", "<c-leftmouse>", mc.handleMouse) | ||||
|     --         set("n", "<c-leftdrag>", mc.handleMouseDrag) | ||||
|     --         set("n", "<c-leftrelease>", mc.handleMouseRelease) | ||||
|     -- | ||||
|     --         -- Disable and enable cursors. | ||||
|     --         set({"n", "x"}, "<c-q>", mc.toggleCursor) | ||||
|     -- | ||||
|     --         -- Mappings defined in a keymap layer only apply when there are | ||||
|     --         -- multiple cursors. This lets you have overlapping mappings. | ||||
|     --         mc.addKeymapLayer(function(layerSet) | ||||
|     -- | ||||
|     --             -- Select a different cursor as the main one. | ||||
|     --             layerSet({"n", "x"}, "<left>", mc.prevCursor) | ||||
|     --             layerSet({"n", "x"}, "<right>", mc.nextCursor) | ||||
|     -- | ||||
|     --             -- Delete the main cursor. | ||||
|     --             layerSet({"n", "x"}, "<leader>x", mc.deleteCursor) | ||||
|     -- | ||||
|     --             -- Enable and clear cursors using escape. | ||||
|     --             layerSet("n", "<esc>", function() | ||||
|     --                 if not mc.cursorsEnabled() then | ||||
|     --                     mc.enableCursors() | ||||
|     --                 else | ||||
|     --                     mc.clearCursors() | ||||
|     --                 end | ||||
|     --             end) | ||||
|     --         end) | ||||
|     -- | ||||
|     --         -- Customize how cursors look. | ||||
|     --         local hl = vim.api.nvim_set_hl | ||||
|     --         hl(0, "MultiCursorCursor", { reverse = true }) | ||||
|     --         hl(0, "MultiCursorVisual", { link = "Visual" }) | ||||
|     --         hl(0, "MultiCursorSign", { link = "SignColumn"}) | ||||
|     --         hl(0, "MultiCursorMatchPreview", { link = "Search" }) | ||||
|     --         hl(0, "MultiCursorDisabledCursor", { reverse = true }) | ||||
|     --         hl(0, "MultiCursorDisabledVisual", { link = "Visual" }) | ||||
|     --         hl(0, "MultiCursorDisabledSign", { link = "SignColumn"}) | ||||
|     --     end | ||||
|     -- }, | ||||
| } | ||||
							
								
								
									
										32
									
								
								config/.config/qt5ct/qt5ct.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								config/.config/qt5ct/qt5ct.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,32 @@ | ||||
| [Appearance] | ||||
| color_scheme_path=/home/mikec/.config/qt5ct/style-colors.conf | ||||
| custom_palette=false | ||||
| icon_theme=breeze-dark | ||||
| standard_dialogs=xdgdesktopportal | ||||
| style=kvantum | ||||
| 
 | ||||
| [Fonts] | ||||
| fixed="BigBlueTerm437 Nerd Font,10,-1,5,50,0,0,0,0,0,Regular" | ||||
| general="Ubuntu,10,-1,5,50,0,0,0,0,0,Regular" | ||||
| 
 | ||||
| [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\xbb\0\0\t\xe3\0\0\x6 \0\0\0\0\0\0\0\xbb\0\0\t\xe3\0\0\x6 \0\0\0\0\0\0\0\0\v\xaf\0\0\0\0\0\0\0\xbb\0\0\t\xe3\0\0\x6 ) | ||||
| 
 | ||||
| [Troubleshooting] | ||||
| force_raster_widgets=1 | ||||
| ignored_applications=@Invalid() | ||||
							
								
								
									
										4
									
								
								config/.config/qt5ct/style-colors.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								config/.config/qt5ct/style-colors.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| [ColorScheme] | ||||
| active_colors=#ffe0def4, #ff26233a, #ff6e6a86, #ff6e6a86, #ff191724, #ff191724, #ffe0def4, #ffffffff, #ffe0def4, #ff191724, #ff1f1d2e, #ff000000, #fff07746, #ff191724, #ff9ccfd8, #ffc4a7e7, #ff191724, #ff000000, #ff000000, #ffe0def4, #80e0def4 | ||||
| disabled_colors=#ff787878, #ffe9e9e9, #ffffffff, #ffececec, #ffbebebe, #ffd9d9d9, #ff787878, #ffffffff, #ff787878, #ffffffff, #fff2f1f0, #ff000000, #fff07746, #66fcfcfc, #ff0057ae, #ff452886, #fff4f4f4, #ff000000, #ff000000, #ffffffff, #804c4c4c | ||||
| inactive_colors=#ffe0def4, #ff26233a, #ff6e6a86, #ff6e6a86, #ff191724, #ff191724, #ffe0def4, #ffffffff, #ffe0def4, #ff191724, #ff1f1d2e, #ff000000, #fff07746, #ff191724, #ff9ccfd8, #ffc4a7e7, #ff191724, #ff000000, #ff000000, #ffe0def4, #80e0def4 | ||||
							
								
								
									
										4
									
								
								config/.config/qt6ct/colors/Chicago95.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								config/.config/qt6ct/colors/Chicago95.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| [ColorScheme] | ||||
| active_colors=#ff000000, #ffc0c0c0, #ffffffff, #ffc0c0c0, #ff808080, #ff808080, #ff000000, #ffffffff, #ff000000, #ffffffff, #ffc0c0c0, #ff000000, #ff000080, #ffffffff, #ff000080, #ff55007f, #ffc0c0c0, #ff000000, #ffffffdc, #ff000000, #80000000, #ff308cc6 | ||||
| disabled_colors=#ff000000, #ffc0c0c0, #ffffffff, #ffc0c0c0, #ff808080, #ff808080, #ff808080, #ffffffff, #ff808080, #ffffffff, #ffc0c0c0, #ff000000, #ff000080, #ffffffff, #ff000080, #ff55007f, #ffc0c0c0, #ff000000, #ffffffdc, #ff000000, #80000000, #ff919191 | ||||
| inactive_colors=#ff000000, #ffc0c0c0, #ffffffff, #ffc0c0c0, #ff808080, #ff808080, #ff000000, #ffffffff, #ff000000, #ffffffff, #ffc0c0c0, #ff000000, #ff000080, #ffffffff, #ff000080, #ff55007f, #ffc0c0c0, #ff000000, #ffffffdc, #ff000000, #80000000, #ff308cc6 | ||||
							
								
								
									
										35
									
								
								config/.config/qt6ct/qt6ct.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								config/.config/qt6ct/qt6ct.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,35 @@ | ||||
| [Appearance] | ||||
| color_scheme_path=/home/mikec/.config/qt6ct/colors/Chicago95.conf | ||||
| custom_palette=false | ||||
| icon_theme=rose-pine-icons | ||||
| standard_dialogs=xdgdesktopportal | ||||
| style=Breeze | ||||
| 
 | ||||
| [Fonts] | ||||
| fixed="BigBlueTermPlus Nerd Font Mono,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular" | ||||
| general="Ubuntu,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular" | ||||
| 
 | ||||
| [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 | ||||
| 
 | ||||
| [PaletteEditor] | ||||
| geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xad\0\0\x1\x86\0\0\x6#\0\0\x3\x96\0\0\x3\xad\0\0\x1\x86\0\0\x6#\0\0\x3\x96\0\0\0\0\0\0\0\0\n\0\0\0\x3\xad\0\0\x1\x86\0\0\x6#\0\0\x3\x96) | ||||
| 
 | ||||
| [SettingsWindow] | ||||
| geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x5\xc7\0\0\x3\xba\0\0\0\0\0\0\0\0\0\0\x5\xc7\0\0\x3\xba\0\0\0\0\0\0\0\0\x5\xe0\0\0\0\0\0\0\0\0\0\0\x5\xc7\0\0\x3\xba) | ||||
| 
 | ||||
| [Troubleshooting] | ||||
| force_raster_widgets=1 | ||||
| ignored_applications=@Invalid() | ||||
| @ -8,8 +8,10 @@ | ||||
| ## | ||||
| ## Documentation: | ||||
| ##   qute://help/configuring.html | ||||
| ##   qute://help/settings.html | ||||
| config.source('theme.py') | ||||
| ##   qute://help/settings.htm | ||||
| ##    | ||||
| import rosepine | ||||
| rosepine.setup(c, 'rose-pine-moon', True) | ||||
| 
 | ||||
| ## This is here so configs done via the GUI are still loaded. | ||||
| ## Remove it to not load settings done via the GUI. | ||||
| @ -721,7 +723,7 @@ c.url.searchengines = { "DEFAULT" : "searx.mchalupiak.com/search?q={}" } | ||||
| ## given page, use the `content.blocking.enabled` setting with a URL | ||||
| ## pattern instead. | ||||
| ## Type: List of UrlPattern | ||||
| # c.content.blocking.whitelist = [] | ||||
| c.content.blocking.whitelist = [] | ||||
| 
 | ||||
| ## Enable support for the HTML 5 web application cache feature. An | ||||
| ## application cache acts like an HTTP cache in some sense. For documents | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| [FileDialog] | ||||
| history=file:///home/mikec/Downloads, file:///usr/share/fonts/TTF, file:///home/mikec, file:///home/mikec/Documents/College/Resume | ||||
| lastVisited=file:///home/mikec/Documents/College/Resume | ||||
| qtVersion=6.7.2 | ||||
| history=@Invalid() | ||||
| lastVisited=file:///home/mikec | ||||
| qtVersion=6.8.2 | ||||
| shortcuts=file:, file:///home/mikec | ||||
| sidebarWidth=87 | ||||
| treeViewHeader="@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xd1\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xf5\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0=\0\0\0\x1\0\0\0\0\0\0\0\x66\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)" | ||||
|  | ||||
							
								
								
									
										302
									
								
								config/.config/qutebrowser/theme.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										302
									
								
								config/.config/qutebrowser/theme.py
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,302 @@ | ||||
| # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) | ||||
| # Scheme name: Nord | ||||
| # Scheme author: arcticicestudio | ||||
| # Template author: theova | ||||
| # Commentary: Tinted Theming: (https://github.com/tinted-theming) | ||||
| 
 | ||||
| base00 = "#2e3440" | ||||
| base01 = "#3b4252" | ||||
| base02 = "#434c5e" | ||||
| base03 = "#4c566a" | ||||
| base04 = "#d8dee9" | ||||
| base05 = "#e5e9f0" | ||||
| base06 = "#eceff4" | ||||
| base07 = "#8fbcbb" | ||||
| base08 = "#bf616a" | ||||
| base09 = "#d08770" | ||||
| base0A = "#ebcb8b" | ||||
| base0B = "#a3be8c" | ||||
| base0C = "#88c0d0" | ||||
| base0D = "#81a1c1" | ||||
| base0E = "#b48ead" | ||||
| base0F = "#5e81ac" | ||||
| 
 | ||||
| # set qutebrowser colors | ||||
| 
 | ||||
| # Text color of the completion widget. May be a single color to use for | ||||
| # all columns or a list of three colors, one for each column. | ||||
| c.colors.completion.fg = base05 | ||||
| 
 | ||||
| # Background color of the completion widget for odd rows. | ||||
| c.colors.completion.odd.bg = base01 | ||||
| 
 | ||||
| # Background color of the completion widget for even rows. | ||||
| c.colors.completion.even.bg = base00 | ||||
| 
 | ||||
| # Foreground color of completion widget category headers. | ||||
| c.colors.completion.category.fg = base0A | ||||
| 
 | ||||
| # Background color of the completion widget category headers. | ||||
| c.colors.completion.category.bg = base00 | ||||
| 
 | ||||
| # Top border color of the completion widget category headers. | ||||
| c.colors.completion.category.border.top = base00 | ||||
| 
 | ||||
| # Bottom border color of the completion widget category headers. | ||||
| c.colors.completion.category.border.bottom = base00 | ||||
| 
 | ||||
| # Foreground color of the selected completion item. | ||||
| c.colors.completion.item.selected.fg = base05 | ||||
| 
 | ||||
| # Background color of the selected completion item. | ||||
| c.colors.completion.item.selected.bg = base02 | ||||
| 
 | ||||
| # Top border color of the selected completion item. | ||||
| c.colors.completion.item.selected.border.top = base02 | ||||
| 
 | ||||
| # Bottom border color of the selected completion item. | ||||
| c.colors.completion.item.selected.border.bottom = base02 | ||||
| 
 | ||||
| # Foreground color of the matched text in the selected completion item. | ||||
| c.colors.completion.item.selected.match.fg = base0B | ||||
| 
 | ||||
| # Foreground color of the matched text in the completion. | ||||
| c.colors.completion.match.fg = base0B | ||||
| 
 | ||||
| # Color of the scrollbar handle in the completion view. | ||||
| c.colors.completion.scrollbar.fg = base05 | ||||
| 
 | ||||
| # Color of the scrollbar in the completion view. | ||||
| c.colors.completion.scrollbar.bg = base00 | ||||
| 
 | ||||
| # Background color of disabled items in the context menu. | ||||
| c.colors.contextmenu.disabled.bg = base01 | ||||
| 
 | ||||
| # Foreground color of disabled items in the context menu. | ||||
| c.colors.contextmenu.disabled.fg = base04 | ||||
| 
 | ||||
| # Background color of the context menu. If set to null, the Qt default is used. | ||||
| c.colors.contextmenu.menu.bg = base00 | ||||
| 
 | ||||
| # Foreground color of the context menu. If set to null, the Qt default is used. | ||||
| c.colors.contextmenu.menu.fg =  base05 | ||||
| 
 | ||||
| # Background color of the context menu’s selected item. If set to null, the Qt default is used. | ||||
| c.colors.contextmenu.selected.bg = base02 | ||||
| 
 | ||||
| #Foreground color of the context menu’s selected item. If set to null, the Qt default is used. | ||||
| c.colors.contextmenu.selected.fg = base05 | ||||
| 
 | ||||
| # Background color for the download bar. | ||||
| c.colors.downloads.bar.bg = base00 | ||||
| 
 | ||||
| # Color gradient start for download text. | ||||
| c.colors.downloads.start.fg = base00 | ||||
| 
 | ||||
| # Color gradient start for download backgrounds. | ||||
| c.colors.downloads.start.bg = base0D | ||||
| 
 | ||||
| # Color gradient end for download text. | ||||
| c.colors.downloads.stop.fg = base00 | ||||
| 
 | ||||
| # Color gradient stop for download backgrounds. | ||||
| c.colors.downloads.stop.bg = base0C | ||||
| 
 | ||||
| # Foreground color for downloads with errors. | ||||
| c.colors.downloads.error.fg = base08 | ||||
| 
 | ||||
| # Font color for hints. | ||||
| c.colors.hints.fg = base00 | ||||
| 
 | ||||
| # Background color for hints. Note that you can use a `rgba(...)` value | ||||
| # for transparency. | ||||
| c.colors.hints.bg = base0A | ||||
| 
 | ||||
| # Font color for the matched part of hints. | ||||
| c.colors.hints.match.fg = base05 | ||||
| 
 | ||||
| # Text color for the keyhint widget. | ||||
| c.colors.keyhint.fg = base05 | ||||
| 
 | ||||
| # Highlight color for keys to complete the current keychain. | ||||
| c.colors.keyhint.suffix.fg = base05 | ||||
| 
 | ||||
| # Background color of the keyhint widget. | ||||
| c.colors.keyhint.bg = base00 | ||||
| 
 | ||||
| # Foreground color of an error message. | ||||
| c.colors.messages.error.fg = base00 | ||||
| 
 | ||||
| # Background color of an error message. | ||||
| c.colors.messages.error.bg = base08 | ||||
| 
 | ||||
| # Border color of an error message. | ||||
| c.colors.messages.error.border = base08 | ||||
| 
 | ||||
| # Foreground color of a warning message. | ||||
| c.colors.messages.warning.fg = base00 | ||||
| 
 | ||||
| # Background color of a warning message. | ||||
| c.colors.messages.warning.bg = base0E | ||||
| 
 | ||||
| # Border color of a warning message. | ||||
| c.colors.messages.warning.border = base0E | ||||
| 
 | ||||
| # Foreground color of an info message. | ||||
| c.colors.messages.info.fg = base05 | ||||
| 
 | ||||
| # Background color of an info message. | ||||
| c.colors.messages.info.bg = base00 | ||||
| 
 | ||||
| # Border color of an info message. | ||||
| c.colors.messages.info.border = base00 | ||||
| 
 | ||||
| # Foreground color for prompts. | ||||
| c.colors.prompts.fg = base05 | ||||
| 
 | ||||
| # Border used around UI elements in prompts. | ||||
| c.colors.prompts.border = base00 | ||||
| 
 | ||||
| # Background color for prompts. | ||||
| c.colors.prompts.bg = base00 | ||||
| 
 | ||||
| # Background color for the selected item in filename prompts. | ||||
| c.colors.prompts.selected.bg = base02 | ||||
| 
 | ||||
| # Foreground color for the selected item in filename prompts. | ||||
| c.colors.prompts.selected.fg = base05 | ||||
| 
 | ||||
| # Foreground color of the statusbar. | ||||
| c.colors.statusbar.normal.fg = base0B | ||||
| 
 | ||||
| # Background color of the statusbar. | ||||
| c.colors.statusbar.normal.bg = base00 | ||||
| 
 | ||||
| # Foreground color of the statusbar in insert mode. | ||||
| c.colors.statusbar.insert.fg = base00 | ||||
| 
 | ||||
| # Background color of the statusbar in insert mode. | ||||
| c.colors.statusbar.insert.bg = base0D | ||||
| 
 | ||||
| # Foreground color of the statusbar in passthrough mode. | ||||
| c.colors.statusbar.passthrough.fg = base00 | ||||
| 
 | ||||
| # Background color of the statusbar in passthrough mode. | ||||
| c.colors.statusbar.passthrough.bg = base0C | ||||
| 
 | ||||
| # Foreground color of the statusbar in private browsing mode. | ||||
| c.colors.statusbar.private.fg = base00 | ||||
| 
 | ||||
| # Background color of the statusbar in private browsing mode. | ||||
| c.colors.statusbar.private.bg = base01 | ||||
| 
 | ||||
| # Foreground color of the statusbar in command mode. | ||||
| c.colors.statusbar.command.fg = base05 | ||||
| 
 | ||||
| # Background color of the statusbar in command mode. | ||||
| c.colors.statusbar.command.bg = base00 | ||||
| 
 | ||||
| # Foreground color of the statusbar in private browsing + command mode. | ||||
| c.colors.statusbar.command.private.fg = base05 | ||||
| 
 | ||||
| # Background color of the statusbar in private browsing + command mode. | ||||
| c.colors.statusbar.command.private.bg = base00 | ||||
| 
 | ||||
| # Foreground color of the statusbar in caret mode. | ||||
| c.colors.statusbar.caret.fg = base00 | ||||
| 
 | ||||
| # Background color of the statusbar in caret mode. | ||||
| c.colors.statusbar.caret.bg = base0E | ||||
| 
 | ||||
| # Foreground color of the statusbar in caret mode with a selection. | ||||
| c.colors.statusbar.caret.selection.fg = base00 | ||||
| 
 | ||||
| # Background color of the statusbar in caret mode with a selection. | ||||
| c.colors.statusbar.caret.selection.bg = base0D | ||||
| 
 | ||||
| # Background color of the progress bar. | ||||
| c.colors.statusbar.progress.bg = base0D | ||||
| 
 | ||||
| # Default foreground color of the URL in the statusbar. | ||||
| c.colors.statusbar.url.fg = base05 | ||||
| 
 | ||||
| # Foreground color of the URL in the statusbar on error. | ||||
| c.colors.statusbar.url.error.fg = base08 | ||||
| 
 | ||||
| # Foreground color of the URL in the statusbar for hovered links. | ||||
| c.colors.statusbar.url.hover.fg = base05 | ||||
| 
 | ||||
| # Foreground color of the URL in the statusbar on successful load | ||||
| # (http). | ||||
| c.colors.statusbar.url.success.http.fg = base0C | ||||
| 
 | ||||
| # Foreground color of the URL in the statusbar on successful load | ||||
| # (https). | ||||
| c.colors.statusbar.url.success.https.fg = base0B | ||||
| 
 | ||||
| # Foreground color of the URL in the statusbar when there's a warning. | ||||
| c.colors.statusbar.url.warn.fg = base0E | ||||
| 
 | ||||
| # Background color of the tab bar. | ||||
| c.colors.tabs.bar.bg = base00 | ||||
| 
 | ||||
| # Color gradient start for the tab indicator. | ||||
| c.colors.tabs.indicator.start = base0D | ||||
| 
 | ||||
| # Color gradient end for the tab indicator. | ||||
| c.colors.tabs.indicator.stop = base0C | ||||
| 
 | ||||
| # Color for the tab indicator on errors. | ||||
| c.colors.tabs.indicator.error = base08 | ||||
| 
 | ||||
| # Foreground color of unselected odd tabs. | ||||
| c.colors.tabs.odd.fg = base05 | ||||
| 
 | ||||
| # Background color of unselected odd tabs. | ||||
| c.colors.tabs.odd.bg = base01 | ||||
| 
 | ||||
| # Foreground color of unselected even tabs. | ||||
| c.colors.tabs.even.fg = base05 | ||||
| 
 | ||||
| # Background color of unselected even tabs. | ||||
| c.colors.tabs.even.bg = base00 | ||||
| 
 | ||||
| # Background color of pinned unselected even tabs. | ||||
| c.colors.tabs.pinned.even.bg = base0C | ||||
| 
 | ||||
| # Foreground color of pinned unselected even tabs. | ||||
| c.colors.tabs.pinned.even.fg = base07 | ||||
| 
 | ||||
| # Background color of pinned unselected odd tabs. | ||||
| c.colors.tabs.pinned.odd.bg = base0B | ||||
| 
 | ||||
| # Foreground color of pinned unselected odd tabs. | ||||
| c.colors.tabs.pinned.odd.fg = base07 | ||||
| 
 | ||||
| # Background color of pinned selected even tabs. | ||||
| c.colors.tabs.pinned.selected.even.bg = base02 | ||||
| 
 | ||||
| # Foreground color of pinned selected even tabs. | ||||
| c.colors.tabs.pinned.selected.even.fg = base05 | ||||
| 
 | ||||
| # Background color of pinned selected odd tabs. | ||||
| c.colors.tabs.pinned.selected.odd.bg = base02 | ||||
| 
 | ||||
| # Foreground color of pinned selected odd tabs. | ||||
| c.colors.tabs.pinned.selected.odd.fg = base05 | ||||
| 
 | ||||
| # Foreground color of selected odd tabs. | ||||
| c.colors.tabs.selected.odd.fg = base05 | ||||
| 
 | ||||
| # Background color of selected odd tabs. | ||||
| c.colors.tabs.selected.odd.bg = base02 | ||||
| 
 | ||||
| # Foreground color of selected even tabs. | ||||
| c.colors.tabs.selected.even.fg = base05 | ||||
| 
 | ||||
| # Background color of selected even tabs. | ||||
| c.colors.tabs.selected.even.bg = base02 | ||||
| 
 | ||||
| # Background color for webpages if unset (or empty to use the theme's | ||||
| # color). | ||||
| # c.colors.webpage.bg = base00 | ||||
| @ -1,2 +1 @@ | ||||
| set preview_images true | ||||
| set preview_images_method ueberzug | ||||
|  | ||||
							
								
								
									
										22
									
								
								config/.config/river/bar.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										22
									
								
								config/.config/river/bar.sh
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,22 @@ | ||||
| #!/usr/bin/env bash | ||||
| DATE=$(date +'%Y-%m-%d %I:%M:%S %p') | ||||
| # BAT=$(cat /sys/class/power_supply/BAT1/capacity) | ||||
| VOL=$(pactl get-sink-volume @DEFAULT_SINK@ | tr "," "\n" | grep \% | sed s/Volume\:// | sed 's/\%.*$//' | sed 's/^.*\///' | head -n1 | sed s/\ *//) | ||||
| VOL="${VOL}%" | ||||
| MUTED=$(pactl get-sink-mute @DEFAULT_SINK@ | cut -d\  -f2) | ||||
| # BRIGHT=$(brightnessctl | tr "\n" " " | cut -d\  -f9 | tr -d "()%") | ||||
| MEM=$(free -h | sed 's/[  ]\+/:/g' | cut -d\: -f4 | tr "\n" ":" | cut -d\: -f2) | ||||
| USER=$(id -u -n) | ||||
| HOST=$(cat /proc/sys/kernel/hostname) | ||||
| # LAYOUT=$(swaymsg -t get_inputs | jq -r '.[] | select( .type == "keyboard") .xkb_active_layout_name' | tr "\n" ":" | cut -d\: -f1 | cut -d\  -f2| tr -d "()") | ||||
| NETWORK_NAME=$(iwctl station wlan0 show | grep network | sed s/"Connected network"// | tr -d " ") | ||||
| IP=$(iwctl station wlan0 show | grep IPv4 | sed s/"IPv4 address"// | tr -d " ") | ||||
| 
 | ||||
| if [ $MUTED == 'yes' ] | ||||
| then | ||||
|     VOL='muted' | ||||
| fi | ||||
| 
 | ||||
| # echo ${MEM} \| ${USER}\@${HOST} \| KB\: ${LAYOUT} \| ${NETWORK_NAME}\@${IP} \| Vol: ${VOL}  \| ${BRIGHT}% Backlight \| ${BAT}\% Bat \| ${DATE} | ||||
| # echo ${MEM} \| ${USER}\@${HOST} \| KB\: ${LAYOUT} \| ${NETWORK_NAME}\@${IP} \| Vol: ${VOL}  \| ${DATE} | ||||
| echo ${MEM} \| ${USER}\@${HOST} \| ${NETWORK_NAME}\@${IP} \| Vol: ${VOL}  \| ${DATE} | ||||
							
								
								
									
										186
									
								
								config/.config/river/init
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										186
									
								
								config/.config/river/init
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,186 @@ | ||||
| #!/bin/sh | ||||
| 
 | ||||
| # This is the example configuration file for river. | ||||
| # | ||||
| # If you wish to edit this, you will probably want to copy it to | ||||
| # $XDG_CONFIG_HOME/river/init or $HOME/.config/river/init first. | ||||
| # | ||||
| # See the river(1), riverctl(1), and rivertile(1) man pages for complete | ||||
| # documentation. | ||||
| 
 | ||||
| # Note: the "Super" modifier is also known as Logo, GUI, Windows, Mod4, etc. | ||||
| 
 | ||||
| # Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot) | ||||
| riverctl map normal Super Return spawn alacritty | ||||
| 
 | ||||
| riverctl map normal Super D spawn 'bemenu-run --fn "Iosevka Term SS12 14"' | ||||
| # Super+Q to close the focused view | ||||
| riverctl map normal Super X close | ||||
| 
 | ||||
| # Super+Shift+E to exit river | ||||
| riverctl map normal Super+Shift Q exit | ||||
| 
 | ||||
| # Super+J and Super+K to focus the next/previous view in the layout stack | ||||
| riverctl map normal Super J focus-view next | ||||
| riverctl map normal Super K focus-view previous | ||||
| 
 | ||||
| # Super+Shift+J and Super+Shift+K to swap the focused view with the next/previous | ||||
| # view in the layout stack | ||||
| riverctl map normal Super+Shift J swap next | ||||
| riverctl map normal Super+Shift K swap previous | ||||
| 
 | ||||
| # Super+Period and Super+Comma to focus the next/previous output | ||||
| riverctl map normal Super Period focus-output next | ||||
| riverctl map normal Super Comma focus-output previous | ||||
| 
 | ||||
| # Super+Shift+{Period,Comma} to send the focused view to the next/previous output | ||||
| riverctl map normal Super+Shift Period send-to-output next | ||||
| riverctl map normal Super+Shift Comma send-to-output previous | ||||
| 
 | ||||
| # Super+Return to bump the focused view to the top of the layout stack | ||||
| riverctl map normal Super+Shift Return zoom | ||||
| 
 | ||||
| # Super+H and Super+L to decrease/increase the main ratio of rivertile(1) | ||||
| riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05" | ||||
| riverctl map normal Super L send-layout-cmd rivertile "main-ratio +0.05" | ||||
| 
 | ||||
| # Super+Shift+H and Super+Shift+L to increment/decrement the main count of rivertile(1) | ||||
| riverctl map normal Super+Shift H send-layout-cmd rivertile "main-count +1" | ||||
| riverctl map normal Super+Shift L send-layout-cmd rivertile "main-count -1" | ||||
| 
 | ||||
| # Super+Alt+{H,J,K,L} to move views | ||||
| riverctl map normal Super+Alt H move left 100 | ||||
| riverctl map normal Super+Alt J move down 100 | ||||
| riverctl map normal Super+Alt K move up 100 | ||||
| riverctl map normal Super+Alt L move right 100 | ||||
| 
 | ||||
| # Super+Alt+Control+{H,J,K,L} to snap views to screen edges | ||||
| riverctl map normal Super+Alt+Control H snap left | ||||
| riverctl map normal Super+Alt+Control J snap down | ||||
| riverctl map normal Super+Alt+Control K snap up | ||||
| riverctl map normal Super+Alt+Control L snap right | ||||
| 
 | ||||
| # Super+Alt+Shift+{H,J,K,L} to resize views | ||||
| riverctl map normal Super+Alt+Shift H resize horizontal -100 | ||||
| riverctl map normal Super+Alt+Shift J resize vertical 100 | ||||
| riverctl map normal Super+Alt+Shift K resize vertical -100 | ||||
| riverctl map normal Super+Alt+Shift L resize horizontal 100 | ||||
| 
 | ||||
| # Super + Left Mouse Button to move views | ||||
| riverctl map-pointer normal Super BTN_LEFT move-view | ||||
| 
 | ||||
| # Super + Right Mouse Button to resize views | ||||
| riverctl map-pointer normal Super BTN_RIGHT resize-view | ||||
| 
 | ||||
| # Super + Middle Mouse Button to toggle float | ||||
| riverctl map-pointer normal Super BTN_MIDDLE toggle-float | ||||
| 
 | ||||
| for i in $(seq 1 9) | ||||
| do | ||||
|     tags=$((1 << ($i - 1))) | ||||
| 
 | ||||
|     # Super+[1-9] to focus tag [0-8] | ||||
|     riverctl map normal Super $i set-focused-tags $tags | ||||
| 
 | ||||
|     # Super+Shift+[1-9] to tag focused view with tag [0-8] | ||||
|     riverctl map normal Super+Shift $i set-view-tags $tags | ||||
| 
 | ||||
|     # Super+Control+[1-9] to toggle focus of tag [0-8] | ||||
|     riverctl map normal Super+Control $i toggle-focused-tags $tags | ||||
| 
 | ||||
|     # Super+Shift+Control+[1-9] to toggle tag [0-8] of focused view | ||||
|     riverctl map normal Super+Shift+Control $i toggle-view-tags $tags | ||||
| done | ||||
| 
 | ||||
| # Super+0 to focus all tags | ||||
| # Super+Shift+0 to tag focused view with all tags | ||||
| all_tags=$(((1 << 32) - 1)) | ||||
| riverctl map normal Super 0 set-focused-tags $all_tags | ||||
| riverctl map normal Super+Shift 0 set-view-tags $all_tags | ||||
| 
 | ||||
| # Super+Space to toggle float | ||||
| riverctl map normal Super Space toggle-float | ||||
| 
 | ||||
| # Super+F to toggle fullscreen | ||||
| riverctl map normal Super F toggle-fullscreen | ||||
| 
 | ||||
| # Super+{Up,Right,Down,Left} to change layout orientation | ||||
| riverctl map normal Super Up    send-layout-cmd rivertile "main-location top" | ||||
| riverctl map normal Super Right send-layout-cmd rivertile "main-location right" | ||||
| riverctl map normal Super Down  send-layout-cmd rivertile "main-location bottom" | ||||
| riverctl map normal Super Left  send-layout-cmd rivertile "main-location left" | ||||
| 
 | ||||
| # Declare a passthrough mode. This mode has only a single mapping to return to | ||||
| # normal mode. This makes it useful for testing a nested wayland compositor | ||||
| riverctl declare-mode passthrough | ||||
| 
 | ||||
| # Super+F11 to enter passthrough mode | ||||
| riverctl map normal Super F11 enter-mode passthrough | ||||
| 
 | ||||
| # Super+F11 to return to normal mode | ||||
| riverctl map passthrough Super F11 enter-mode normal | ||||
| 
 | ||||
| # Various media key mapping examples for both normal and locked mode which do | ||||
| # not have a modifier | ||||
| for mode in normal locked | ||||
| do | ||||
|     # Eject the optical drive (well if you still have one that is) | ||||
|     riverctl map $mode None XF86Eject spawn 'eject -T' | ||||
| 
 | ||||
|     # Control pulse audio volume with pamixer (https://github.com/cdemoulins/pamixer) | ||||
|     riverctl map $mode None XF86AudioRaiseVolume  spawn 'pamixer -i 1' | ||||
|     riverctl map $mode None XF86AudioLowerVolume  spawn 'pamixer -d 1' | ||||
|     riverctl map $mode None XF86AudioMute         spawn 'pamixer --toggle-mute' | ||||
| 
 | ||||
|     # Control MPRIS aware media players with playerctl (https://github.com/altdesktop/playerctl) | ||||
|     riverctl map $mode None XF86AudioMedia spawn 'playerctl play-pause' | ||||
|     riverctl map $mode None XF86AudioPlay  spawn 'playerctl play-pause' | ||||
|     riverctl map $mode None XF86AudioPrev  spawn 'playerctl previous' | ||||
|     riverctl map $mode None XF86AudioNext  spawn 'playerctl next' | ||||
| 
 | ||||
|     # Control screen backlight brightness with brightnessctl (https://github.com/Hummer12007/brightnessctl) | ||||
|     riverctl map $mode None XF86MonBrightnessUp   spawn 'brightnessctl set +1%' | ||||
|     riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl set 1%-' | ||||
| done | ||||
| 
 | ||||
| # Set background and border color | ||||
| riverctl background-color 0x002b36 | ||||
| riverctl border-color-unfocused 0x3c3b37 | ||||
| riverctl border-color-focused 0xf07746 | ||||
| riverctl border-width 2 | ||||
| 
 | ||||
| # Set keyboard repeat rate | ||||
| riverctl set-repeat 50 300 | ||||
| 
 | ||||
| riverctl rule-add ssd | ||||
| 
 | ||||
| # Make all views with an app-id that starts with "float" and title "foo" start floating. | ||||
| riverctl rule-add -app-id 'float*' -title 'foo' float | ||||
| 
 | ||||
| # Make all views with app-id "bar" and any title use client-side decorations | ||||
| riverctl rule-add -app-id "bar" csd | ||||
| 
 | ||||
| # Set the default layout generator to be rivertile and start it. | ||||
| # River will send the process group of the init executable SIGTERM on exit. | ||||
| riverctl default-layout rivertile | ||||
| rivertile -view-padding 6 -outer-padding 6 & | ||||
| 
 | ||||
| riverctl focus-follows-cursor normal | ||||
| 
 | ||||
| riverctl map normal Super+Control O spawn 'mumble rpc starttalking' | ||||
| riverctl map normal Super O spawn 'mumble rpc stoptalking' | ||||
| riverctl map normal Super Escape spawn 'swaylock -f -C ~/.config/sway/rose-pine' | ||||
| 
 | ||||
| riverctl input pointer* tap enabled | ||||
| riverctl input pointer* click-method button-areas | ||||
| riverctl input pointer* natural-scroll enabled | ||||
| swaybg -m fill -i $HOME/Pictures/wallpapers/wallpaper & | ||||
| # pgrep creek || ( while $HOME/.config/river/bar.sh; do sleep 1; done ) | creek -fn 'Ubuntu:size=14' -nf 0xb8b8b8 -nb 0x282828 -ff 0x181818 -fb 0x7cafc2 | ||||
| swayidle -w \ | ||||
|      timeout 360 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ | ||||
|      timeout 600 'systemctl suspend-then-hibernate' \ | ||||
|      before-sleep 'swaylock -f -C ~/.config/sway/rose-pine' & | ||||
| pipewire-launch & | ||||
| waybar & | ||||
| wlr-randr --output eDP-1 --scale 1.5 | ||||
| dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP='river' | ||||
							
								
								
									
										20
									
								
								config/.config/sway/bar.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										20
									
								
								config/.config/sway/bar.sh
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,20 @@ | ||||
| #!/usr/bin/env bash | ||||
| DATE=$(date +'%Y-%m-%d %I:%M:%S %p') | ||||
| BAT=$(cat /sys/class/power_supply/BAT1/capacity) | ||||
| VOL=$(pactl get-sink-volume @DEFAULT_SINK@ | tr "," "\n" | grep \% | sed s/Volume\:// | sed 's/\%.*$//' | sed 's/^.*\///' | head -n1 | sed s/\ *//) | ||||
| VOL="${VOL}%" | ||||
| MUTED=$(pactl get-sink-mute @DEFAULT_SINK@ | cut -d\  -f2) | ||||
| BRIGHT=$(brightnessctl | tr "\n" " " | cut -d\  -f9 | tr -d "()%") | ||||
| MEM=$(free -h | sed 's/[  ]\+/:/g' | cut -d\: -f4 | tr "\n" ":" | cut -d\: -f2) | ||||
| USER=$(id -u -n) | ||||
| HOST=$(cat /proc/sys/kernel/hostname) | ||||
| LAYOUT=$(swaymsg -t get_inputs | jq -r '.[] | select( .type == "keyboard") .xkb_active_layout_name' | tr "\n" ":" | cut -d\: -f1 | cut -d\  -f2| tr -d "()") | ||||
| NETWORK_NAME=$(iwctl station wlan0 show | grep network | sed s/"Connected network"// | tr -d " ") | ||||
| IP=$(iwctl station wlan0 show | grep IPv4 | sed s/"IPv4 address"// | tr -d " ") | ||||
| 
 | ||||
| if [ $MUTED == 'yes' ] | ||||
| then | ||||
|     VOL='muted' | ||||
| fi | ||||
| 
 | ||||
| echo ${MEM} \| ${USER}\@${HOST} \| KB\: ${LAYOUT} \| ${NETWORK_NAME}\@${IP} \| Vol: ${VOL}  \| ${BRIGHT}% Backlight \| ${BAT}\% Bat \| ${DATE} | ||||
							
								
								
									
										284
									
								
								config/.config/sway/config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										284
									
								
								config/.config/sway/config
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,284 @@ | ||||
| # Default config for sway | ||||
| # | ||||
| # Copy this to ~/.config/sway/config and edit it to your liking. | ||||
| # | ||||
| # Read `man 5 sway` for a complete reference. | ||||
| 
 | ||||
| ### Variables | ||||
| # | ||||
| # Logo key. Use Mod1 for Alt. | ||||
| set $mod Mod4 | ||||
| # Home row direction keys, like vim | ||||
| set $left h | ||||
| set $down j | ||||
| set $up k | ||||
| set $right l | ||||
| # Your preferred terminal emulator | ||||
| #set $term foot -f Fairfax\ Hax\ HD:size=14 | ||||
| set $term alacritty | ||||
| # Your preferred application launcher | ||||
| # Note: pass the final command to swaymsg so that the resulting window can be opened | ||||
| # on the original workspace that the command was run on. | ||||
| # set $menu bemenu-run --fn "BigBlueTermPlus Nerd Font 12" | xargs swaymsg exec -- | ||||
| # set $menu bemenu-run --fn "Terminess Nerd Font 12" | xargs swaymsg exec -- | ||||
| set $menu bemenu-run --fn "Ubuntu Mono 14" | xargs swaymsg exec -- | ||||
| # set $menu bemenu-run --fn "Cascadia Code 12" | xargs swaymsg exec -- | ||||
| 
 | ||||
| # WOB | ||||
| set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock | ||||
| exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob | ||||
| exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK | ||||
| exec export XDG_SESSION_TYPE=wayland | ||||
| exec export XDG_CURRENT_DESKTOP=sway | ||||
| 
 | ||||
| ### | ||||
| ### Output configuration | ||||
| # | ||||
| # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) | ||||
| output * bg $HOME/Pictures/wallpapers/wallpaper fill | ||||
| # | ||||
| # Example configuration: | ||||
| # | ||||
| output eDP-1 scale 1.5 | ||||
| # | ||||
| # You can get the names of your outputs by running: swaymsg -t get_outputs | ||||
| output DP-2 mode 2560x1440@165.000Hz | ||||
| output DP-2 adaptive_sync on | ||||
| 
 | ||||
| font "Ubuntu 10" | ||||
| ### Idle configuration | ||||
| # | ||||
| # Example configuration: | ||||
| # | ||||
| exec swayidle -w \ | ||||
|           timeout 360 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ | ||||
|           timeout 600 'systemctl suspend-then-hibernate' \ | ||||
|           before-sleep 'swaylock -f -c 000000' | ||||
| 
 | ||||
| # set $lock 'swaylock -f' | ||||
| # | ||||
| # bindswitch --reload --locked lid:on exec $lock | ||||
| 
 | ||||
| # This will lock your screen after 300 seconds of inactivity, then turn off | ||||
| # your displays after another 300 seconds, and turn your screens back on when | ||||
| # resumed. It will also lock your screen before your computer goes to sleep. | ||||
| 
 | ||||
| ### Input configuration | ||||
| # | ||||
| # Example configuration: | ||||
| # | ||||
| input "type:touchpad" { | ||||
|     dwt enabled | ||||
|     tap enabled | ||||
|     natural_scroll enabled | ||||
|     #middle_emulation enabled | ||||
| } | ||||
| # | ||||
| # You can get the names of your inputs by running: swaymsg -t get_inputs | ||||
| # Read `man 5 sway-input` for more information about this section. | ||||
| 
 | ||||
| ### Key bindings | ||||
| # | ||||
| # Basics: | ||||
| # | ||||
|     # Start a terminal | ||||
|     bindsym $mod+Return exec $term | ||||
| 
 | ||||
|     # Kill focused window | ||||
|     bindsym $mod+Shift+q kill | ||||
| 
 | ||||
|     bindsym $mod+Escape exec swaylock -f -c 000000 | ||||
| 
 | ||||
|     # Start your launcher | ||||
|     bindsym $mod+d exec $menu | ||||
| 
 | ||||
|     bindsym $mod+n exec ghostty -e nvim | ||||
|     # bindsym $mod+n exec emacsclient -c | ||||
|     # Drag floating windows by holding down $mod and left mouse button. | ||||
|     # Resize them with right mouse button + $mod. | ||||
|     # Despite the name, also works for non-floating windows. | ||||
|     # Change normal to inverse to use left mouse button for resizing and right | ||||
|     # mouse button for dragging. | ||||
|     floating_modifier $mod normal | ||||
| 
 | ||||
|     # Reload the configuration file | ||||
|     bindsym $mod+Shift+c reload | ||||
| 
 | ||||
|     # Exit sway (logs you out of your Wayland session) | ||||
|     # bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' | ||||
|     bindsym $mod+Shift+e exec swaymsg exit | ||||
| # | ||||
| # Moving around: | ||||
| # | ||||
|     # Move your focus around | ||||
|     bindsym $mod+$left focus left | ||||
|     bindsym $mod+$down focus down | ||||
|     bindsym $mod+$up focus up | ||||
|     bindsym $mod+$right focus right | ||||
|     # Or use $mod+[up|down|left|right] | ||||
|     bindsym $mod+Left focus left | ||||
|     bindsym $mod+Down focus down | ||||
|     bindsym $mod+Up focus up | ||||
|     bindsym $mod+Right focus right | ||||
| 
 | ||||
|     # Move the focused window with the same, but add Shift | ||||
|     bindsym $mod+Shift+$left move left | ||||
|     bindsym $mod+Shift+$down move down | ||||
|     bindsym $mod+Shift+$up move up | ||||
|     bindsym $mod+Shift+$right move right | ||||
|     # Ditto, with arrow keys | ||||
|     bindsym $mod+Shift+Left move left | ||||
|     bindsym $mod+Shift+Down move down | ||||
|     bindsym $mod+Shift+Up move up | ||||
|     bindsym $mod+Shift+Right move right | ||||
| # | ||||
| # Workspaces: | ||||
| # | ||||
|     # Switch to workspace | ||||
|     bindsym $mod+1 workspace number 1 | ||||
|     bindsym $mod+2 workspace number 2 | ||||
|     bindsym $mod+3 workspace number 3 | ||||
|     bindsym $mod+4 workspace number 4 | ||||
|     bindsym $mod+5 workspace number 5 | ||||
|     bindsym $mod+6 workspace number 6 | ||||
|     bindsym $mod+7 workspace number 7 | ||||
|     bindsym $mod+8 workspace number 8 | ||||
|     bindsym $mod+9 workspace number 9 | ||||
|     bindsym $mod+0 workspace number 10 | ||||
|     # Move focused container to workspace | ||||
|     bindsym $mod+Shift+1 move container to workspace number 1 | ||||
|     bindsym $mod+Shift+2 move container to workspace number 2 | ||||
|     bindsym $mod+Shift+3 move container to workspace number 3 | ||||
|     bindsym $mod+Shift+4 move container to workspace number 4 | ||||
|     bindsym $mod+Shift+5 move container to workspace number 5 | ||||
|     bindsym $mod+Shift+6 move container to workspace number 6 | ||||
|     bindsym $mod+Shift+7 move container to workspace number 7 | ||||
|     bindsym $mod+Shift+8 move container to workspace number 8 | ||||
|     bindsym $mod+Shift+9 move container to workspace number 9 | ||||
|     bindsym $mod+Shift+0 move container to workspace number 10 | ||||
|     # Note: workspaces can have any name you want, not just numbers. | ||||
|     # We just use 1-10 as the default. | ||||
|     bindsym --whole-window --no-repeat BTN_FORWARD exec mumble rpc starttalking | ||||
|     bindsym --whole-window --release --no-warn BTN_FORWARD exec mumble rpc stoptalking | ||||
|     bindsym --whole-window Control+BTN_FORWARD exec mumble rpc stoptalking | ||||
| # | ||||
| # Layout stuff: | ||||
| # | ||||
|     # You can "split" the current object of your focus with | ||||
|     # $mod+b or $mod+v, for horizontal and vertical splits | ||||
|     # respectively. | ||||
|     bindsym $mod+b splith | ||||
|     bindsym $mod+v splitv | ||||
| 
 | ||||
|     # Switch the current container between different layout styles | ||||
|     bindsym $mod+s layout stacking | ||||
|     bindsym $mod+w layout tabbed | ||||
|     bindsym $mod+e layout toggle split | ||||
| 
 | ||||
|     # Make the current focus fullscreen | ||||
|     bindsym $mod+f fullscreen | ||||
| 
 | ||||
|     # Toggle the current focus between tiling and floating mode | ||||
|     bindsym $mod+Shift+space floating toggle | ||||
| 
 | ||||
|     # Swap focus between the tiling area and the floating area | ||||
|     bindsym $mod+space focus mode_toggle | ||||
| 
 | ||||
|     # Move focus to the parent container | ||||
|     bindsym $mod+a focus parent | ||||
| # | ||||
| # Scratchpad: | ||||
| # | ||||
|     # Sway has a "scratchpad", which is a bag of holding for windows. | ||||
|     # You can send windows there and get them back later. | ||||
| 
 | ||||
|     # Move the currently focused window to the scratchpad | ||||
|     bindsym $mod+Shift+minus move scratchpad | ||||
| 
 | ||||
|     # Show the next scratchpad window or hide the focused scratchpad window. | ||||
|     # If there are multiple scratchpad windows, this command cycles through them. | ||||
|     bindsym $mod+minus scratchpad show | ||||
| # | ||||
| # Resizing containers: | ||||
| # | ||||
| mode "resize" { | ||||
|     # left will shrink the containers width | ||||
|     # right will grow the containers width | ||||
|     # up will shrink the containers height | ||||
|     # down will grow the containers height | ||||
|     bindsym $left resize shrink width 10px | ||||
|     bindsym $down resize grow height 10px | ||||
|     bindsym $up resize shrink height 10px | ||||
|     bindsym $right resize grow width 10px | ||||
| 
 | ||||
|     # Ditto, with arrow keys | ||||
|     bindsym Left resize shrink width 10px | ||||
|     bindsym Down resize grow height 10px | ||||
|     bindsym Up resize shrink height 10px | ||||
|     bindsym Right resize grow width 10px | ||||
| 
 | ||||
|     # Return to default mode | ||||
|     bindsym Return mode "default" | ||||
|     bindsym Escape mode "default" | ||||
| } | ||||
| bindsym $mod+r mode "resize" | ||||
| 
 | ||||
| # | ||||
| # Status Bar: | ||||
| # | ||||
| # Read `man 5 sway-bar` for more information about this section. | ||||
| bar { | ||||
|     position top | ||||
|     font "Ubuntu 11" | ||||
|     # When the status_command prints a new line to stdout, swaybar updates. | ||||
|     # The default just shows the current date and time. | ||||
|     status_command while ~/.config/sway/bar.sh; do sleep 1; done | ||||
| 
 | ||||
|     colors { | ||||
|         statusline #dfdbd2 | ||||
|         # statusline #C0C0C0 | ||||
|         background #3c3b37 | ||||
|         # background #C0C0C0 | ||||
|         inactive_workspace #3c3b37 #3c3b37 #dfdbd2 | ||||
|         # inactive_workspace #292A30 #292A30 #2F3037 | ||||
|         # inactive_workspace #c0c0c0 #c0c0c0 #ffffff | ||||
|         focused_workspace #f07746 #f07746 #ffffff | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| ## Custom Config | ||||
| default_border pixel 2 | ||||
| gaps outer 4 | ||||
| gaps inner 8 | ||||
| 
 | ||||
| client.focused #f07746 #3c3b37 #dfdbd2 #f07746 #f07746 | ||||
| client.unfocused #f07746 #3c3b37 #dfdbd2 #f07746 #3c3b37 | ||||
| input "type:keyboard" { | ||||
|       xkb_layout us,il | ||||
| } | ||||
| bindsym Mod1+Shift+space input "type:keyboard" xkb_switch_layout 0 | ||||
| bindsym Mod1+space input "type:keyboard" xkb_switch_layout 1 | ||||
| 
 | ||||
| bindsym $mod+u output eDP-1 scale 1 | ||||
| bindsym $mod+i output eDP-1 scale 1.5 | ||||
| bindsym $mod+o output eDP-1 scale 2 | ||||
| 
 | ||||
| # Multimedia | ||||
| bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK | ||||
| bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK | ||||
| bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle | ||||
| bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle | ||||
| bindsym XF86MonBrightnessDown exec brightnessctl set 1%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK | ||||
| bindsym XF86MonBrightnessUp exec brightnessctl set +1% | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK | ||||
| bindsym XF86AudioPlay exec playerctl play-pause | ||||
| bindsym XF86AudioNext exec playerctl next | ||||
| bindsym XF86AudioPrev exec playerctl previous | ||||
| bindsym XF86Search exec bemenu-run | ||||
| 
 | ||||
| # Screenshot | ||||
| bindsym $mod+p exec grim -g "$(slurp)" | ||||
| exec "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" | ||||
| 
 | ||||
| smart_borders on | ||||
| 
 | ||||
| include /etc/sway/config.d/* | ||||
							
								
								
									
										259
									
								
								config/.config/sway/config.bak
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										259
									
								
								config/.config/sway/config.bak
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,259 @@ | ||||
| # Default config for sway | ||||
| # | ||||
| # Copy this to ~/.config/sway/config and edit it to your liking. | ||||
| # | ||||
| # Read `man 5 sway` for a complete reference. | ||||
| 
 | ||||
| ### Variables | ||||
| # | ||||
| # Logo key. Use Mod1 for Alt. | ||||
| set $mod Mod4 | ||||
| # Home row direction keys, like vim | ||||
| set $left h | ||||
| set $down j | ||||
| set $up k | ||||
| set $right l | ||||
| # Your preferred terminal emulator | ||||
| set $term ghostty | ||||
| # Your preferred application launcher | ||||
| # Note: pass the final command to swaymsg so that the resulting window can be opened | ||||
| # on the original workspace that the command was run on. | ||||
| set $menu bemenu-run | xargs swaymsg exec -- | ||||
| 
 | ||||
| ### Output configuration | ||||
| # | ||||
| # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) | ||||
| # output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill | ||||
| output "*" bg $HOME/Pictures/wallpapers/wallpaper fill | ||||
| # Example configuration: | ||||
| # | ||||
| #output DP-1 resolution 2560x1440@165Hz position 1680,0 adaptive_sync on | ||||
| output DP-2 resolution 2560x1440@165Hz position 0,0 adaptive_sync on | ||||
| # output DP-2 resolution 1680x1050 position 0,390 | ||||
| #   output HDMI-A-1 resolution 1920x1080 position 1920,0 | ||||
| # | ||||
| # You can get the names of your outputs by running: swaymsg -t get_outputs | ||||
| 
 | ||||
| ### Idle configuration | ||||
| # | ||||
| # Example configuration: | ||||
| # | ||||
| # exec swayidle -w \ | ||||
| #          timeout 300 'swaylock -f -c 000000' \ | ||||
| #          timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ | ||||
| #          before-sleep 'swaylock -f -c 000000' | ||||
| # | ||||
| # This will lock your screen after 300 seconds of inactivity, then turn off | ||||
| # your displays after another 300 seconds, and turn your screens back on when | ||||
| # resumed. It will also lock your screen before your computer goes to sleep. | ||||
| 
 | ||||
| ### Input configuration | ||||
| # | ||||
| # Example configuration: | ||||
| # | ||||
| #   input "2:14:SynPS/2_Synaptics_TouchPad" { | ||||
| #       dwt enabled | ||||
| #       tap enabled | ||||
| #       natural_scroll enabled | ||||
| #       middle_emulation enabled | ||||
| #   } | ||||
| # | ||||
| # You can get the names of your inputs by running: swaymsg -t get_inputs | ||||
| # Read `man 5 sway-input` for more information about this section. | ||||
| 
 | ||||
| ### Key bindings | ||||
| # | ||||
| # Basics: | ||||
| # | ||||
|     # Start a terminal | ||||
|     bindsym $mod+Return exec $term | ||||
| 
 | ||||
|     bindsym $mod+Escape exec swaylock -f -c 000000 | ||||
|     # Kill focused window | ||||
|     bindsym $mod+Shift+q kill | ||||
| 
 | ||||
|     # Start your launcher | ||||
|     bindsym $mod+d exec $menu | ||||
| 
 | ||||
|     # bindsym $mod+n exec emacsclient -c | ||||
|     bindsym $mod+n exec kitty -e nvim | ||||
| 
 | ||||
| 
 | ||||
|     # Drag floating windows by holding down $mod and left mouse button. | ||||
|     # Resize them with right mouse button + $mod. | ||||
|     # Despite the name, also works for non-floating windows. | ||||
|     # Change normal to inverse to use left mouse button for resizing and right | ||||
|     # mouse button for dragging. | ||||
|     floating_modifier $mod normal | ||||
| 
 | ||||
|     # Reload the configuration file | ||||
|     bindsym $mod+Shift+c reload | ||||
| 
 | ||||
|     # Exit sway (logs you out of your Wayland session) | ||||
|     bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' | ||||
| # | ||||
| # Moving around: | ||||
| # | ||||
|     # Move your focus around | ||||
|     bindsym $mod+$left focus left | ||||
|     bindsym $mod+$down focus down | ||||
|     bindsym $mod+$up focus up | ||||
|     bindsym $mod+$right focus right | ||||
|     # Or use $mod+[up|down|left|right] | ||||
|     bindsym $mod+Left focus left | ||||
|     bindsym $mod+Down focus down | ||||
|     bindsym $mod+Up focus up | ||||
|     bindsym $mod+Right focus right | ||||
| 
 | ||||
|     # Move the focused window with the same, but add Shift | ||||
|     bindsym $mod+Shift+$left move left | ||||
|     bindsym $mod+Shift+$down move down | ||||
|     bindsym $mod+Shift+$up move up | ||||
|     bindsym $mod+Shift+$right move right | ||||
|     # Ditto, with arrow keys | ||||
|     bindsym $mod+Shift+Left move left | ||||
|     bindsym $mod+Shift+Down move down | ||||
|     bindsym $mod+Shift+Up move up | ||||
|     bindsym $mod+Shift+Right move right | ||||
| # | ||||
| # Workspaces: | ||||
| # | ||||
|     # Switch to workspace | ||||
|     bindsym $mod+1 workspace number 1 | ||||
|     bindsym $mod+2 workspace number 2 | ||||
|     bindsym $mod+3 workspace number 3 | ||||
|     bindsym $mod+4 workspace number 4 | ||||
|     bindsym $mod+5 workspace number 5 | ||||
|     bindsym $mod+6 workspace number 6 | ||||
|     bindsym $mod+7 workspace number 7 | ||||
|     bindsym $mod+8 workspace number 8 | ||||
|     bindsym $mod+9 workspace number 9 | ||||
|     bindsym $mod+0 workspace number 10 | ||||
|     # Move focused container to workspace | ||||
|     bindsym $mod+Shift+1 move container to workspace number 1 | ||||
|     bindsym $mod+Shift+2 move container to workspace number 2 | ||||
|     bindsym $mod+Shift+3 move container to workspace number 3 | ||||
|     bindsym $mod+Shift+4 move container to workspace number 4 | ||||
|     bindsym $mod+Shift+5 move container to workspace number 5 | ||||
|     bindsym $mod+Shift+6 move container to workspace number 6 | ||||
|     bindsym $mod+Shift+7 move container to workspace number 7 | ||||
|     bindsym $mod+Shift+8 move container to workspace number 8 | ||||
|     bindsym $mod+Shift+9 move container to workspace number 9 | ||||
|     bindsym $mod+Shift+0 move container to workspace number 10 | ||||
|     # Note: workspaces can have any name you want, not just numbers. | ||||
|     # We just use 1-10 as the default. | ||||
| # | ||||
| # Layout stuff: | ||||
| # | ||||
|     # You can "split" the current object of your focus with | ||||
|     # $mod+b or $mod+v, for horizontal and vertical splits | ||||
|     # respectively. | ||||
|     bindsym $mod+b splith | ||||
|     bindsym $mod+v splitv | ||||
| 
 | ||||
|     # Switch the current container between different layout styles | ||||
|     bindsym $mod+s layout stacking | ||||
|     bindsym $mod+w layout tabbed | ||||
|     bindsym $mod+e layout toggle split | ||||
| 
 | ||||
|     # Make the current focus fullscreen | ||||
|     bindsym $mod+f fullscreen | ||||
| 
 | ||||
|     # Toggle the current focus between tiling and floating mode | ||||
|     bindsym $mod+Shift+space floating toggle | ||||
| 
 | ||||
|     # Swap focus between the tiling area and the floating area | ||||
|     bindsym $mod+space focus mode_toggle | ||||
| 
 | ||||
|     # Move focus to the parent container | ||||
|     bindsym $mod+a focus parent | ||||
| # | ||||
| # Scratchpad: | ||||
| # | ||||
|     # Sway has a "scratchpad", which is a bag of holding for windows. | ||||
|     # You can send windows there and get them back later. | ||||
| 
 | ||||
|     # Move the currently focused window to the scratchpad | ||||
|     bindsym $mod+Shift+minus move scratchpad | ||||
| 
 | ||||
|     # Show the next scratchpad window or hide the focused scratchpad window. | ||||
|     # If there are multiple scratchpad windows, this command cycles through them. | ||||
|     bindsym $mod+minus scratchpad show | ||||
| # | ||||
| # Resizing containers: | ||||
| # | ||||
| mode "resize" { | ||||
|     # left will shrink the containers width | ||||
|     # right will grow the containers width | ||||
|     # up will shrink the containers height | ||||
|     # down will grow the containers height | ||||
|     bindsym $left resize shrink width 10px | ||||
|     bindsym $down resize grow height 10px | ||||
|     bindsym $up resize shrink height 10px | ||||
|     bindsym $right resize grow width 10px | ||||
| 
 | ||||
|     # Ditto, with arrow keys | ||||
|     bindsym Left resize shrink width 10px | ||||
|     bindsym Down resize grow height 10px | ||||
|     bindsym Up resize shrink height 10px | ||||
|     bindsym Right resize grow width 10px | ||||
| 
 | ||||
|     # Return to default mode | ||||
|     bindsym Return mode "default" | ||||
|     bindsym Escape mode "default" | ||||
| } | ||||
| bindsym $mod+r mode "resize" | ||||
| 
 | ||||
| # | ||||
| # Status Bar: | ||||
| # | ||||
| # Read `man 5 sway-bar` for more information about this section. | ||||
| bar { | ||||
|     position top | ||||
| 
 | ||||
|     # When the status_command prints a new line to stdout, swaybar updates. | ||||
|     # The default just shows the current date and time. | ||||
|     status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done | ||||
| 
 | ||||
|     tray_bindsym button1 Activate | ||||
|     tray_bindsym button3 SecondaryActivate | ||||
|     tray_bindsym button2 ContextMenu | ||||
|     colors { | ||||
|         statusline #ffffff | ||||
|         background #323232 | ||||
|         inactive_workspace #4e95c2 #4e95c2 #2c2c2c | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| ## Custom Config | ||||
| default_border pixel 2 | ||||
| gaps outer 4 | ||||
| gaps inner 8 | ||||
| 
 | ||||
| input "type:keyboard" { | ||||
|     xkb_layout us,il | ||||
| } | ||||
| bindsym Mod1+space input "type:keyboard" xkb_switch_layout 1 | ||||
| bindsym Mod1+Shift+space input "type:keyboard" xkb_switch_layout 0 | ||||
| 
 | ||||
| # Multimedia | ||||
| bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% | ||||
| bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% | ||||
| bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle | ||||
| bindsym $mod+Mod1+r exec pactl set-sink-volume @DEFAULT_SINK@ +5% | ||||
| bindsym $mod+Mod1+f exec pactl set-sink-volume @DEFAULT_SINK@ -5% | ||||
| bindsym $mod+Mod1+v exec pactl set-sink-mute @DEFAULT_SINK@ toggle | ||||
| bindsym $mod+Mod1+t exec playerctl play-pause | ||||
| bindsym $mod+Mod1+g exec playerctl next | ||||
| bindsym $mod+Mod1+b exec playerctl previous | ||||
| bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle | ||||
| bindsym XF86MonBrightnessDown exec brightnessctl set 5%- | ||||
| bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ | ||||
| bindsym XF86AudioPlay exec playerctl play-pause | ||||
| bindsym XF86AudioNext exec playerctl next | ||||
| bindsym XF86AudioPrev exec playerctl previous | ||||
| bindsym XF86Search exec bemenu-run | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| include /etc/sway/config.d/* | ||||
							
								
								
									
										45
									
								
								config/.config/sway/rose-pine
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								config/.config/sway/rose-pine
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,45 @@ | ||||
| # Background color | ||||
| color=#191724 | ||||
| 
 | ||||
| # Layout text colors | ||||
| layout-bg-color=#00000000 | ||||
| layout-border-color=#00000000 | ||||
| layout-text-color=#e0def4 | ||||
| 
 | ||||
| # Text color | ||||
| text-color=#31748f | ||||
| text-clear-color=#9ccfd8 | ||||
| text-caps-lock-color=#f6c177 | ||||
| text-ver-color=#c4a7e7 | ||||
| text-wrong-color=#eb6f92 | ||||
| 
 | ||||
| # Highlight segments | ||||
| bs-hl-color=#19172466 | ||||
| key-hl-color=#31748f | ||||
| caps-lock-bs-hl-color=#19172466 | ||||
| caps-lock-key-hl-color=#f6c177 | ||||
| 
 | ||||
| # Highlight segments separator | ||||
| separator-color=#00000000 | ||||
| 
 | ||||
| # Inside of the indicator | ||||
| inside-color=#31748f55 | ||||
| inside-clear-color=#9ccfd855 | ||||
| inside-caps-lock-color=#f6c17755 | ||||
| inside-ver-color=#c4a7e755 | ||||
| inside-wrong-color=#eb6f9255 | ||||
| 
 | ||||
| # Line between the inside and ring | ||||
| line-color=#31748f11 | ||||
| line-clear-color=#9ccfd811 | ||||
| line-caps-lock-color=#f6c17711 | ||||
| line-ver-color=#c4a7e711 | ||||
| line-wrong-color=#eb6f9211 | ||||
| 
 | ||||
| # Indicator ring | ||||
| ring-color=#31748faa | ||||
| ring-clear-color=#9ccfd8aa | ||||
| ring-caps-lock-color=#f6c177aa | ||||
| ring-ver-color=#c4a7e7aa | ||||
| ring-wrong-color=#eb6f92aa | ||||
| 
 | ||||
| @ -31,7 +31,7 @@ super + p | ||||
|     dmenu_run | ||||
| # Terminal | ||||
| super + Return | ||||
|     st | ||||
|     ghostty | ||||
| # Screenshot | ||||
| super + shift + s | ||||
|     scrot -s -e 'xclip -selection clipboard -t image/png -i $f' ~/Pictures/screenshots/%Y-%m-%d-%T-screenshot.png | ||||
|  | ||||
							
								
								
									
										214
									
								
								config/.config/waybar/config.jsonc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										214
									
								
								config/.config/waybar/config.jsonc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,214 @@ | ||||
| // -*- mode: jsonc -*- | ||||
| { | ||||
|     // "layer": "top", // Waybar at top layer | ||||
|     // "position": "bottom", // Waybar position (top|bottom|left|right) | ||||
|     "height": 30, // Waybar height (to be removed for auto height) | ||||
|     // "width": 1280, // Waybar width | ||||
|     "spacing": 4, // Gaps between modules (4px) | ||||
|     // Choose the order of the modules | ||||
|     "modules-left": [ | ||||
|         "river/tags", | ||||
|         "river/mode", | ||||
|         "river/layout", | ||||
|         "custom/media" | ||||
|     ], | ||||
| //    "modules-center": [ | ||||
| //        "river/window" | ||||
| //    ], | ||||
|     "modules-right": [ | ||||
|         "idle_inhibitor", | ||||
|         "pulseaudio", | ||||
|         "network", | ||||
|         "power-profiles-daemon", | ||||
|         "cpu", | ||||
|         "memory", | ||||
|         "temperature", | ||||
|         "backlight", | ||||
|         "keyboard-state", | ||||
|         "sway/language", | ||||
|         "battery", | ||||
|         "battery#bat2", | ||||
|         "clock", | ||||
|         "tray", | ||||
|         "custom/power" | ||||
|     ], | ||||
|     // Modules configuration | ||||
|     // "sway/workspaces": { | ||||
|     //     "disable-scroll": true, | ||||
|     //     "all-outputs": true, | ||||
|     //     "warp-on-scroll": false, | ||||
|     //     "format": "{name}: {icon}", | ||||
|     //     "format-icons": { | ||||
|     //         "1": "", | ||||
|     //         "2": "", | ||||
|     //         "3": "", | ||||
|     //         "4": "", | ||||
|     //         "5": "", | ||||
|     //         "urgent": "", | ||||
|     //         "focused": "", | ||||
|     //         "default": "" | ||||
|     //     } | ||||
|     // }, | ||||
|     "keyboard-state": { | ||||
|         "numlock": true, | ||||
|         "capslock": true, | ||||
|         "format": "{name} {icon}", | ||||
|         "format-icons": { | ||||
|             "locked": "", | ||||
|             "unlocked": "" | ||||
|         } | ||||
|     }, | ||||
|     "sway/mode": { | ||||
|         "format": "<span style=\"italic\">{}</span>" | ||||
|     }, | ||||
|     "sway/scratchpad": { | ||||
|         "format": "{icon} {count}", | ||||
|         "show-empty": false, | ||||
|         "format-icons": ["", ""], | ||||
|         "tooltip": true, | ||||
|         "tooltip-format": "{app}: {title}" | ||||
|     }, | ||||
|     "mpd": { | ||||
|         "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", | ||||
|         "format-disconnected": "Disconnected ", | ||||
|         "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", | ||||
|         "unknown-tag": "N/A", | ||||
|         "interval": 5, | ||||
|         "consume-icons": { | ||||
|             "on": " " | ||||
|         }, | ||||
|         "random-icons": { | ||||
|             "off": "<span color=\"#f53c3c\"></span> ", | ||||
|             "on": " " | ||||
|         }, | ||||
|         "repeat-icons": { | ||||
|             "on": " " | ||||
|         }, | ||||
|         "single-icons": { | ||||
|             "on": "1 " | ||||
|         }, | ||||
|         "state-icons": { | ||||
|             "paused": "", | ||||
|             "playing": "" | ||||
|         }, | ||||
|         "tooltip-format": "MPD (connected)", | ||||
|         "tooltip-format-disconnected": "MPD (disconnected)" | ||||
|     }, | ||||
|     "idle_inhibitor": { | ||||
|         "format": "{icon}", | ||||
|         "format-icons": { | ||||
|             "activated": "", | ||||
|             "deactivated": "" | ||||
|         } | ||||
|     }, | ||||
|     "tray": { | ||||
|         // "icon-size": 21, | ||||
|         "spacing": 10 | ||||
|     }, | ||||
|     "clock": { | ||||
|         "timezone": "America/New_York", | ||||
|         "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", | ||||
|         "format-alt": "{:%Y-%m-%d}" | ||||
|     }, | ||||
|     "cpu": { | ||||
|         "format": "{usage}% ", | ||||
|         "tooltip": false | ||||
|     }, | ||||
|     "memory": { | ||||
|         "format": "{}% " | ||||
|     }, | ||||
|     "temperature": { | ||||
|         // "thermal-zone": 2, | ||||
|         // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", | ||||
|         "critical-threshold": 80, | ||||
|         // "format-critical": "{temperatureC}°C {icon}", | ||||
|         "format": "{temperatureC}°C {icon}", | ||||
|         "format-icons": ["", "", ""] | ||||
|     }, | ||||
|     "backlight": { | ||||
|         // "device": "acpi_video1", | ||||
|         "format": "{percent}% {icon}", | ||||
|         "format-icons": ["", "", "", "", "", "", "", "", ""] | ||||
|     }, | ||||
|     "battery": { | ||||
|         "states": { | ||||
|             // "good": 95, | ||||
|             "warning": 30, | ||||
|             "critical": 15 | ||||
|         }, | ||||
|         "format": "{capacity}% {icon}", | ||||
|         "format-full": "{capacity}% {icon}", | ||||
|         "format-charging": "{capacity}% ", | ||||
|         "format-plugged": "{capacity}% ", | ||||
|         "format-alt": "{time} {icon}", | ||||
|         // "format-good": "", // An empty format will hide the module | ||||
|         // "format-full": "", | ||||
|         "format-icons": ["", "", "", "", ""] | ||||
|     }, | ||||
|     "battery#bat2": { | ||||
|         "bat": "BAT2" | ||||
|     }, | ||||
|     "power-profiles-daemon": { | ||||
|       "format": "{icon}", | ||||
|       "tooltip-format": "Power profile: {profile}\nDriver: {driver}", | ||||
|       "tooltip": true, | ||||
|       "format-icons": { | ||||
|         "default": "", | ||||
|         "performance": "", | ||||
|         "balanced": "", | ||||
|         "power-saver": "" | ||||
|       } | ||||
|     }, | ||||
|     "network": { | ||||
|         // "interface": "wlp2*", // (Optional) To force the use of this interface | ||||
|         "format-wifi": "{essid} ({signalStrength}%) ", | ||||
|         "format-ethernet": "{ipaddr}/{cidr} ", | ||||
|         "tooltip-format": "{ifname} via {gwaddr} ", | ||||
|         "format-linked": "{ifname} (No IP) ", | ||||
|         "format-disconnected": "Disconnected ⚠", | ||||
|         "format-alt": "{ifname}: {ipaddr}/{cidr}" | ||||
|     }, | ||||
|     "pulseaudio": { | ||||
|         // "scroll-step": 1, // %, can be a float | ||||
|         "format": "{volume}% {icon} {format_source}", | ||||
|         "format-bluetooth": "{volume}% {icon} {format_source}", | ||||
|         "format-bluetooth-muted": " {icon} {format_source}", | ||||
|         "format-muted": " {format_source}", | ||||
|         "format-source": "{volume}% ", | ||||
|         "format-source-muted": "", | ||||
|         "format-icons": { | ||||
|             "headphone": "", | ||||
|             "hands-free": "", | ||||
|             "headset": "", | ||||
|             "phone": "", | ||||
|             "portable": "", | ||||
|             "car": "", | ||||
|             "default": ["", "", ""] | ||||
|         }, | ||||
|         "on-click": "pavucontrol" | ||||
|     }, | ||||
|     "custom/media": { | ||||
|         "format": "{icon} {}", | ||||
|         "return-type": "json", | ||||
|         "max-length": 40, | ||||
|         "format-icons": { | ||||
|             "spotify": "", | ||||
|             "default": "🎜" | ||||
|         }, | ||||
|         "escape": true, | ||||
|         "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder | ||||
|         // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name | ||||
|     }, | ||||
|     "custom/power": { | ||||
|         "format" : "⏻ ", | ||||
| 		"tooltip": false, | ||||
| 		"menu": "on-click", | ||||
| 		"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder | ||||
| 		"menu-actions": { | ||||
| 			"shutdown": "shutdown", | ||||
| 			"reboot": "reboot", | ||||
| 			"suspend": "systemctl suspend", | ||||
| 			"hibernate": "systemctl hibernate" | ||||
| 		} | ||||
|     } | ||||
| } | ||||
							
								
								
									
										351
									
								
								config/.config/waybar/style.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										351
									
								
								config/.config/waybar/style.css
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,351 @@ | ||||
| * { | ||||
|     /* `otf-font-awesome` is required to be installed for icons */ | ||||
|     font-family: FontAwesome, Iosevka Term SS12, Roboto, Helvetica, Arial, sans-serif; | ||||
|     font-size: 13px; | ||||
| } | ||||
| 
 | ||||
| window#waybar { | ||||
|     background-color: rgba(43, 48, 59, 0.5); | ||||
|     border-bottom: 3px solid rgba(100, 114, 125, 0.5); | ||||
|     color: #ffffff; | ||||
|     transition-property: background-color; | ||||
|     transition-duration: .5s; | ||||
| } | ||||
| 
 | ||||
| window#waybar.hidden { | ||||
|     opacity: 0.2; | ||||
| } | ||||
| 
 | ||||
| /* | ||||
| window#waybar.empty { | ||||
|     background-color: transparent; | ||||
| } | ||||
| window#waybar.solo { | ||||
|     background-color: #FFFFFF; | ||||
| } | ||||
| */ | ||||
| 
 | ||||
| window#waybar.termite { | ||||
|     background-color: #3F3F3F; | ||||
| } | ||||
| 
 | ||||
| window#waybar.chromium { | ||||
|     background-color: #000000; | ||||
|     border: none; | ||||
| } | ||||
| 
 | ||||
| button { | ||||
|     /* Use box-shadow instead of border so the text isn't offset */ | ||||
|     box-shadow: inset 0 -3px transparent; | ||||
|     /* Avoid rounded borders under each button name */ | ||||
|     border: none; | ||||
|     border-radius: 0; | ||||
| } | ||||
| 
 | ||||
| /* 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; | ||||
| } | ||||
| 
 | ||||
| /* you can set a style on hover for any module like this */ | ||||
| #pulseaudio:hover { | ||||
|     background-color: #a37800; | ||||
| } | ||||
| 
 | ||||
| #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; | ||||
| } | ||||
| 
 | ||||
| #tags button { | ||||
|     padding: 0 5px; | ||||
|     background-color: transparent; | ||||
|     color: #ffffff; | ||||
| } | ||||
| 
 | ||||
| #tags button:hover { | ||||
|     background: rgba(0, 0, 0, 0.2); | ||||
| } | ||||
| 
 | ||||
| #tags button.occupied { | ||||
|     color: #555555; | ||||
| } | ||||
| 
 | ||||
| #tags button.focused { | ||||
|     color: #ffffff; | ||||
|     background-color: #64727D; | ||||
|     box-shadow: inset 0 -3px #ffffff; | ||||
| } | ||||
| 
 | ||||
| #tags button.urgent { | ||||
|     background-color: #eb4d4b; | ||||
| } | ||||
| 
 | ||||
| #mode { | ||||
|     background-color: #64727D; | ||||
|     box-shadow: inset 0 -3px #ffffff; | ||||
| } | ||||
| 
 | ||||
| #clock, | ||||
| #battery, | ||||
| #cpu, | ||||
| #memory, | ||||
| #disk, | ||||
| #temperature, | ||||
| #backlight, | ||||
| #network, | ||||
| #pulseaudio, | ||||
| #wireplumber, | ||||
| #custom-media, | ||||
| #tray, | ||||
| #mode, | ||||
| #idle_inhibitor, | ||||
| #scratchpad, | ||||
| #power-profiles-daemon, | ||||
| #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; | ||||
| } | ||||
| 
 | ||||
| #clock { | ||||
|     background-color: #64727D; | ||||
| } | ||||
| 
 | ||||
| #battery { | ||||
|     background-color: #ffffff; | ||||
|     color: #000000; | ||||
| } | ||||
| 
 | ||||
| #battery.charging, #battery.plugged { | ||||
|     color: #ffffff; | ||||
|     background-color: #26A65B; | ||||
| } | ||||
| 
 | ||||
| @keyframes blink { | ||||
|     to { | ||||
|         background-color: #ffffff; | ||||
|         color: #000000; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /* Using steps() instead of linear as a timing function to limit cpu usage */ | ||||
| #battery.critical:not(.charging) { | ||||
|     background-color: #f53c3c; | ||||
|     color: #ffffff; | ||||
|     animation-name: blink; | ||||
|     animation-duration: 0.5s; | ||||
|     animation-timing-function: steps(12); | ||||
|     animation-iteration-count: infinite; | ||||
|     animation-direction: alternate; | ||||
| } | ||||
| 
 | ||||
| #power-profiles-daemon { | ||||
|     padding-right: 15px; | ||||
| } | ||||
| 
 | ||||
| #power-profiles-daemon.performance { | ||||
|     background-color: #f53c3c; | ||||
|     color: #ffffff; | ||||
| } | ||||
| 
 | ||||
| #power-profiles-daemon.balanced { | ||||
|     background-color: #2980b9; | ||||
|     color: #ffffff; | ||||
| } | ||||
| 
 | ||||
| #power-profiles-daemon.power-saver { | ||||
|     background-color: #2ecc71; | ||||
|     color: #000000; | ||||
| } | ||||
| 
 | ||||
| label:focus { | ||||
|     background-color: #000000; | ||||
| } | ||||
| 
 | ||||
| #cpu { | ||||
|     background-color: #2ecc71; | ||||
|     color: #000000; | ||||
| } | ||||
| 
 | ||||
| #memory { | ||||
|     background-color: #9b59b6; | ||||
| } | ||||
| 
 | ||||
| #disk { | ||||
|     background-color: #964B00; | ||||
| } | ||||
| 
 | ||||
| #backlight { | ||||
|     background-color: #90b1b1; | ||||
| } | ||||
| 
 | ||||
| #network { | ||||
|     background-color: #2980b9; | ||||
| } | ||||
| 
 | ||||
| #network.disconnected { | ||||
|     background-color: #f53c3c; | ||||
| } | ||||
| 
 | ||||
| #pulseaudio { | ||||
|     background-color: #f1c40f; | ||||
|     color: #000000; | ||||
| } | ||||
| 
 | ||||
| #pulseaudio.muted { | ||||
|     background-color: #90b1b1; | ||||
|     color: #2a5c45; | ||||
| } | ||||
| 
 | ||||
| #wireplumber { | ||||
|     background-color: #fff0f5; | ||||
|     color: #000000; | ||||
| } | ||||
| 
 | ||||
| #wireplumber.muted { | ||||
|     background-color: #f53c3c; | ||||
| } | ||||
| 
 | ||||
| #custom-media { | ||||
|     background-color: #66cc99; | ||||
|     color: #2a5c45; | ||||
|     min-width: 100px; | ||||
| } | ||||
| 
 | ||||
| #custom-media.custom-spotify { | ||||
|     background-color: #66cc99; | ||||
| } | ||||
| 
 | ||||
| #custom-media.custom-vlc { | ||||
|     background-color: #ffa000; | ||||
| } | ||||
| 
 | ||||
| #temperature { | ||||
|     background-color: #f0932b; | ||||
| } | ||||
| 
 | ||||
| #temperature.critical { | ||||
|     background-color: #eb4d4b; | ||||
| } | ||||
| 
 | ||||
| #tray { | ||||
|     background-color: #2980b9; | ||||
| } | ||||
| 
 | ||||
| #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; | ||||
| } | ||||
| 
 | ||||
| #privacy { | ||||
|     padding: 0; | ||||
| } | ||||
| 
 | ||||
| #privacy-item { | ||||
|     padding: 0 5px; | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| #privacy-item.screenshare { | ||||
|     background-color: #cf5700; | ||||
| } | ||||
| 
 | ||||
| #privacy-item.audio-in { | ||||
|     background-color: #1ca000; | ||||
| } | ||||
| 
 | ||||
| #privacy-item.audio-out { | ||||
|     background-color: #0069d4; | ||||
| } | ||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user