Update to Latest
This commit is contained in:
parent
d1bbbcbb15
commit
71d6a8ab3b
157 changed files with 3467 additions and 5151 deletions
BIN
Assests/go.png
Normal file
BIN
Assests/go.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 353 KiB |
BIN
Assests/nvim.png
Normal file
BIN
Assests/nvim.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
BIN
Assests/obsidian.png
Normal file
BIN
Assests/obsidian.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
BIN
Assests/terminal.png
Normal file
BIN
Assests/terminal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 127 KiB |
46
README.md
46
README.md
|
@ -1,3 +1,8 @@
|
|||

|
||||

|
||||

|
||||

|
||||
|
||||
## File System
|
||||
|
||||
- **File System**: btrfs
|
||||
|
@ -56,13 +61,15 @@
|
|||
- **Zip Management**: unzip
|
||||
- **Clipboard Management**: cliphist, wl-clipboard
|
||||
|
||||
|
||||
### TUI Setup
|
||||
|
||||
- **Git Management**: gitui, lazygit
|
||||
- **Code Editors**: Neovim, Nano, Vim
|
||||
- **Task Manager**: btop
|
||||
- **File Manager**: yazi
|
||||
- **Kubernetes**: k9s
|
||||
- **Docker**: lazydocker
|
||||
|
||||
---
|
||||
|
||||
### CLI Alternatives
|
||||
|
@ -84,40 +91,3 @@
|
|||
- **Media Player Control**: playerctl
|
||||
|
||||
---
|
||||
|
||||
## To-Do List
|
||||
|
||||
### System Monitoring & Performance
|
||||
|
||||
- [ ] Set up `cpupower` for CPU management.
|
||||
|
||||
### Security & Backup
|
||||
|
||||
- [ ] Install `ufw` or `firewalld` for managing firewall.
|
||||
- [ ] Set up `timeshift` or `restic` for automated backups.
|
||||
|
||||
### Shell Utilities
|
||||
|
||||
- [ ] Add `httpie` for API requests.
|
||||
- [ ] Use `ripgrep` (`rg`) for faster file searches.
|
||||
|
||||
### Productivity Tools
|
||||
|
||||
- [ ] Install `rsync` or `rclone` for efficient file transfer.
|
||||
- [ ] Use `borg` or `rsnapshot` for file backups.
|
||||
|
||||
### Clipboard & File Utilities
|
||||
|
||||
- [ ] Install `zathura` for minimalistic PDF viewing.
|
||||
|
||||
### Developer Tools
|
||||
|
||||
- [ ] Install `prettier`, `eslint`, or `shellcheck` for linting and formatting.
|
||||
- [ ] Set up `podman` or `docker` for containerized environments.
|
||||
- [ ] Add `cmake` or `meson` for compiling and building software from source.
|
||||
|
||||
### Miscellaneous Tools
|
||||
|
||||
- [ ] Install `pass` for password management in the terminal.
|
||||
- [ ] Try `calcurse` for task and calendar management.
|
||||
- [ ] Install `tlp` for laptop power management.
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
--theme="Catppuccin Mocha"
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -1,98 +0,0 @@
|
|||
[global]
|
||||
monitor = 0
|
||||
follow = mouse
|
||||
width = 350
|
||||
height = (0,100)
|
||||
origin = top-right
|
||||
offset = 18x18 # Compact positioning
|
||||
|
||||
progress_bar = true
|
||||
progress_bar_height = 10
|
||||
progress_bar_frame_width = 2
|
||||
progress_bar_min_width = 150
|
||||
progress_bar_max_width = 1000
|
||||
progress_bar_corner_radius = 5
|
||||
progress_bar_background = "#a6e3a1"
|
||||
progress_bar_color = "#a6e3a1"
|
||||
|
||||
notification_limit = 2
|
||||
indicate_hidden = false
|
||||
shrink = no
|
||||
separator_height = 2
|
||||
separator_color = "#313244"
|
||||
padding = 15
|
||||
horizontal_padding = 15
|
||||
frame_width = 1
|
||||
frame_color = "#cdd6f4"
|
||||
corner_radius = 12
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
font = JetbrainsMono Nerd Font Mono
|
||||
line_height = 1.2
|
||||
markup = full
|
||||
format = "<span weight='bold' font='12'>%s</span>"
|
||||
alignment = left
|
||||
vertical_alignment = center
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ellipsize = middle
|
||||
ignore_newline = yes
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
show_indicators = false
|
||||
icon_position = right
|
||||
min_icon_size = 50
|
||||
max_icon_size = 70
|
||||
icon_path = $HOME/.local/share/icons/dunst
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
always_run_script = true
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
ignore_dbusclose = false
|
||||
force_xwayland = false
|
||||
force_xinerama = false
|
||||
mouse_left_click = do_action, close_current
|
||||
mouse_middle_click = do_action, close_current
|
||||
mouse_right_click = close_all
|
||||
|
||||
[experimental]
|
||||
per_monitor_dpi = false
|
||||
|
||||
[urgency_low]
|
||||
background = "#11111b" # Mocha Base
|
||||
foreground = "#e0def4" # Mocha Text
|
||||
highlight = "#f5c2e7" # Mocha Pink for highlight
|
||||
frame_color = "#313244" # Mocha Surface0 for frame
|
||||
timeout = 5
|
||||
border_color = "#313244" # Mocha Surface0 for border
|
||||
border_width = 2
|
||||
|
||||
[urgency_normal]
|
||||
background = "#11111b" # Mocha Base
|
||||
foreground = "#e0def4" # Mocha Text
|
||||
highlight = "#cba6f7" # Mocha Purple for highlight
|
||||
frame_color = "#313244" # Mocha Surface0 for frame
|
||||
timeout = 5
|
||||
border_color = "#313244" # Mocha Surface0 for border
|
||||
border_width = 2
|
||||
|
||||
[urgency_critical]
|
||||
background = "#11111b" # Mocha Base
|
||||
foreground = "#e0def4" # Mocha Text
|
||||
frame_color = "#f38ba8" # Mocha Red for critical frame
|
||||
timeout = 1000
|
||||
border_color = "#f38ba8" # Mocha Red for critical border
|
||||
border_width = 2
|
||||
|
||||
[volume]
|
||||
highlight = "#a6e3a1" # Mocha Purple
|
||||
icon_size = 60
|
||||
icon_position = right
|
||||
|
||||
[backlight]
|
||||
highlight = "#a6e3a1" # Mocha Pink
|
||||
icon_size = 60
|
||||
icon_position = right
|
||||
|
||||
# vim: ft=cfg
|
13
fastfetch/ascii.txt
Executable file
13
fastfetch/ascii.txt
Executable file
|
@ -0,0 +1,13 @@
|
|||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠳⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⣀⡴⢧⣀⠀⠀⣀⣠⠤⠤⠤⠤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠘⠏⢀⡴⠊⠁⠀⠀⠀⠀⠀⠀⠈⠙⠦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⣰⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢶⣶⣒⣶⠦⣤⣀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⢀⣰⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣟⠲⡌⠙⢦⠈⢧⠀
|
||||
⠀⠀⠀⣠⢴⡾⢟⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⡴⢃⡠⠋⣠⠋⠀
|
||||
⠐⠀⠞⣱⠋⢰⠁⢿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⠤⢖⣋⡥⢖⣫⠔⠋⠀⠀⠀
|
||||
⠈⠠⡀⠹⢤⣈⣙⠚⠶⠤⠤⠤⠴⠶⣒⣒⣚⣩⠭⢵⣒⣻⠭⢖⠏⠁⢀⣀⠀⠀⠀⠀
|
||||
⠠⠀⠈⠓⠒⠦⠭⠭⠭⣭⠭⠭⠭⠭⠿⠓⠒⠛⠉⠉⠀⠀⣠⠏⠀⠀⠘⠞⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⢤⣀⠀⠀⠀⠀⠀⠀⣀⡤⠞⠁⠀⣰⣆⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠘⠿⠀⠀⠀⠀⠀⠈⠉⠙⠒⠒⠛⠉⠁⠀⠀⠀⠉⢳⡞⠉⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
98
fastfetch/config.jsonc
Normal file
98
fastfetch/config.jsonc
Normal file
|
@ -0,0 +1,98 @@
|
|||
// Inspired by Catnap
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"type": "small",
|
||||
"padding": {
|
||||
"top": 2,
|
||||
"right": 2
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " ",
|
||||
"key": {
|
||||
"width": 16
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"key": "╭───────────╮",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
// draw borders first to make colors of left and right border consistant
|
||||
"key": "│ │\u001b[11D{#31} user",
|
||||
"type": "title",
|
||||
"format": "{1}"
|
||||
},
|
||||
{
|
||||
"key": "├───────────┤",
|
||||
"type": "custom"
|
||||
},
|
||||
// {
|
||||
// "key": "│ │\u001b[11D{#32} hname",
|
||||
// "type": "title",
|
||||
// "format": "{2}"
|
||||
// },
|
||||
// {
|
||||
// "key": "│ │\u001b[11D{#33} uptime",
|
||||
// "type": "uptime"
|
||||
// },
|
||||
{
|
||||
"key": "│ │\u001b[11D{#34} distro",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#35} kernel",
|
||||
"type": "kernel"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#36} desktop",
|
||||
"type": "de"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#31} term",
|
||||
"type": "terminal"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#31} wm",
|
||||
"type": "wm"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#32} shell",
|
||||
"type": "shell"
|
||||
},
|
||||
// {
|
||||
// "key": "│ │\u001b[11D{#33} cpu",
|
||||
// "type": "cpu",
|
||||
// "showPeCoreCount": true
|
||||
// },
|
||||
{
|
||||
"key": "│ │\u001b[11D{#34} disk",
|
||||
"type": "disk",
|
||||
"folders": "/"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#35} memory",
|
||||
"type": "memory"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#36} network",
|
||||
"type": "localip",
|
||||
"format": "{1} ({4})"
|
||||
},
|
||||
{
|
||||
"key": "├───────────┤",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"key": "│ │\u001b[11D{#39} colors",
|
||||
"type": "colors",
|
||||
"symbol": "circle"
|
||||
},
|
||||
{
|
||||
"key": "╰───────────╯",
|
||||
"type": "custom"
|
||||
}
|
||||
]
|
||||
}
|
71
fastfetch/config_bak.jsonc
Executable file
71
fastfetch/config_bak.jsonc
Executable file
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"source": "~/.config/fastfetch/ascii.txt"
|
||||
},
|
||||
"display": {
|
||||
"separator": " "
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "os",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "users",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": " ",
|
||||
"keyColor": "black"
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": " ",
|
||||
"keyColor": "cyan"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " ",
|
||||
"keyColor": "dim_"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " ",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " ",
|
||||
"keyColor": "red"
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": " ",
|
||||
"keyColor": "cyan"
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "btrfs",
|
||||
"key": " ",
|
||||
"keyColor": "red"
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"key": " ",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
}
|
||||
]
|
||||
}
|
11
fastfetch/icons/among.txt
Normal file
11
fastfetch/icons/among.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
⠀⠀⠀⠀⢀⣴⣶⠿⠟⠻⠿⢷⣦⣄⠀⠀⠀
|
||||
⠀⠀⠀⠀⣾⠏⠀⠀⣠⣤⣤⣤⣬⣿⣷⣄⡀
|
||||
⠀⢀⣀⣸⡿⠀⠀⣼⡟⠁⠀⠀⠀⠀⠀⠙⣷
|
||||
⢸⡟⠉⣽⡇⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⢀⣿
|
||||
⣾⠇⠀⣿⡇⠀⠀⠘⠿⢶⣶⣤⣤⣶⡶⣿⠋
|
||||
⣿⠂⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠃
|
||||
⣿⡆⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀
|
||||
⢿⡇⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⠀
|
||||
⠘⠻⠷⢿⡇⠀⠀⠀⣴⣶⣶⠶⠖⠀⢸⡟⠀
|
||||
⠀⠀⠀⢸⣇⠀⠀⠀⣿⡇⣿⡄⠀⢀⣿⠇⠀
|
||||
⠀⠀⠀⠘⣿⣤⣤⣴⡿⠃⠙⠛⠛⠛⠋⠀⠀
|
23
fastfetch/icons/arch.txt
Normal file
23
fastfetch/icons/arch.txt
Normal file
|
@ -0,0 +1,23 @@
|
|||
/\ /? ( |-|
|
||||
|
||||
|
||||
|
||||
_ ._ _|_
|
||||
(_|| (_| |
|
||||
|
||||
|
||||
|
||||
|
||||
_
|
||||
| |
|
||||
__ _ _ __ ___| |__
|
||||
/ _` | '__/ __| '_ \
|
||||
| (_| | | | (__| | | |
|
||||
\__,_|_| \___|_| |_|
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
_ __ _ |_
|
||||
(_| | (_ | |
|
12
fastfetch/icons/pacmanArch.txt
Normal file
12
fastfetch/icons/pacmanArch.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
⠀⠀⠀⠀⣀⣤⣴⣶⣶⣶⣦⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⢿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⢀⣾⣿⣿⣿⣿⣿⣿⣿⣅⢀⣽⣿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⠛⠁⠀⠀⣴⣶⡄⠀⣶⣶⡄⠀⣴⣶⡄
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣀⠀⠙⠋⠁⠀⠉⠋⠁⠀⠙⠋⠀
|
||||
⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠈⠙⠿⣿⣿⣿⣿⣿⣿⣿⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
_ ._ _|_
|
||||
(_|| (_| |
|
11
fastfetch/icons/pikachu.txt
Executable file
11
fastfetch/icons/pikachu.txt
Executable file
|
@ -0,0 +1,11 @@
|
|||
⡏⠉⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣿
|
||||
⣿⠀⠀⠀⠈⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠉⠁⠀⣿
|
||||
⣿⣧⡀⠀⠀⠀⠀⠙⠿⠿⠿⠻⠿⠿⠟⠿⠛⠉⠀⠀⠀⠀⠀⣸⣿
|
||||
⣿⣿⣷⣄⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿
|
||||
⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⣴⣿⣿⣿⣿
|
||||
⣿⣿⣿⡟⠀⠀⢰⣹⡆⠀⠀⠀⠀⠀⠀⣭⣷⠀⠀⠀⠸⣿⣿⣿⣿
|
||||
⣿⣿⣿⠃⠀⠀⠈⠉⠀⠀⠤⠄⠀⠀⠀⠉⠁⠀⠀⠀⠀⢿⣿⣿⣿
|
||||
⣿⣿⣿⢾⣿⣷⠀⠀⠀⠀⡠⠤⢄⠀⠀⠀⠠⣿⣿⣷⠀⢸⣿⣿⣿
|
||||
⣿⣿⣿⡀⠉⠀⠀⠀⠀⠀⢄⠀⢀⠀⠀⠀⠀⠉⠉⠁⠀⠀⣿⣿⣿
|
||||
⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿
|
||||
⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿
|
14
fastfetch/icons/uwu.txt
Executable file
14
fastfetch/icons/uwu.txt
Executable file
|
@ -0,0 +1,14 @@
|
|||
⣐⢕⢕⢕⢕⢕⢕⢕⢕⠅⢗⢕⢕⢕⢕⢕⢕⢕⠕⠕⢕⢕⢕⢕⢕⢕⢕⢕⢕
|
||||
⢐⢕⢕⢕⢕⢕⣕⢕⢕⠕⠁⢕⢕⢕⢕⢕⢕⢕⢕⠅⡄⢕⢕⢕⢕⢕⢕⢕⢕⢕
|
||||
⢕⢕⢕⢕⢕⠅⢗⢕⠕⣠⠄⣗⢕⢕⠕⢕⢕⢕⠕⢠⣿⠐⢕⢕⢕⠑⢕⢕⠵⢕
|
||||
⢕⢕⢕⢕⠁⢜⠕⢁⣴⣿⡇⢓⢕⢵⢐⢕⢕⠕⢁⣾⢿⣧⠑⢕⢕⠄⢑⢕⠅⢕
|
||||
⢕⢕⠵⢁⠔⢁⣤⣤⣶⣶⣶⡐⣕⢽⠐⢕⠕⣡⣾⣶⣶⣶⣤⡁⢓⢕⠄⢑⢅⢑
|
||||
⠍⣧⠄⣶⣾⣿⣿⣿⣿⣿⣿⣷⣔⢕⢄⢡⣾⣿⣿⣿⣿⣿⣿⣿⣦⡑⢕⢤⠱⢐
|
||||
⢠⢕⠅⣾⣿⠋⢿⣿⣿⣿⠉⣿⣿⣷⣦⣶⣽⣿⣿⠈⣿⣿⣿⣿⠏⢹⣷⣷⡅⢐
|
||||
⣔⢕⢥⢻⣿⡀⠈⠛⠛⠁⢠⣿⣿⣿⣿⣿⣿⣿⣿⡀⠈⠛⠛⠁⠄⣼⣿⣿⡇⢔
|
||||
⢕⢕⢽⢸⢟⢟⢖⢖⢤⣶⡟⢻⣿⡿⠻⣿⣿⡟⢀⣿⣦⢤⢤⢔⢞⢿⢿⣿⠁⢕
|
||||
⢕⢕⠅⣐⢕⢕⢕⢕⢕⣿⣿⡄⠛⢀⣦⠈⠛⢁⣼⣿⢗⢕⢕⢕⢕⢕⢕⡏⣘⢕
|
||||
⢕⢕⠅⢓⣕⣕⣕⣕⣵⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣷⣕⢕⢕⢕⢕⡵⢀⢕⢕
|
||||
⢑⢕⠃⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢃⢕⢕⢕
|
||||
⣆⢕⠄⢱⣄⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢁⢕⢕⠕⢁
|
||||
⣿⣦⡀⣿⣿⣷⣶⣬⣍⣛⣛⣛⡛⠿⠿⠿⠛⠛⢛⣛⣉⣭⣤⣂⢜⠕⢑⣡⣴⣿
|
|
@ -1,4 +0,0 @@
|
|||
preload = /home/archer/Downloads/wallpaper/purple_girl.png
|
||||
wallpaper = eDP-1, /home/archer/Downloads/wallpaper/purple_girl.png
|
||||
splash = off
|
||||
ipc = off
|
34
hypr/hypridle.conf
Normal file
34
hypr/hypridle.conf
Normal file
|
@ -0,0 +1,34 @@
|
|||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume = brightnessctl -r # monitor backlight restore.
|
||||
}
|
||||
|
||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
|
@ -1,5 +1,9 @@
|
|||
|
||||
monitor=,preferred,auto,auto
|
||||
monitor=DP-1,1920x1080@144,auto,auto
|
||||
|
||||
exec-once = hyprctl setcursor "Banana" 40
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme "Banana"
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 40
|
||||
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
|
@ -8,26 +12,29 @@ exec-once = hypridle
|
|||
windowrulev2 = suppressevent maximize, class:.*
|
||||
|
||||
|
||||
exec-once = [workspace 1] zen-browser
|
||||
exec-once = [workspace 2] kitty
|
||||
|
||||
|
||||
# Set programs that I use
|
||||
$terminal = kitty
|
||||
$fileManager = yazi
|
||||
$menu = rofi -show run
|
||||
$browser = firefox
|
||||
$browser = zen-browser
|
||||
$taskManager = btop
|
||||
$editor = nvim
|
||||
$colorpicker = hyprpicker
|
||||
|
||||
env = XCURSOR_SIZE,20
|
||||
env = HYPRCURSOR_SIZE,20
|
||||
env = XCURSOR_SIZE,8
|
||||
env = HYPRCURSOR_SIZE,8
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
gaps_in = 3
|
||||
gaps_out = 6
|
||||
|
||||
border_size = 2
|
||||
border_size = 0
|
||||
|
||||
col.active_border = rgb(8839ef)
|
||||
col.inactive_border = rgb(eff1f5)
|
||||
col.active_border = rgb(8839ef) rgb(179299) 45deg
|
||||
col.inactive_border = rgb(1e66f5) rgb(8839ef) 90deg
|
||||
|
||||
resize_on_border = true
|
||||
extend_border_grab_area = 30
|
||||
|
@ -36,27 +43,30 @@ general {
|
|||
allow_tearing = false
|
||||
|
||||
|
||||
layout = master
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 6
|
||||
dim_special = 0.2
|
||||
rounding = 10
|
||||
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.6
|
||||
active_opacity = 1
|
||||
inactive_opacity = 0.7
|
||||
|
||||
#drop_shadow = true
|
||||
#shadow_range = 4
|
||||
#shadow_render_power = 3
|
||||
#col.shadow = rgba(1a1a1aee)
|
||||
shadow {
|
||||
# enabled = false
|
||||
# range = 4
|
||||
# render_power = 3
|
||||
}
|
||||
|
||||
#blur {
|
||||
# enabled = true
|
||||
# size = 2
|
||||
# passes = 1
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
special = true
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
|
||||
# vibrancy = 0.1696
|
||||
# }
|
||||
}
|
||||
|
||||
animations {
|
||||
|
@ -64,12 +74,12 @@ animations {
|
|||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = windows, 1, 4, default, slide top
|
||||
animation = windowsOut, 1, 2, default, slide bottom
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
animation = workspaces, 1, 3, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
|
@ -88,12 +98,12 @@ input {
|
|||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = caps:swapescape
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0.3
|
||||
sensitivity = -0.1
|
||||
|
||||
touchpad {
|
||||
disable_while_typing = true
|
||||
|
@ -131,6 +141,16 @@ bind = $mainMod ,B, exec, $browser
|
|||
bind = $mainMod, W, killactive
|
||||
bind = $mainMod, V, togglefloating
|
||||
bind = $mainMod, F, fullscreen, 1
|
||||
bind = $mainMod, G, fullscreen, 0
|
||||
bind = $mainMod, O, exec, obsidian
|
||||
bind = $mainMod_Shift, T, exec, [float; size 1000 500] $terminal
|
||||
exec-once = hyprswitch init --show-title --size-factor 5.5 --workspaces-per-row 5 &
|
||||
|
||||
$key = tab
|
||||
$mod = super
|
||||
bind = $mod , $key, exec, hyprswitch gui --mod-key $mod --key $key --max-switch-offset 9 --hide-active-window-border
|
||||
# bind = $mainMod , J, exec, hyprswitch gui --mod-key $mainMod --key J --max-switch-offset 9 --hide-active-window-border
|
||||
|
||||
|
||||
#Yazi File Manager
|
||||
bind = $mainMod, E, exec, $terminal $fileManager
|
||||
|
@ -139,12 +159,11 @@ bind = $mainMod, P, exec, ~/.config/rofi/powermenu/powermenu.sh
|
|||
#Rofi Launcher
|
||||
bind = $mainMod, Space, exec, ~/.config/rofi/launcher/launcher.sh
|
||||
|
||||
|
||||
#Grim & Slurp for Screenshot
|
||||
bind = $mainMod_Shift, S, exec, slurp | grim -g - /tmp/photo && wl-copy < /tmp/photo && notify-send 'Screenshot Copied to Clipboard'
|
||||
bind = Alt+Shift, S, exec, grim -g "$(slurp)" $HOME/Downloads/Screenshot/$(date +'%Y%m%d%H%M%S').png && notify-send 'Screenshot Saved'
|
||||
|
||||
|
||||
bind = $mainMod, N, exec, $terminal $editor
|
||||
bind = Alt+Shift, W, exec, pkill -9 waybar || waybar &
|
||||
|
||||
#Task Manager
|
||||
bind = Ctrl_Shift, Tab, exec, $terminal $taskManager
|
||||
|
@ -169,15 +188,20 @@ bindl = , XF86AudioPrev, exec, playerctl previous
|
|||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
|
||||
#Brightness Control
|
||||
binde = , XF86MonBrightnessDown, exec, ~/.local/bin/backlight.sh down
|
||||
binde = , XF86MonBrightnessUp, exec, ~/.local/bin/backlight.sh up
|
||||
#binde = , XF86MonBrightnessDown, exec, ~/.local/bin/backlight.sh down
|
||||
binde = , XF86MonBrightnessDown, exec, brightnessctl set 2%-
|
||||
#binde = , XF86MonBrightnessUp, exec, ~/.local/bin/backlight.sh up
|
||||
binde = , XF86MonBrightnessUp, exec, brightnessctl set +2%
|
||||
|
||||
|
||||
bind = Alt, Tab , cyclenext
|
||||
bind = $mainMod, Tab, bringactivetotop,
|
||||
bind = Alt Shift, Tab, cyclenext, prev
|
||||
bind = $mainMod, Tab, workspace, e-2
|
||||
# bind = $mainMod, Tab, workspace, e-2
|
||||
bind = $mainMod, A, exec,bash ~/.config/rofi/wifi/wifi.sh
|
||||
bind = $mainMod, S, exec,bash ~/.config/rofi/search/search.sh
|
||||
|
||||
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, l, movefocus, l
|
14
hypridle/hypridle.conf
Normal file
14
hypridle/hypridle.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
general {
|
||||
lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session)
|
||||
unlock_cmd = notify-send "unlock!" # same as above, but unlock
|
||||
before_sleep_cmd = notify-send "Zzz" # command ran before sleep
|
||||
after_sleep_cmd = notify-send "Awake!" # command ran after sleep
|
||||
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||
ignore_systemd_inhibit = false # whether to ignore systemd-inhibit --what=idle inhibitors
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 500 # in seconds
|
||||
on-timeout = notify-send "You are idle!" # command to run when timeout has passed
|
||||
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
|
||||
}
|
9
k9s/aliases.yaml
Normal file
9
k9s/aliases.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
aliases:
|
||||
dp: deployments
|
||||
sec: v1/secrets
|
||||
jo: jobs
|
||||
cr: clusterroles
|
||||
crb: clusterrolebindings
|
||||
ro: roles
|
||||
rb: rolebindings
|
||||
np: networkpolicies
|
42
k9s/config.yaml
Normal file
42
k9s/config.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
k9s:
|
||||
liveViewAutoRefresh: false
|
||||
screenDumpDir: /home/arcadian/.local/state/k9s/screen-dumps
|
||||
refreshRate: 2
|
||||
maxConnRetry: 5
|
||||
readOnly: false
|
||||
noExitOnCtrlC: false
|
||||
ui:
|
||||
skin: theme
|
||||
enableMouse: false
|
||||
headless: false
|
||||
logoless: false
|
||||
crumbsless: false
|
||||
reactive: false
|
||||
noIcons: false
|
||||
defaultsToFullScreen: false
|
||||
skipLatestRevCheck: false
|
||||
disablePodCounting: false
|
||||
shellPod:
|
||||
image: busybox:1.35.0
|
||||
namespace: default
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
imageScans:
|
||||
enable: false
|
||||
exclusions:
|
||||
namespaces: []
|
||||
labels: {}
|
||||
logger:
|
||||
tail: 100
|
||||
buffer: 5000
|
||||
sinceSeconds: -1
|
||||
textWrap: false
|
||||
showTime: false
|
||||
thresholds:
|
||||
cpu:
|
||||
critical: 90
|
||||
warn: 70
|
||||
memory:
|
||||
critical: 90
|
||||
warn: 70
|
100
k9s/skins/theme.yaml
Normal file
100
k9s/skins/theme.yaml
Normal file
|
@ -0,0 +1,100 @@
|
|||
k9s:
|
||||
body:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
logoColor: '#cba6f7'
|
||||
prompt:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#181825'
|
||||
suggestColor: '#89b4fa'
|
||||
help:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
sectionColor: '#a6e3a1'
|
||||
keyColor: '#89b4fa'
|
||||
numKeyColor: '#eba0ac'
|
||||
frame:
|
||||
title:
|
||||
fgColor: '#94e2d5'
|
||||
bgColor: '#1e1e2e'
|
||||
highlightColor: '#f5c2e7'
|
||||
counterColor: '#f9e2af'
|
||||
filterColor: '#a6e3a1'
|
||||
border:
|
||||
fgColor: '#cba6f7'
|
||||
focusColor: '#b4befe'
|
||||
menu:
|
||||
fgColor: '#cdd6f4'
|
||||
keyColor: '#89b4fa'
|
||||
numKeyColor: '#eba0ac'
|
||||
crumbs:
|
||||
fgColor: '#1e1e2e'
|
||||
bgColor: '#eba0ac'
|
||||
activeColor: '#f2cdcd'
|
||||
status:
|
||||
newColor: '#89b4fa'
|
||||
modifyColor: '#b4befe'
|
||||
addColor: '#a6e3a1'
|
||||
pendingColor: '#fab387'
|
||||
errorColor: '#f38ba8'
|
||||
highlightColor: '#89dceb'
|
||||
killColor: '#cba6f7'
|
||||
completedColor: '#6c7086'
|
||||
info:
|
||||
fgColor: '#fab387'
|
||||
sectionColor: '#cdd6f4'
|
||||
views:
|
||||
table:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
cursorFgColor: '#313244'
|
||||
cursorBgColor: '#45475a'
|
||||
markColor: '#f5e0dc'
|
||||
header:
|
||||
fgColor: '#f9e2af'
|
||||
bgColor: '#1e1e2e'
|
||||
sorterColor: '#89dceb'
|
||||
xray:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
cursorColor: '#45475a'
|
||||
cursorTextColor: '#1e1e2e'
|
||||
graphicColor: '#f5c2e7'
|
||||
charts:
|
||||
bgColor: '#1e1e2e'
|
||||
chartBgColor: '#1e1e2e'
|
||||
dialBgColor: '#1e1e2e'
|
||||
defaultDialColors:
|
||||
- '#a6e3a1'
|
||||
- '#f38ba8'
|
||||
defaultChartColors:
|
||||
- '#a6e3a1'
|
||||
- '#f38ba8'
|
||||
resourceColors:
|
||||
cpu:
|
||||
- '#cba6f7'
|
||||
- '#89b4fa'
|
||||
mem:
|
||||
- '#f9e2af'
|
||||
- '#fab387'
|
||||
yaml:
|
||||
keyColor: '#89b4fa'
|
||||
valueColor: '#cdd6f4'
|
||||
colonColor: '#a6adc8'
|
||||
logs:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
indicator:
|
||||
fgColor: '#b4befe'
|
||||
bgColor: '#1e1e2e'
|
||||
toggleOnColor: '#a6e3a1'
|
||||
toggleOffColor: '#a6adc8'
|
||||
dialog:
|
||||
fgColor: '#f9e2af'
|
||||
bgColor: '#9399b2'
|
||||
buttonFgColor: '#1e1e2e'
|
||||
buttonBgColor: '#7f849c'
|
||||
buttonFocusFgColor: '#1e1e2e'
|
||||
buttonFocusBgColor: '#f5c2e7'
|
||||
labelFgColor: '#f5e0dc'
|
||||
fieldFgColor: '#cdd6f4'
|
46
kitty/kitty.conf
Normal file
46
kitty/kitty.conf
Normal file
|
@ -0,0 +1,46 @@
|
|||
# Catppuccin-Mocha
|
||||
include current-theme.conf
|
||||
window_padding_width 12
|
||||
|
||||
font_size 10.0
|
||||
enable_ligature true
|
||||
|
||||
confirm_os_window_close 0
|
||||
# font_family family="JetBrains Mono Nerd Font"
|
||||
# bold_font auto
|
||||
# italic_font auto
|
||||
# bold_italic_font auto
|
||||
# disable_ligatures always
|
||||
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
map ctrl+shift+v paste_from_clipboard
|
||||
|
||||
|
||||
|
||||
window_padding_width 5
|
||||
window_margin_width 5
|
||||
# window_border_width 2px
|
||||
active_border_color #e0e4e5
|
||||
inactive_border_color #9EA3A7
|
||||
enabled_layouts Tall, *
|
||||
|
||||
enable_image_protocol yes
|
||||
|
||||
# initial_window_width 95c
|
||||
# initial_window_height 35c
|
||||
|
||||
background_opacity 0.9
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Catppuccin-Mocha
|
||||
# include current-theme.conf
|
||||
# END_KITTY_THEME
|
||||
|
||||
|
||||
# BEGIN_KITTY_FONTS
|
||||
font_family family='JetBrainsMono Nerd Font Mono' postscript_name=JetBrainsMonoNFM-Regular
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
# END_KITTY_FONTS
|
30
kitty/kitty.conf.bak
Normal file
30
kitty/kitty.conf.bak
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Catppuccin-Mocha
|
||||
include current-theme.conf
|
||||
window_padding_width 12
|
||||
|
||||
font_size 10.0
|
||||
enable_ligature true
|
||||
|
||||
confirm_os_window_close 0
|
||||
# font_family family="JetBrains Mono Nerd Font"
|
||||
# bold_font auto
|
||||
# italic_font auto
|
||||
# bold_italic_font auto
|
||||
# disable_ligatures always
|
||||
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
map ctrl+shift+v paste_from_clipboard
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Catppuccin-Mocha
|
||||
# include current-theme.conf
|
||||
# END_KITTY_THEME
|
||||
|
||||
|
||||
# BEGIN_KITTY_FONTS
|
||||
font_family family="JetBrainsMono Nerd Font Mono"
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
# END_KITTY_FONTS
|
10
kitty/.config/kitty/kitty.conf → kitty/kitty.conf.sync-conflict-20250220-195218-GYVEYUJ.bak
Normal file → Executable file
10
kitty/.config/kitty/kitty.conf → kitty/kitty.conf.sync-conflict-20250220-195218-GYVEYUJ.bak
Normal file → Executable file
|
@ -1,13 +1,13 @@
|
|||
# Catppuccin-Mocha
|
||||
include current-theme.conf
|
||||
window_padding_width 10
|
||||
window_padding_width 12
|
||||
|
||||
font_size 10.0
|
||||
enable_ligature true
|
||||
|
||||
confirm_os_window_close 0
|
||||
|
||||
font_family family="JetBrainsMono Nerd Fonts Mono"
|
||||
font_family family="JetBrainsMono Nerd Fonts"
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
@ -15,3 +15,9 @@ disable_ligatures always
|
|||
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
map ctrl+shift+v paste_from_clipboard
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Catppuccin-Mocha
|
||||
include current-theme.conf
|
||||
# END_KITTY_THEME
|
30
kitty/kitty.sync-conflict-20250220-195218-GYVEYUJ.conf
Executable file
30
kitty/kitty.sync-conflict-20250220-195218-GYVEYUJ.conf
Executable file
|
@ -0,0 +1,30 @@
|
|||
# Catppuccin-Mocha
|
||||
include current-theme.conf
|
||||
window_padding_width 12
|
||||
|
||||
font_size 10.0
|
||||
enable_ligature true
|
||||
|
||||
confirm_os_window_close 0
|
||||
font_family family="JetBrains Mono Nerd Font"
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
# disable_ligatures always
|
||||
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
map ctrl+shift+v paste_from_clipboard
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Catppuccin-Mocha
|
||||
include current-theme.conf
|
||||
# END_KITTY_THEME
|
||||
|
||||
|
||||
# BEGIN_KITTY_FONTS
|
||||
# font_family family='DejaVu Sans Mono' postscript_name=DejaVuSansMono
|
||||
# bold_font auto
|
||||
# italic_font auto
|
||||
# bold_italic_font auto
|
||||
# END_KITTY_FONTS
|
|
@ -1,175 +0,0 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"margin-left": 8,
|
||||
"margin-right": 8,
|
||||
"margin-top": 4,
|
||||
"margin-bottom": 1,
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"hyprland/workspaces",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature"
|
||||
],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
// "hyprland/window",
|
||||
"custom/update",
|
||||
"custom/wallpaper",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"battery"
|
||||
],
|
||||
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/rofi/launcher/launcher.sh"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": false,
|
||||
"sort-by-name": true,
|
||||
"format": " {icon} ",
|
||||
"format-icons": {
|
||||
"active": "●",
|
||||
"default": "○"
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": 6
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{usage}% <span font='Font Awesome 6 Free-Solid'>\uf2db</span>",
|
||||
"on-click": "kitty btop"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"format": "{percentage}% <span font='Font Awesome 5 Free'>\uf538</span>",
|
||||
"on-click": "kitty btop",
|
||||
"tooltip-format": "{used}/{total} GiB"
|
||||
},
|
||||
"custom/update": {
|
||||
"interval": 86000,
|
||||
"format": "{}",
|
||||
"exec": "~/.config/waybar/scripts/check-updates.sh",
|
||||
"on-click": "kitty yay",
|
||||
"tooltip": false
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"scrolllock": false,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "\uf023",
|
||||
"unlocked": "\uf3c1"
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"timezone": "Asia/Kolkata",
|
||||
"tooltip": false,
|
||||
"format": "{:%a, %d/%m | %H:%M}"
|
||||
},
|
||||
"custom/weather": {
|
||||
"format": "{}°C",
|
||||
"tooltip": false,
|
||||
"interval": 3600,
|
||||
"exec": "wttrbar --location 'Surat'",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/wallpaper": {
|
||||
"format": "\uf03e",
|
||||
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
|
||||
"tooltip": false
|
||||
},
|
||||
"temperature": {
|
||||
"interval": 1,
|
||||
"thermal-zone": 6,
|
||||
"critical-threshold": 80,
|
||||
"format-critical": "{temperatureC}°C <span font='Font Awesome 5 Free'></span>",
|
||||
"format": "{temperatureC}°C <span font='Font Awesome 5 Free'></span>",
|
||||
"tooltip": false
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span font='Font Awesome 5 Free'>{icon}</span>",
|
||||
"format-muted": "<span font='Font Awesome 5 Free'>\uf6a9</span>",
|
||||
"format-icons": {
|
||||
"headphone": "\uf025",
|
||||
"default": "\uf028"
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{volume%} | {desc}",
|
||||
"on-click": "pamixer -t"
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["☼"],
|
||||
"tooltip-format": "{percent}%",
|
||||
"tooltip": true
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "{icon}",
|
||||
"format-icons": ["", "", "", ""],
|
||||
"format-ethernet": "",
|
||||
"format-linked": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format-wifi": "{essid}\n{signalStrength}\n{ifname}\n{gwaddr}",
|
||||
"tooltip-format-ethernet": " {ifname}",
|
||||
"tooltip-disconnected": "Disconnected",
|
||||
"on-click": "~/.config/rofi/wifi.sh"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"format-connected": "",
|
||||
"format-connected-battery": " {device_battery_percentage}",
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 100,
|
||||
"warning": 40,
|
||||
"low": 20,
|
||||
"critical": 7
|
||||
},
|
||||
"interval": 1,
|
||||
"format": "{capacity}% <span font='Font Awesome 5 Free'>{icon}</span>",
|
||||
"format-charging": "{capacity}% <span font='Font Awesome 5 Free'>\uf0e7</span>",
|
||||
"format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"]
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{class}",
|
||||
"rewrite": {
|
||||
"(.*) - Mozilla Firefox": " $1", // Firefox icon from Nerd Fonts
|
||||
"(.*) - zsh": " [$1]", // Terminal icon from Nerd Fonts
|
||||
"(.*) - Visual Studio Code": " $1", // VS Code icon
|
||||
"(.*) - LibreOffice Writer": " $1", // Document icon
|
||||
"(.*) - LibreOffice Calc": " $1", // Spreadsheet icon
|
||||
"(.*) - VLC media player": " $1", // Music icon
|
||||
"(.*) - GIMP": " $1", // GIMP icon
|
||||
"(.*) - Inkscape": " $1", // Drawing icon
|
||||
"(.*) - Spotify": " $1", // Spotify icon
|
||||
"(.*) - Discord": "ﭮ $1", // Discord icon
|
||||
"(.*) - Telegram": " $1", // Telegram icon
|
||||
"(.*) - Evince": " $1", // PDF document icon
|
||||
"(.*) - Nautilus": " $1" // File manager icon
|
||||
},
|
||||
"icon": true,
|
||||
"icon-size": 20
|
||||
},
|
||||
"custom/powerctl": {
|
||||
"tooltip": false,
|
||||
"format": "\uf011",
|
||||
"on-click": "~/.config/rofi/powermenu/type-5/powermenu.sh"
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
:root {
|
||||
--base: #3c3836; /* Base background color */
|
||||
--text: #ebdbb2; /* Text color */
|
||||
--green: #b8bb26; /* Green */
|
||||
--red: #fb4934; /* Red */
|
||||
--lavender: #d5c4a1; /* Lavender */
|
||||
--flamingo: #ea6a6a; /* Flamingo */
|
||||
--mauve: #c79dff; /* Mauve */
|
||||
--blue: #83a598; /* Blue */
|
||||
--rosewater: #f5e0dc; /* Rosewater */
|
||||
--yellow: #fabd2f; /* Yellow */
|
||||
--peach: #f2b5d4; /* Peach */
|
||||
}
|
|
@ -1,214 +0,0 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
font-family: 'JetbrainsMono Nerd Font Mono';
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(30, 30, 46, 0.9);
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#window {
|
||||
color: white;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 30px;
|
||||
margin-right: 4px;
|
||||
padding: 0px 16px;
|
||||
transition: none;
|
||||
color: rgba(137, 220, 235, 1);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding: 2px 10px;
|
||||
margin-right: 2px;
|
||||
background: rgba(203, 166, 247, 0.1);
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px;
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #f38ba8;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
padding: 0px 16px;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
#memory {
|
||||
padding: 0px 16px;
|
||||
color: #cdd6f4; /* Text */
|
||||
}
|
||||
|
||||
#custom-update {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
color: #b4befe; /* Lavender */
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 16px;
|
||||
margin-right: 8px;
|
||||
color: #f38ba8; /* Flamingo */
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0px 16px;
|
||||
margin-right: 4px;
|
||||
color: #eff1f5; /* Text */
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
padding: 0px 8px;
|
||||
color: #eff1f5; /* Text */
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
font-size: 20px;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
margin-right: 4px;
|
||||
color: #f38ba8; /* Mauve */
|
||||
}
|
||||
|
||||
#temperature {
|
||||
padding: 0px 16px;
|
||||
margin-right: 8px;
|
||||
color: #89b4fa; /* Blue */
|
||||
}
|
||||
|
||||
#temperature.gpu {
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
padding: 0px 16px;
|
||||
padding-left: 0px;
|
||||
margin-right: 8px;
|
||||
color: #89b4fa; /* Blue */
|
||||
}
|
||||
|
||||
#temperature.critical,
|
||||
#temperature.gpu.critical {
|
||||
color: #d20f39; /* Red */
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
font-size: 18px;
|
||||
padding: 0px 8px;
|
||||
color: #a6e3a1; /* Rosewater */
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
padding: 0px 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
font-size: 22px;
|
||||
padding: 0px 8px;
|
||||
padding-left: 2px;
|
||||
color: #a6e3a1; /* Rosewater */
|
||||
}
|
||||
|
||||
#network {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-size: 18px;
|
||||
padding: 0px 16px;
|
||||
color: #f9e2af; /* Yellow */
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 16px;
|
||||
margin-right: 8px;
|
||||
color: #f9e2af; /* Yellow */
|
||||
}
|
||||
|
||||
#battery {
|
||||
padding: 0px 6px;
|
||||
padding-right: 16px;
|
||||
color: #fab387; /* Peach */
|
||||
}
|
||||
|
||||
#battery:hover {
|
||||
background: white;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
padding: 0px 16px;
|
||||
color: #eff1f5; /* Text */
|
||||
background: #40a02b; /* Green */
|
||||
}
|
||||
|
||||
#battery.good:not(.charging) {
|
||||
color: #fab387; /* Peach */
|
||||
background: #1e1e2e; /* Base */
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #df8e1d; /* Yellow */
|
||||
}
|
||||
|
||||
#battery.low:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #d20f39; /* Red */
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #d20f39; /* Red */
|
||||
animation-name: blink;
|
||||
animation-duration: 0.75s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
color: #d20f39; /* Red */
|
||||
background: #eff1f5; /* Text */
|
||||
}
|
||||
}
|
||||
|
||||
#custom-powerctl {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 16px;
|
||||
color: #40a02b; /* Green */
|
||||
background: #1e1e2e; /* Base */
|
||||
}
|
||||
|
||||
button:hover,
|
||||
#cpu:hover,
|
||||
#memory:hover,
|
||||
#custom-update:hover,
|
||||
#keyboard-state:hover,
|
||||
#clock:hover,
|
||||
#custom-weather:hover,
|
||||
#custom-wallpaper:hover,
|
||||
#temperature:hover,
|
||||
#pulseaudio:hover,
|
||||
#backlight:hover,
|
||||
#network:hover,
|
||||
#bluetooth:hover,
|
||||
#battery:hover,
|
||||
#custom-powerctl:hover {
|
||||
background: #313244; /* Slightly lighter shade for hover */
|
||||
box-shadow: 0 0 10px rgba(50, 50, 93, 0.25), 0 0 20px rgba(0, 0, 0, 0.25);
|
||||
color: #eff1f5; /* Brighten text color on hover */
|
||||
}
|
8
nvim/.luarc.json
Normal file
8
nvim/.luarc.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"diagnostics.globals": [
|
||||
"vim"
|
||||
],
|
||||
"diagnostics.disable": [
|
||||
"param-type-mismatch"
|
||||
]
|
||||
}
|
30
nvim/init.lua
Normal file
30
nvim/init.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
local set = vim.opt
|
||||
|
||||
set.shiftwidth = 2
|
||||
set.tabstop = 2
|
||||
set.softtabstop = 2
|
||||
set.expandtab = true
|
||||
set.autoindent = true
|
||||
set.number = true
|
||||
set.relativenumber = true
|
||||
set.clipboard = "unnamedplus"
|
||||
set.splitright = true
|
||||
set.splitbelow = true
|
||||
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
|
||||
vim.keymap.set("n", "<space><space>x", "<cmd>source %<CR>", { desc = "Source file" })
|
||||
vim.keymap.set("n", "<leader>cs", "<cmd>nohl<CR>", { desc = "Clear search highlights" })
|
||||
vim.keymap.set("n", "<leader>ww", "<cmd>set wrap!<CR>", { desc = "Toggle word wrap" })
|
||||
vim.keymap.set("n", "<leader>lb", "<cmd>set linebreak!<CR>", { desc = "Toggle linebreak" })
|
||||
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
desc = "Highlight when yanking",
|
||||
group = vim.api.nvim_create_augroup("highlight-yank", { clear = true }),
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
})
|
||||
|
||||
require("config.lazy")
|
46
nvim/lazy-lock.json
Normal file
46
nvim/lazy-lock.json
Normal file
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
|
||||
"auto-session": { "branch": "main", "commit": "021b64ed7d4ac68a37be3ad28d8e1cba5bec582c" },
|
||||
"catppuccin": { "branch": "main", "commit": "f67b886d65a029f12ffa298701fb8f1efd89295d" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"copilot.vim": { "branch": "release", "commit": "87038123804796ca7af20d1b71c3428d858a9124" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "3a45525bb182730fe462325c99395529308f431e" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "d8918f06624dd53b9a82bd0e29c31bcfd541b40d" },
|
||||
"image.nvim": { "branch": "master", "commit": "b991fc7f845bc6ab40c6ec00b39750dcd5190010" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "8620f82ee3f59ff2187647167b6b47387a13a018" },
|
||||
"lazygit.nvim": { "branch": "main", "commit": "77a0d42943d8265271e6e6beaed72da54eeb17e7" },
|
||||
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "c6c686781f9841d855bf1b926e10aa5e19430a38" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "ed8f80849ef1ad31c2f74679fafdef7801091247" },
|
||||
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "b555203ce4bd7ff6192e759af3362f9d217e8c89" },
|
||||
"nvim-dap": { "branch": "master", "commit": "ead0de6eac91a555b714bfd7d28959eeecfb96f9" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "e94d98649dccb6a3884b66aabc2e07beb279e535" },
|
||||
"nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "8b15a1a597a59f4f5306fad9adfe99454feab743" },
|
||||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
|
||||
"nvim-surround": { "branch": "main", "commit": "9f0cb495f25bff32c936062d85046fbda0c43517" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "043d5fb1505ca4bc0f48b42666ae7ebc4bb1a671" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "4adeeaa7a32d46cf3b5833341358c797304f950a" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
|
||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "174230d6a7f2df94705a7ffd8d5413e27ec10a80" },
|
||||
"vim-tmux-navigator": { "branch": "master", "commit": "d847ea942a5bb4d4fab6efebc9f30d787fd96e65" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" }
|
||||
}
|
42
nvim/lua/config/lazy.lua
Normal file
42
nvim/lua/config/lazy.lua
Normal file
|
@ -0,0 +1,42 @@
|
|||
-- 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)
|
||||
|
||||
-- Setup lazy.nvim
|
||||
require("lazy").setup({
|
||||
ui = {
|
||||
-- a number <1 is a percentage., >1 is a fixed size
|
||||
size = { width = 0.6, height = 0.6 },
|
||||
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
|
||||
border = "rounded",
|
||||
},
|
||||
spec = {
|
||||
-- import your plugins
|
||||
{ import = "config.plugins.auto-completion" },
|
||||
{ import = "config.plugins.core" },
|
||||
{ import = "config.plugins.git" },
|
||||
{ import = "config.plugins.lsp" },
|
||||
{ import = "config.plugins.qol" },
|
||||
{ import = "config.plugins.ui" },
|
||||
},
|
||||
-- Configure any other settings here. See the documentation for more details.
|
||||
-- colorscheme that will be used when installing plugins.
|
||||
install = { colorscheme = { "catppuccin" } },
|
||||
-- automatically check for plugin updates
|
||||
checker = { enabled = true },
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>", { desc = "Lazy" })
|
3
nvim/lua/config/plugins/auto-completion/copilot.lua
Normal file
3
nvim/lua/config/plugins/auto-completion/copilot.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"github/copilot.vim",
|
||||
}
|
68
nvim/lua/config/plugins/auto-completion/nvim-cmp.lua
Normal file
68
nvim/lua/config/plugins/auto-completion/nvim-cmp.lua
Normal file
|
@ -0,0 +1,68 @@
|
|||
return {
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-buffer", -- source for text in buffer
|
||||
"hrsh7th/cmp-path", -- source for file system paths
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
-- follow latest release.
|
||||
version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
|
||||
-- install jsregexp (optional!).
|
||||
build = "make install_jsregexp",
|
||||
},
|
||||
"saadparwaiz1/cmp_luasnip", -- for autocompletion
|
||||
"rafamadriz/friendly-snippets", -- useful snippets
|
||||
"onsails/lspkind.nvim", -- vs-code like pictograms
|
||||
},
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
|
||||
local luasnip = require("luasnip")
|
||||
|
||||
local lspkind = require("lspkind")
|
||||
|
||||
-- loads vscode style snippets from installed plugins (e.g. friendly-snippets)
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
|
||||
cmp.setup({
|
||||
completion = {
|
||||
completeopt = "menu,menuone,preview,noselect",
|
||||
},
|
||||
snippet = { -- configure how nvim-cmp interacts with snippet engine
|
||||
expand = function(args)
|
||||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-k>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
||||
["<C-j>"] = cmp.mapping.select_next_item(), -- next suggestion
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-s>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||
["<C-a>"] = cmp.mapping.abort(), -- close completion window
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
}),
|
||||
-- sources for autocompletion
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" }, -- snippets
|
||||
{ name = "buffer" }, -- text within current buffer
|
||||
{ name = "path" }, -- file system paths
|
||||
}),
|
||||
|
||||
-- configure lspkind for vs-code like pictograms in completion menu
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
formatting = {
|
||||
format = lspkind.cmp_format({
|
||||
maxwidth = 50,
|
||||
ellipsis_char = "...",
|
||||
}),
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
29
nvim/lua/config/plugins/core/debugging.lua
Normal file
29
nvim/lua/config/plugins/core/debugging.lua
Normal file
|
@ -0,0 +1,29 @@
|
|||
return {
|
||||
"mfussenegger/nvim-dap",
|
||||
dependencies = {
|
||||
"nvim-neotest/nvim-nio",
|
||||
"rcarriga/nvim-dap-ui",
|
||||
},
|
||||
config = function()
|
||||
local dap = require("dap")
|
||||
local dapui = require("dapui")
|
||||
|
||||
dapui.setup()
|
||||
|
||||
dap.listeners.before.attach.dapui_config = function()
|
||||
dapui.open()
|
||||
end
|
||||
dap.listeners.before.launch.dapui_config = function()
|
||||
dapui.open()
|
||||
end
|
||||
dap.listeners.before.event_terminated.dapui_config = function()
|
||||
dapui.close()
|
||||
end
|
||||
dap.listeners.before.event_exited.dapui_config = function()
|
||||
dapui.close()
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>db", dap.toggle_breakpoint, { desc = "Toggle debugger breakpoint" })
|
||||
vim.keymap.set("n", "<leader>dc", dap.continue, { desc = "Start debugging" })
|
||||
end,
|
||||
}
|
5
nvim/lua/config/plugins/core/image.lua
Normal file
5
nvim/lua/config/plugins/core/image.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"3rd/image.nvim",
|
||||
build = false, -- so that it doesn't build the rock https://github.com/3rd/image.nvim/issues/91#issuecomment-2453430239
|
||||
opts = {}
|
||||
}
|
190
nvim/lua/config/plugins/core/neo-tree.lua
Normal file
190
nvim/lua/config/plugins/core/neo-tree.lua
Normal file
|
@ -0,0 +1,190 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
"3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
config = function()
|
||||
require("neo-tree").setup({
|
||||
close_if_last_window = false, -- Close Neo-tree if it is the last window left in the tab
|
||||
popup_border_style = "rounded",
|
||||
enable_git_status = true,
|
||||
enable_diagnostics = true,
|
||||
open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes
|
||||
sort_case_insensitive = false, -- used when sorting files and directories in the tree
|
||||
sort_function = nil, -- use a custom function for sorting files and directories in the tree
|
||||
-- sort_function = function (a,b)
|
||||
-- if a.type == b.type then
|
||||
-- return a.path > b.path
|
||||
-- else
|
||||
-- return a.type > b.type
|
||||
-- end
|
||||
-- end , -- this sorts files and directories descendantly
|
||||
default_component_configs = {
|
||||
container = {
|
||||
enable_character_fade = true,
|
||||
},
|
||||
diagnostics = {
|
||||
symbols = {
|
||||
hint = "",
|
||||
info = "",
|
||||
warn = "",
|
||||
error = "",
|
||||
},
|
||||
highlight = {
|
||||
hint = "DiagnosticSignHint",
|
||||
info = "DiagnosticSignInfo",
|
||||
warn = "DiagnosticSignWarn",
|
||||
error = "DiagnosticSignError",
|
||||
},
|
||||
},
|
||||
indent = {
|
||||
indent_size = 2,
|
||||
padding = 0, -- extra padding on left hand side
|
||||
-- indent guides
|
||||
with_markers = true,
|
||||
indent_marker = "│",
|
||||
last_indent_marker = "└",
|
||||
highlight = "NeoTreeIndentMarker",
|
||||
-- expander config, needed for nesting files
|
||||
with_expanders = nil, -- if nil and file nesting is enabled, will enable expanders
|
||||
expander_collapsed = "",
|
||||
expander_expanded = "",
|
||||
expander_highlight = "NeoTreeExpander",
|
||||
},
|
||||
icon = {
|
||||
folder_closed = "",
|
||||
folder_open = "",
|
||||
folder_empty = "",
|
||||
provider = function(icon, node, state) -- default icon provider utilizes nvim-web-devicons if available
|
||||
if node.type == "file" or node.type == "terminal" then
|
||||
local success, web_devicons = pcall(require, "nvim-web-devicons")
|
||||
local name = node.type == "terminal" and "terminal" or node.name
|
||||
if success then
|
||||
local devicon, hl = web_devicons.get_icon(name)
|
||||
icon.text = devicon or icon.text
|
||||
icon.highlight = hl or icon.highlight
|
||||
end
|
||||
end
|
||||
end,
|
||||
-- The next two settings are only a fallback, if you use nvim-web-devicons and configure default icons there
|
||||
-- then these will never be used.
|
||||
default = "*",
|
||||
highlight = "NeoTreeFileIcon",
|
||||
},
|
||||
modified = {
|
||||
symbol = "[+]",
|
||||
highlight = "NeoTreeModified",
|
||||
},
|
||||
name = {
|
||||
trailing_slash = false,
|
||||
use_git_status_colors = true,
|
||||
highlight = "NeoTreeFileName",
|
||||
},
|
||||
git_status = {
|
||||
symbols = {
|
||||
-- Change type
|
||||
added = "✚", -- or "✚", but this is redundant info if you use git_status_colors on the name
|
||||
modified = "", -- or "", but this is redundant info if you use git_status_colors on the name
|
||||
deleted = "✖", -- this can only be used in the git_status source
|
||||
renamed = "", -- this can only be used in the git_status source
|
||||
-- Status type
|
||||
untracked = "",
|
||||
ignored = "",
|
||||
unstaged = "",
|
||||
staged = "",
|
||||
conflict = "",
|
||||
},
|
||||
},
|
||||
-- If you don't want to use these columns, you can set `enabled = false` for each of them individually
|
||||
file_size = {
|
||||
enabled = true,
|
||||
width = 12, -- width of the column
|
||||
required_width = 64, -- min width of window required to show this column
|
||||
},
|
||||
type = {
|
||||
enabled = true,
|
||||
width = 10, -- width of the column
|
||||
required_width = 122, -- min width of window required to show this column
|
||||
},
|
||||
last_modified = {
|
||||
enabled = true,
|
||||
width = 20, -- width of the column
|
||||
required_width = 88, -- min width of window required to show this column
|
||||
},
|
||||
created = {
|
||||
enabled = true,
|
||||
width = 20, -- width of the column
|
||||
required_width = 110, -- min width of window required to show this column
|
||||
},
|
||||
symlink_target = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
-- A list of functions, each representing a global custom command
|
||||
-- that will be available in all sources (if not overridden in `opts[source_name].commands`)
|
||||
-- see `:h neo-tree-custom-commands-global`
|
||||
window = {
|
||||
position = "left",
|
||||
width = 35,
|
||||
mapping_options = {
|
||||
noremap = true,
|
||||
nowait = true,
|
||||
},
|
||||
mappings = {
|
||||
["P"] = { "toggle_preview", config = { use_float = true, use_image_nvim = true } },
|
||||
},
|
||||
},
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = false, -- when true, they will just be displayed differently than normal items
|
||||
hide_dotfiles = true,
|
||||
hide_gitignored = false,
|
||||
hide_hidden = true, -- only works on Windows for hidden files/directories
|
||||
hide_by_name = {
|
||||
--"node_modules"
|
||||
},
|
||||
hide_by_pattern = { -- uses glob style patterns
|
||||
--"*.meta",
|
||||
--"*/src/*/tsconfig.json",
|
||||
},
|
||||
always_show = { -- remains visible even if other settings would normally hide it
|
||||
".gitignored",
|
||||
},
|
||||
always_show_by_pattern = { -- uses glob style patterns
|
||||
".env*",
|
||||
},
|
||||
never_show = { -- remains hidden even if visible is toggled to true, this overrides always_show
|
||||
--".DS_Store",
|
||||
--"thumbs.db"
|
||||
},
|
||||
never_show_by_pattern = { -- uses glob style patterns
|
||||
--".null-ls_*",
|
||||
},
|
||||
},
|
||||
follow_current_file = {
|
||||
enabled = true, -- This will find and focus the file in the active buffer every time
|
||||
-- -- the current file is changed while the tree is open.
|
||||
leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
|
||||
},
|
||||
group_empty_dirs = false, -- when true, empty folders will be grouped together
|
||||
hijack_netrw_behavior = "open_default", -- netrw disabled, opening a directory opens neo-tree
|
||||
-- in whatever position is specified in window.position
|
||||
-- "open_current", -- netrw disabled, opening a directory opens within the
|
||||
-- window like netrw would, regardless of window.position
|
||||
-- "disabled", -- netrw left alone, neo-tree does not handle opening dirs
|
||||
use_libuv_file_watcher = false, -- This will use the OS level file watchers to detect changes
|
||||
-- instead of relying on nvim autocmd events.
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>er", "<cmd>Neotree filesystem reveal left<CR>", { desc = "Reveal file-tree" })
|
||||
vim.keymap.set("n", "<leader>ee", "<cmd>Neotree toggle<CR>", { desc = "Toggle file-tree" })
|
||||
vim.keymap.set("n", "<leader>ef", "<cmd>Neotree float<CR>", { desc = "Float file-tree" })
|
||||
|
||||
vim.opt.fillchars:append({ eob = " " })
|
||||
end,
|
||||
}
|
47
nvim/lua/config/plugins/core/telescope.lua
Normal file
47
nvim/lua/config/plugins/core/telescope.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
return {
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.8",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||
},
|
||||
config = function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
fzf = {},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("fzf")
|
||||
vim.keymap.set("n", "<leader>ff", require("telescope.builtin").find_files, { desc = "Find files" })
|
||||
vim.keymap.set("n", "<leader>fb", require("telescope.builtin").buffers, { desc = "Find buffers" })
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>fs",
|
||||
require("telescope.builtin").lsp_document_symbols,
|
||||
{ desc = "Find lsp symbols" }
|
||||
)
|
||||
vim.keymap.set("n", "<leader>fo", require("telescope.builtin").oldfiles, { desc = "Find recent files" })
|
||||
vim.keymap.set("n", "<leader>fs", require("telescope.builtin").grep_string, { desc = "Find string" })
|
||||
vim.keymap.set("n", "<leader>fc", function()
|
||||
require("telescope.builtin").find_files({
|
||||
cwd = vim.fn.expand("~/.config"),
|
||||
})
|
||||
end, { desc = "Find config files" })
|
||||
require("config.telescope.multigrep").setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
config = function()
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
["ui-select"] = {
|
||||
require("telescope.themes").get_dropdown({}),
|
||||
},
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("ui-select")
|
||||
end,
|
||||
},
|
||||
}
|
35
nvim/lua/config/plugins/core/tree-sitter.lua
Normal file
35
nvim/lua/config/plugins/core/tree-sitter.lua
Normal file
|
@ -0,0 +1,35 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
build = ":TSUpdate",
|
||||
dependencies = {
|
||||
"windwp/nvim-ts-autotag",
|
||||
},
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
autotag = {
|
||||
enable = true,
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "<leader><leader>",
|
||||
node_incremental = "<leader><leader>",
|
||||
scope_incremental = false,
|
||||
node_decremental = "<bs>",
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.keymap.set("n", "<leader>ti", "<cmd>InspectTree<CR>", { desc = "Inspect tree-sitter" })
|
||||
end,
|
||||
},
|
||||
}
|
19
nvim/lua/config/plugins/core/trouble.lua
Normal file
19
nvim/lua/config/plugins/core/trouble.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons", "folke/todo-comments.nvim" },
|
||||
opts = {
|
||||
focus = true,
|
||||
},
|
||||
cmd = "Trouble",
|
||||
keys = {
|
||||
{ "<leader>xw", "<cmd>Trouble diagnostics toggle<CR>", desc = "Open trouble workspace diagnostics" },
|
||||
{
|
||||
"<leader>xd",
|
||||
"<cmd>Trouble diagnostics toggle filter.buf=0<CR>",
|
||||
desc = "Open trouble document diagnostics",
|
||||
},
|
||||
{ "<leader>xq", "<cmd>Trouble quickfix toggle<CR>", desc = "Open trouble quickfix list" },
|
||||
{ "<leader>xl", "<cmd>Trouble loclist toggle<CR>", desc = "Open trouble location list" },
|
||||
{ "<leader>xt", "<cmd>Trouble todo toggle<CR>", desc = "Open todos in trouble" },
|
||||
},
|
||||
}
|
3
nvim/lua/config/plugins/git/fugitive.lua
Normal file
3
nvim/lua/config/plugins/git/fugitive.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"tpope/vim-fugitive",
|
||||
}
|
9
nvim/lua/config/plugins/git/gitsigns.lua
Normal file
9
nvim/lua/config/plugins/git/gitsigns.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"lewis6991/gitsigns.nvim",
|
||||
config = function()
|
||||
require("gitsigns").setup()
|
||||
|
||||
vim.keymap.set("n", "<leader>gh", "<cmd>Gitsigns preview_hunk<CR>", { desc = "Preview git hunks" })
|
||||
vim.keymap.set("n", "<leader>gb", "<cmd>Gitsigns toggle_current_line_blame<CR>", { desc = "Toggle git blame" })
|
||||
end,
|
||||
}
|
20
nvim/lua/config/plugins/git/lazygit.lua
Normal file
20
nvim/lua/config/plugins/git/lazygit.lua
Normal file
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
"kdheepak/lazygit.nvim",
|
||||
lazy = true,
|
||||
cmd = {
|
||||
"LazyGit",
|
||||
"LazyGitConfig",
|
||||
"LazyGitCurrentFile",
|
||||
"LazyGitFilter",
|
||||
"LazyGitFilterCurrentFile",
|
||||
},
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||
-- order to load the plugin when the command is run for the first time
|
||||
keys = {
|
||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "Open lazy git" },
|
||||
},
|
||||
}
|
68
nvim/lua/config/plugins/lsp/lspconfig.lua
Normal file
68
nvim/lua/config/plugins/lsp/lspconfig.lua
Normal file
|
@ -0,0 +1,68 @@
|
|||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
{ "antosha417/nvim-lsp-file-operations", config = true },
|
||||
{
|
||||
"folke/lazydev.nvim",
|
||||
ft = "lua", -- only load on lua files
|
||||
opts = {
|
||||
library = {
|
||||
-- See the configuration section for more details
|
||||
-- Load luvit types when the `vim.uv` word is found
|
||||
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
-- Change the Diagnostic symbols in the sign column (gutter)
|
||||
local signs = { Error = "", Warn = "", Hint = "", Info = "" }
|
||||
for type, icon in pairs(signs) do
|
||||
local hl = "DiagnosticSign" .. type
|
||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
|
||||
end
|
||||
|
||||
require("mason-lspconfig").setup_handlers({
|
||||
-- default handler for installed servers
|
||||
function(server_name)
|
||||
require("lspconfig")[server_name].setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, { desc = "Code action" })
|
||||
|
||||
vim.keymap.set("n", "<leader>gd", vim.lsp.buf.declaration, { desc = "Go to declaration" }) -- go to declaration
|
||||
|
||||
vim.keymap.set("n", "<leader>co", vim.lsp.buf.rename, { desc = "Change all occurrence" }) -- smart rename
|
||||
|
||||
vim.keymap.set("n", "<leader>dp", vim.diagnostic.goto_prev, { desc = "Go to prev diagnostic" }) -- jump to previous diagnostic in buffer
|
||||
|
||||
vim.keymap.set("n", "<leader>dn", vim.diagnostic.goto_next, { desc = "Go to next diagnostic" }) -- jump to next diagnostic in buffer
|
||||
|
||||
vim.keymap.set("n", "<leader>lr", ":LspRestart<CR>", { desc = "Restart LSP" }) -- mapping to restart lsp if necessary
|
||||
|
||||
vim.api.nvim_create_autocmd("LspAttach", {
|
||||
callback = function(args)
|
||||
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||
if not client then
|
||||
return
|
||||
end
|
||||
|
||||
if client.supports_method("textDocument/formatting") then
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
buffer = args.buf,
|
||||
callback = function()
|
||||
vim.lsp.buf.format({ bufnr = args.buf, id = client.id })
|
||||
end,
|
||||
})
|
||||
end
|
||||
end,
|
||||
})
|
||||
end,
|
||||
}
|
6
nvim/lua/config/plugins/lsp/mason-lspconfig.lua
Normal file
6
nvim/lua/config/plugins/lsp/mason-lspconfig.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
opts = {
|
||||
auto_install = true,
|
||||
},
|
||||
}
|
33
nvim/lua/config/plugins/lsp/mason.lua
Normal file
33
nvim/lua/config/plugins/lsp/mason.lua
Normal file
|
@ -0,0 +1,33 @@
|
|||
return {
|
||||
"williamboman/mason.nvim",
|
||||
config = function()
|
||||
require("mason").setup({
|
||||
ui = {
|
||||
check_outdated_packages_on_open = true,
|
||||
|
||||
---@since 1.0.0
|
||||
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
|
||||
border = "rounded",
|
||||
|
||||
---@since 1.0.0
|
||||
-- Width of the window. Accepts:
|
||||
-- - Integer greater than 1 for fixed width.
|
||||
-- - Float in the range of 0-1 for a percentage of screen width.
|
||||
width = 0.6,
|
||||
|
||||
---@since 1.0.0
|
||||
-- Height of the window. Accepts:
|
||||
-- - Integer greater than 1 for fixed height.
|
||||
-- - Float in the range of 0-1 for a percentage of screen height.
|
||||
height = 0.6,
|
||||
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗",
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.keymap.set("n", "<leader>m", "<cmd>Mason<CR>", { desc = "Mason" })
|
||||
end,
|
||||
}
|
14
nvim/lua/config/plugins/lsp/none-ls.lua
Normal file
14
nvim/lua/config/plugins/lsp/none-ls.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"nvimtools/none-ls.nvim",
|
||||
config = function()
|
||||
local null_ls = require("null-ls")
|
||||
|
||||
null_ls.setup({
|
||||
sources = {
|
||||
null_ls.builtins.formatting.stylua,
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>gf", vim.lsp.buf.format, { desc = "Format file" })
|
||||
end,
|
||||
}
|
10
nvim/lua/config/plugins/qol/auto-pairs.lua
Normal file
10
nvim/lua/config/plugins/qol/auto-pairs.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup({
|
||||
disable_in_macro = false,
|
||||
disable_in_replace_mode = false,
|
||||
})
|
||||
end,
|
||||
}
|
11
nvim/lua/config/plugins/qol/auto-session.lua
Normal file
11
nvim/lua/config/plugins/qol/auto-session.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"rmagatti/auto-session",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("auto-session").setup({
|
||||
auto_restore_enabled = false,
|
||||
})
|
||||
vim.keymap.set("n", "<leader>sr", "<cmd>SessionRestore<CR>", { desc = "Restore session" })
|
||||
vim.keymap.set("n", "<leader>ss", "<cmd>SessionSave<CR>", { desc = "Save session" })
|
||||
end,
|
||||
}
|
6
nvim/lua/config/plugins/qol/surround.lua
Normal file
6
nvim/lua/config/plugins/qol/surround.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"kylechui/nvim-surround",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||
config = true,
|
||||
}
|
18
nvim/lua/config/plugins/qol/vim-tmux-navigator.lua
Normal file
18
nvim/lua/config/plugins/qol/vim-tmux-navigator.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
"christoomey/vim-tmux-navigator",
|
||||
cmd = {
|
||||
"TmuxNavigateLeft",
|
||||
"TmuxNavigateDown",
|
||||
"TmuxNavigateUp",
|
||||
"TmuxNavigateRight",
|
||||
"TmuxNavigatePrevious",
|
||||
"TmuxNavigatorProcessList",
|
||||
},
|
||||
keys = {
|
||||
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>", { desc = "Tmux left" } },
|
||||
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
|
||||
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
|
||||
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
|
||||
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
||||
},
|
||||
}
|
17
nvim/lua/config/plugins/qol/which-key.lua
Normal file
17
nvim/lua/config/plugins/qol/which-key.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 3000
|
||||
end,
|
||||
opts = {
|
||||
preset = "modern",
|
||||
icons = {
|
||||
-- set to false to disable all mapping icons,
|
||||
-- both those explicitly added in a mapping
|
||||
-- and those from rules
|
||||
mappings = false,
|
||||
},
|
||||
},
|
||||
}
|
52
nvim/lua/config/plugins/ui/alpha.lua
Normal file
52
nvim/lua/config/plugins/ui/alpha.lua
Normal file
|
@ -0,0 +1,52 @@
|
|||
return {
|
||||
"goolord/alpha-nvim",
|
||||
event = "VimEnter",
|
||||
config = function()
|
||||
local alpha = require("alpha")
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
||||
-- Set header
|
||||
dashboard.section.header.val = {
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
|
||||
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
|
||||
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
|
||||
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
|
||||
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
|
||||
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
|
||||
" ",
|
||||
}
|
||||
|
||||
-- Set menu
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("?", "? > Help", "<cmd>WhichKey<CR>", { desc = "Help/Search backward" }),
|
||||
-- dashboard.button("SPC l", "L > Lazy", "<cmd>Lazy<CR>", { desc = "Lazy" }),
|
||||
-- dashboard.button("SPC m", "M > Mason", "<cmd>Mason<CR>", { desc = "Mason" }),
|
||||
dashboard.button(
|
||||
"SPC ee",
|
||||
" > Toggle file explorer",
|
||||
"<cmd>Neotree toggle<CR>",
|
||||
{ desc = "Toggle file tree" }
|
||||
),
|
||||
dashboard.button("SPC ff", " > Find File", "<cmd>Telescope find_files<CR>", { desc = "Find files" }),
|
||||
dashboard.button(
|
||||
"SPC sr",
|
||||
" > Restore Session",
|
||||
"<cmd>SessionRestore<CR>",
|
||||
{ desc = "Restore session" }
|
||||
),
|
||||
dashboard.button("q", " > Quit NVIM", "<cmd>quit<CR>", { desc = "Quit" }),
|
||||
}
|
||||
|
||||
-- Send config to alpha
|
||||
alpha.setup(dashboard.opts)
|
||||
|
||||
-- Disable folding on alpha buffer
|
||||
vim.cmd([[autocmd FileType alpha setlocal nofoldenable]])
|
||||
end,
|
||||
}
|
16
nvim/lua/config/plugins/ui/catppuccin.lua
Normal file
16
nvim/lua/config/plugins/ui/catppuccin.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("catppuccin").setup({
|
||||
integrations = {
|
||||
mason = true,
|
||||
},
|
||||
})
|
||||
-- setup must be called before loading
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
end,
|
||||
},
|
||||
}
|
5
nvim/lua/config/plugins/ui/dressing.lua
Normal file
5
nvim/lua/config/plugins/ui/dressing.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"stevearc/dressing.nvim",
|
||||
enabled = false,
|
||||
event = "VeryLazy",
|
||||
}
|
9
nvim/lua/config/plugins/ui/indent-blankline.lua
Normal file
9
nvim/lua/config/plugins/ui/indent-blankline.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
main = "ibl",
|
||||
opts = {
|
||||
indent = { char = "¦" },
|
||||
-- indent = { char = "│" },
|
||||
},
|
||||
}
|
25
nvim/lua/config/plugins/ui/lua-line.lua
Normal file
25
nvim/lua/config/plugins/ui/lua-line.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
config = function()
|
||||
require("lualine").setup({
|
||||
options = {
|
||||
theme = "horizon",
|
||||
},
|
||||
sections = {
|
||||
lualine_b = {
|
||||
{
|
||||
"filename",
|
||||
symbols = {
|
||||
unnamed = "",
|
||||
},
|
||||
},
|
||||
},
|
||||
lualine_c = {},
|
||||
lualine_x = {},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
15
nvim/lua/config/plugins/ui/todo-comments.lua
Normal file
15
nvim/lua/config/plugins/ui/todo-comments.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
"folke/todo-comments.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
require("todo-comments").setup()
|
||||
vim.keymap.set("n", "<leader>tn", function()
|
||||
require("todo-comments").jump_next()
|
||||
end, { desc = "Next todo comment" })
|
||||
|
||||
vim.keymap.set("n", "<leader>tp", function()
|
||||
require("todo-comments").jump_prev()
|
||||
end, { desc = "Previous todo comment" })
|
||||
end,
|
||||
}
|
54
nvim/lua/config/telescope/multigrep.lua
Normal file
54
nvim/lua/config/telescope/multigrep.lua
Normal file
|
@ -0,0 +1,54 @@
|
|||
local pickers = require("telescope.pickers")
|
||||
local finders = require("telescope.finders")
|
||||
local make_entry = require("telescope.make_entry")
|
||||
local conf = require("telescope.config").values
|
||||
local M = {}
|
||||
|
||||
local live_multigrep = function(opts)
|
||||
opts = opts or {}
|
||||
opts.cwd = opts.cwd or vim.fn.getcwd()
|
||||
|
||||
local finder = finders.new_async_job({
|
||||
command_generator = function(prompt)
|
||||
if not prompt or prompt == "" then
|
||||
return nil
|
||||
end
|
||||
|
||||
local pieces = vim.split(prompt, " ")
|
||||
local args = { "rg" }
|
||||
|
||||
if pieces[1] then
|
||||
table.insert(args, "-e")
|
||||
table.insert(args, pieces[1])
|
||||
end
|
||||
|
||||
if pieces[2] then
|
||||
table.insert(args, "-g")
|
||||
table.insert(args, pieces[2])
|
||||
end
|
||||
|
||||
---@diagnostic disable-next-line: deprecated
|
||||
return vim.tbl_flatten({
|
||||
args,
|
||||
{ "--color=never", "--no-heading", "--with-filename", "--line-number", "--column", "--smart-case" },
|
||||
})
|
||||
end,
|
||||
entry_maker = make_entry.gen_from_vimgrep(opts),
|
||||
cwd = opts.cwd,
|
||||
})
|
||||
pickers
|
||||
.new(opts, {
|
||||
debounce = 100,
|
||||
prompt_title = "Multi Grep",
|
||||
finder = finder,
|
||||
previewer = conf.grep_previewer(opts),
|
||||
sorter = require("telescope.sorters").empty(),
|
||||
})
|
||||
:find()
|
||||
end
|
||||
|
||||
M.setup = function()
|
||||
vim.keymap.set("n", "<leader>fg", live_multigrep, { desc = "Multi grep" })
|
||||
end
|
||||
|
||||
return M
|
6
rclone/rclone.conf
Normal file
6
rclone/rclone.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
[gdrive]
|
||||
type = drive
|
||||
scope = drive
|
||||
token = {"access_token":"ya29.a0AXeO80R7Tc3NxEeFtTArpiZDmvJov7BmHXaTxvD5ViQoIU_3RgpgPSbJl2z_2vgg1CJUZFhjTCN7thfdq0MraqLNTo9qfk7AsO0JlxlQWeVmPXOWWmZ5XDZGyftHdLK3M00n6vZs1iy8a_-GCBK-teqzHIg-itFgd9RQcBfg0gaCgYKATcSARASFQHGX2MiUo9_C9zlOxzFw4Aj2E6Otw0177","token_type":"Bearer","refresh_token":"1//0g4Cvgh0JYSxCCgYIARAAGBASNwF-L9IrFyR_ZNAUZr-jmRWfsFD1nVziPSkN-r68HWQ3K4_Pnyg3FokKa37YPJ09jO-GWLiDT94","expiry":"2025-02-21T22:32:55.235070477+05:30"}
|
||||
team_drive =
|
||||
|
0
rofi/bluetooth/bluetooth.sh
Executable file → Normal file
0
rofi/bluetooth/bluetooth.sh
Executable file → Normal file
BIN
rofi/clipboard/.syncthing.clipboard.rasi.tmp
Normal file
BIN
rofi/clipboard/.syncthing.clipboard.rasi.tmp
Normal file
Binary file not shown.
BIN
rofi/clipboard/.syncthing.confirmation.rasi.tmp
Normal file
BIN
rofi/clipboard/.syncthing.confirmation.rasi.tmp
Normal file
Binary file not shown.
BIN
rofi/clipboard/.syncthing.launcher.sh.tmp
Normal file
BIN
rofi/clipboard/.syncthing.launcher.sh.tmp
Normal file
Binary file not shown.
127
rofi/clipboard/clipboard.rasi
Normal file
127
rofi/clipboard/clipboard.rasi
Normal file
|
@ -0,0 +1,127 @@
|
|||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
show-icons: false;
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "JetBrains Mono Nerd Font 12";
|
||||
background: #11111b;
|
||||
background-alt: #313244;
|
||||
foreground: #eff1f5;
|
||||
selected: #cba6f7;
|
||||
active: #6E77FF;
|
||||
urgent: #8E3596;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
border-radius: 8px;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
background-color: transparent;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar", "listview" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 28px 24px 0px 24px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
children: [ "textbox-prompt-colon", "dummy", "entry" ];
|
||||
}
|
||||
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
width: 250px;
|
||||
padding: 12px 16px 8px 16px;
|
||||
border-radius: 8px;
|
||||
background-color: @background-alt;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
font: "Font Awesome 5 Free 14";
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: "";
|
||||
padding: 11px 14px 11px 14px;
|
||||
border-radius: 100%;
|
||||
background-color: #a6e3a1;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
/*****----- Listview -----*****/
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 5;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 0px;
|
||||
margin: 32px 24px;
|
||||
border-radius: 8px;
|
||||
background-color: #1e1e2e;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 12px 8px;
|
||||
border-radius: 8px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
}
|
||||
element.selected {
|
||||
background-color: @selected;
|
||||
text-color: @background;
|
||||
}
|
||||
element-icon {
|
||||
size: 0px;
|
||||
}
|
||||
element-text {
|
||||
padding: 0px 16px;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0;
|
||||
}
|
104
rofi/clipboard/confirmation.rasi
Normal file
104
rofi/clipboard/confirmation.rasi
Normal file
|
@ -0,0 +1,104 @@
|
|||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
show-icons: false;
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "JetBrainsMono Nerd Font Mono Bold 12";
|
||||
background: #11111b;
|
||||
selected: #cba6f7;
|
||||
active: #716251;
|
||||
urgent: #934A1C;
|
||||
}
|
||||
|
||||
/*
|
||||
USE_BUTTONS=YES
|
||||
*/
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 350px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 8px;
|
||||
border-color: @selected;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
children: [ "message", "listview" ];
|
||||
}
|
||||
|
||||
/*****----- Listview -----*****/
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 16px;
|
||||
padding: 32px;
|
||||
margin: 0px;
|
||||
background-color: transparent;
|
||||
cursor: "default";
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
padding: 17px;
|
||||
border-radius: 16px;
|
||||
background-color: #585b70;
|
||||
text-color: #eff1f5;
|
||||
cursor: pointer;
|
||||
}
|
||||
element-text {
|
||||
font: "Font Awesome 5 Free Bold 24";
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: #8839ef;
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
enabled: true;
|
||||
margin: 0px 25px;
|
||||
padding: 10px 20px;
|
||||
border-radius: 0% 0% 100% 100%;
|
||||
background-color: #f5c2e7;
|
||||
}
|
||||
textbox {
|
||||
background-color: transparent;
|
||||
text-color: #313244;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
|
@ -1,11 +1,30 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
## Directory and theme setup
|
||||
dir="$HOME/.config/rofi/clipboard/"
|
||||
theme='style'
|
||||
if [[ -z $(wl-paste) ]]; then
|
||||
dunstify -h string:x-dunst-stack-tag:clip_notif -t 4000 -u critical "Clipboard Manager" "Clipboard is empty"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo ${dir}
|
||||
dir="$HOME/.config/rofi/clipboard"
|
||||
|
||||
## Clipboard Search with Rofi and custom theme
|
||||
cliphist list | awk '{$1=""; print $0}' | rofi -dmenu -i -p "Search" -theme ${dir}/${theme}.rasi | wl-copy
|
||||
choice=$(echo -e "\t\uf1f8 Wipe Clipboard\n$(cliphist list)" | rofi -markup-rows -dmenu -display-columns 2 -theme ${dir}/clipboard.rasi)
|
||||
|
||||
if [[ $choice == *"Wipe Clipboard"* ]]; then
|
||||
yes=''
|
||||
no=''
|
||||
|
||||
confirmation=$(echo -e "<span foreground='#a6e3a1'>$yes</span>\n<span foreground='#f38ba8'>$no</span>" | \
|
||||
rofi -markup-rows -dmenu -p 'Confirmation' -mesg 'Are you Sure?' -theme ${dir}/confirmation.rasi)
|
||||
|
||||
if [[ $confirmation =~ "$yes" ]]; then
|
||||
cliphist wipe
|
||||
wl-copy -c
|
||||
dunstify -h string:x-dunst-stack-tag:clip_notif -t 4000 -u critical "Clipboard Manager" "Clipboard has been wiped"
|
||||
fi
|
||||
exit
|
||||
elif [[ -n $choice ]]; then
|
||||
cliphist decode "$choice" | wl-copy
|
||||
wtype -M ctrl -M shift -P v -s 500 -p v -m shift -m ctrl
|
||||
else
|
||||
exit
|
||||
fi
|
BIN
rofi/launcher/.syncthing.style.rasi.tmp
Normal file
BIN
rofi/launcher/.syncthing.style.rasi.tmp
Normal file
Binary file not shown.
|
@ -60,9 +60,8 @@ listbox {
|
|||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 8px;
|
||||
padding: 32px 32px 80px 32px;
|
||||
padding: 32px 32px 0px 32px;
|
||||
background-color: transparent;
|
||||
background-image: url("~/Downloads/wallpaper/Window.png",width);
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ];
|
||||
|
|
BIN
rofi/powermenu/.syncthing.powermenu.sh.tmp
Normal file
BIN
rofi/powermenu/.syncthing.powermenu.sh.tmp
Normal file
Binary file not shown.
|
@ -9,11 +9,11 @@ uptime="`uptime -p | sed -e 's/up //g' | sed -e 's/hour/hr/g' | sed -e 's/minute
|
|||
|
||||
# Options
|
||||
hibernate=''
|
||||
shutdown=''
|
||||
reboot=''
|
||||
lock=''
|
||||
shutdown=''
|
||||
reboot='⟳'
|
||||
lock=''
|
||||
suspend=''
|
||||
logout=''
|
||||
logout=''
|
||||
yes=''
|
||||
no=''
|
||||
|
||||
|
|
75
rofi/search/search.sh
Normal file
75
rofi/search/search.sh
Normal file
|
@ -0,0 +1,75 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Define the directory where Rofi themes are stored
|
||||
dir="$HOME/.config/rofi/search/"
|
||||
theme='style'
|
||||
|
||||
# Prompt user for search input using Rofi dmenu mode
|
||||
SEARCH_STRING=$(rofi -dmenu -p "Search" -theme "${dir}/${theme}.rasi")
|
||||
|
||||
# Check if search string is empty, if so, exit
|
||||
if [[ -z "$SEARCH_STRING" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if the input is a command to change directories
|
||||
if [[ "$SEARCH_STRING" == cd* ]]; then
|
||||
# Extract the directory path
|
||||
DIR_PATH=$(echo "$SEARCH_STRING" | awk '{print $2}')
|
||||
|
||||
# If no path is specified, default to the home directory
|
||||
if [[ -z "$DIR_PATH" ]]; then
|
||||
DIR_PATH="$HOME"
|
||||
fi
|
||||
|
||||
# Open Kitty and navigate to the specified directory
|
||||
kitty --directory="$DIR_PATH" &
|
||||
exit
|
||||
fi
|
||||
|
||||
# Extract the first word as ENGINE and the rest as QUERY
|
||||
ENGINE=$(echo "$SEARCH_STRING" | awk '{print $1}')
|
||||
QUERY=$(echo "$SEARCH_STRING" | awk '{$1=""; print $0}' | sed 's/^ *//g')
|
||||
|
||||
# Handle search engine cases
|
||||
case "$ENGINE" in
|
||||
yt)
|
||||
# If the engine is 'yt' and no query, go to YouTube homepage
|
||||
if [[ -z "$QUERY" ]]; then
|
||||
xdg-open "https://www.youtube.com"
|
||||
else
|
||||
# Search YouTube for the query
|
||||
ENCODED_QUERY=$(echo "$QUERY" | sed 's/ /+/g')
|
||||
xdg-open "https://www.youtube.com/results?search_query=$ENCODED_QUERY"
|
||||
fi
|
||||
exit
|
||||
;;
|
||||
arch)
|
||||
# Search Arch Wiki
|
||||
ENCODED_QUERY=$(echo "$QUERY" | sed 's/ /+/g')
|
||||
xdg-open "https://wiki.archlinux.org/index.php?search=$ENCODED_QUERY"
|
||||
exit
|
||||
;;
|
||||
hypr)
|
||||
# Search Hyprland documentation or relevant page
|
||||
ENCODED_QUERY=$(echo "$QUERY" | sed 's/ /+/g')
|
||||
xdg-open "https://wiki.hyprland.org/Getting-Started/$ENCODED_QUERY"
|
||||
exit
|
||||
;;
|
||||
man)
|
||||
# If the engine is 'man', open the manual page for the command in Kitty
|
||||
MAN_COMMAND=$(echo "$QUERY" | sed 's/^ *//g') # Trim leading whitespace
|
||||
if [[ -z "$MAN_COMMAND" ]]; then
|
||||
echo "No command specified for man. Please provide a command."
|
||||
exit 1
|
||||
else
|
||||
kitty -e man "$MAN_COMMAND" & # Open the man page in Kitty
|
||||
exit
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
# If no known engine, search Google for the whole input
|
||||
ENCODED_QUERY=$(echo "$SEARCH_STRING" | sed 's/ /+/g')
|
||||
xdg-open "https://www.google.com/search?q=$ENCODED_QUERY"
|
||||
;;
|
||||
esac
|
80
rofi/search/style.rasi
Normal file
80
rofi/search/style.rasi
Normal file
|
@ -0,0 +1,80 @@
|
|||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
show-icons: false;
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "JetBrains Mono Nerd Font 12";
|
||||
background: #11111b;
|
||||
background-alt: #313244;
|
||||
foreground: #eff1f5;
|
||||
selected: #cba6f7;
|
||||
active: #6E77FF;
|
||||
urgent: #8E3596;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 400px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
border-radius: 8px;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
background-color: transparent;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 28px 24px 24px 24px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
children: [ "textbox-prompt-colon", "dummy", "entry" ];
|
||||
}
|
||||
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
width: 280px;
|
||||
padding: 12px 16px 8px 16px;
|
||||
border-radius: 8px;
|
||||
background-color: @background-alt;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
// icon
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: "";
|
||||
padding: 12px 24px 12px 14px;
|
||||
border-radius: 100%;
|
||||
background-color: #a6e3a1;
|
||||
text-color: @background;
|
||||
}
|
BIN
rofi/wifi/.syncthing.wifi.sh.tmp
Normal file
BIN
rofi/wifi/.syncthing.wifi.sh.tmp
Normal file
Binary file not shown.
4
rofi/wifi/wifi.sh
Executable file → Normal file
4
rofi/wifi/wifi.sh
Executable file → Normal file
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
notify-send -t 3000 -i info " Checking For Wifi"
|
||||
|
||||
# Check if wifi is on
|
||||
check_wifi_on=$( nmcli --field WIFI g | sed 1d | sed 's/ //g' )
|
||||
|
||||
|
@ -81,3 +83,5 @@ elif [[ $choice != "" ]] ; then
|
|||
take_password
|
||||
nmcli device wifi connect "$choice" password "$password"
|
||||
fi
|
||||
|
||||
|
||||
|
|
BIN
rofi/xclip/.syncthing.xclipboard.sh.tmp
Normal file
BIN
rofi/xclip/.syncthing.xclipboard.sh.tmp
Normal file
Binary file not shown.
19
rofi/xclip/xclipboard.sh
Normal file
19
rofi/xclip/xclipboard.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Get the clipboard history from xclip
|
||||
CLIPBOARD_HISTORY=~/clipboard_history.txt
|
||||
|
||||
# Save current clipboard content to a file
|
||||
xclip -o -selection clipboard >> "$CLIPBOARD_HISTORY"
|
||||
|
||||
# Remove duplicate entries and keep the last few
|
||||
awk '!seen[$0]++' "$CLIPBOARD_HISTORY" > "${CLIPBOARD_HISTORY}.tmp" && mv "${CLIPBOARD_HISTORY}.tmp" "$CLIPBOARD_HISTORY"
|
||||
|
||||
# Use rofi to select from clipboard history
|
||||
SELECTED=$(cat "$CLIPBOARD_HISTORY" | rofi -dmenu -p "Clipboard:")
|
||||
|
||||
# Copy selected text back to clipboard
|
||||
if [ -n "$SELECTED" ]; then
|
||||
echo -n "$SELECTED" | xclip -selection clipboard
|
||||
fi
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
[bun]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[buf]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[cmake]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[cobol]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[crystal]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[daml]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[dart]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[deno]
|
||||
format = "via [$symbol]($style)"
|
||||
|
||||
[dotnet]
|
||||
format = "[$symbol(🎯 $tfm )]($style)"
|
||||
|
||||
[elixir]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[elm]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[erlang]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[fennel]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[gleam]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[golang]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[gradle]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[haxe]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[helm]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[java]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[julia]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[kotlin]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[lua]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[meson]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[nim]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[nodejs]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[ocaml]
|
||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
||||
|
||||
[opa]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[perl]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[php]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[pulumi]
|
||||
format = 'via [$symbol$stack]($style)'
|
||||
|
||||
[purescript]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[python]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[quarto]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[raku]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[red]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[rlang]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[ruby]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[rust]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[solidity]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[typst]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[swift]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[vagrant]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[vlang]
|
||||
format = 'via [$symbol]($style)'
|
||||
|
||||
[zig]
|
||||
format = 'via [$symbol]($style)'
|
176
starship/starship.toml
Normal file
176
starship/starship.toml
Normal file
|
@ -0,0 +1,176 @@
|
|||
|
||||
[aws]
|
||||
symbol = " "
|
||||
|
||||
[buf]
|
||||
symbol = " "
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
|
||||
[cmake]
|
||||
symbol = " "
|
||||
|
||||
[conda]
|
||||
symbol = " "
|
||||
|
||||
[crystal]
|
||||
symbol = " "
|
||||
|
||||
[dart]
|
||||
symbol = " "
|
||||
|
||||
[directory]
|
||||
read_only = " "
|
||||
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
|
||||
[fennel]
|
||||
symbol = " "
|
||||
|
||||
[fossil_branch]
|
||||
symbol = " "
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
|
||||
[git_commit]
|
||||
tag_symbol = ' '
|
||||
|
||||
[golang]
|
||||
symbol = " "
|
||||
|
||||
[guix_shell]
|
||||
symbol = " "
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
|
||||
[haxe]
|
||||
symbol = " "
|
||||
|
||||
[hg_branch]
|
||||
symbol = " "
|
||||
|
||||
[hostname]
|
||||
ssh_symbol = " "
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
|
||||
[kotlin]
|
||||
symbol = " "
|
||||
|
||||
[lua]
|
||||
symbol = " "
|
||||
|
||||
[memory_usage]
|
||||
symbol = " "
|
||||
|
||||
[meson]
|
||||
symbol = " "
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
|
||||
[nix_shell]
|
||||
symbol = " "
|
||||
|
||||
[nodejs]
|
||||
symbol = " "
|
||||
|
||||
[ocaml]
|
||||
symbol = " "
|
||||
|
||||
[os.symbols]
|
||||
Alpaquita = " "
|
||||
Alpine = " "
|
||||
AlmaLinux = " "
|
||||
Amazon = " "
|
||||
Android = " "
|
||||
Arch = " "
|
||||
Artix = " "
|
||||
CachyOS = " "
|
||||
CentOS = " "
|
||||
Debian = " "
|
||||
DragonFly = " "
|
||||
Emscripten = " "
|
||||
EndeavourOS = " "
|
||||
Fedora = " "
|
||||
FreeBSD = " "
|
||||
Garuda = " "
|
||||
Gentoo = " "
|
||||
HardenedBSD = " "
|
||||
Illumos = " "
|
||||
Kali = " "
|
||||
Linux = " "
|
||||
Mabox = " "
|
||||
Macos = " "
|
||||
Manjaro = " "
|
||||
Mariner = " "
|
||||
MidnightBSD = " "
|
||||
Mint = " "
|
||||
NetBSD = " "
|
||||
NixOS = " "
|
||||
Nobara = " "
|
||||
OpenBSD = " "
|
||||
openSUSE = " "
|
||||
OracleLinux = " "
|
||||
Pop = " "
|
||||
Raspbian = " "
|
||||
Redhat = " "
|
||||
RedHatEnterprise = " "
|
||||
RockyLinux = " "
|
||||
Redox = " "
|
||||
Solus = " "
|
||||
SUSE = " "
|
||||
Ubuntu = " "
|
||||
Unknown = " "
|
||||
Void = " "
|
||||
Windows = " "
|
||||
|
||||
[package]
|
||||
symbol = " "
|
||||
|
||||
[perl]
|
||||
symbol = " "
|
||||
|
||||
[php]
|
||||
symbol = " "
|
||||
|
||||
[pijul_channel]
|
||||
symbol = " "
|
||||
|
||||
[python]
|
||||
symbol = " "
|
||||
|
||||
[rlang]
|
||||
symbol = " "
|
||||
|
||||
[ruby]
|
||||
symbol = " "
|
||||
|
||||
[rust]
|
||||
symbol = " "
|
||||
|
||||
[scala]
|
||||
symbol = " "
|
||||
|
||||
[swift]
|
||||
symbol = " "
|
||||
|
||||
[zig]
|
||||
symbol = " "
|
||||
|
||||
[gradle]
|
||||
symbol = " "
|
61
starship/starship_bac.toml
Executable file
61
starship/starship_bac.toml
Executable file
|
@ -0,0 +1,61 @@
|
|||
format = """
|
||||
$username\
|
||||
$hostname\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_state \
|
||||
$cmd_duration \
|
||||
$git_status \
|
||||
$fill\
|
||||
$time\
|
||||
$line_break\
|
||||
$character"""
|
||||
|
||||
[fill]
|
||||
symbol = " "
|
||||
style = "#b4befe"
|
||||
|
||||
[directory]
|
||||
style = "#89b4fa"
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](#cba6f7)" # Mocha success symbol color
|
||||
error_symbol = "[❮](#f38ba8)"
|
||||
vimcmd_symbol = "[❮](#c3e88d)" # Mocha Vim command symbol color
|
||||
|
||||
[git_branch]
|
||||
format = "[ $branch]($style)"
|
||||
style = "#a6d4d7" # Catppuccin Mocha git branch color
|
||||
|
||||
[git_status]
|
||||
format = "[($conflicted$untracked$modified$staged$renamed$deleted)]($style) ($ahead_behind$stashed)"
|
||||
style = "fg:#f5e0dc"
|
||||
conflicted = "~"
|
||||
untracked = "?"
|
||||
modified = "Δ"
|
||||
staged = "+"
|
||||
renamed = "δ"
|
||||
deleted = "x"
|
||||
ahead = "⇡"
|
||||
behind = "⇣"
|
||||
stashed = "*"
|
||||
|
||||
|
||||
[git_state]
|
||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||||
style = "#cba6f7" # Catppuccin Mocha git state color
|
||||
disabled = false # Ensure that git_state isn't disabled
|
||||
|
||||
[cmd_duration]
|
||||
format = "[$duration]($style) "
|
||||
style = "#e8a2af" # Catppuccin Mocha command duration color
|
||||
|
||||
[python]
|
||||
format = "[$virtualenv]($style) "
|
||||
style = "#f5c2e7" # Catppuccin Mocha Python virtual environment color
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R"
|
||||
style = "bg:#a6e3a1"
|
||||
format = '[[ $time ](#a6e3a1)]($style )'
|
27
starship/theme.toml
Executable file
27
starship/theme.toml
Executable file
|
@ -0,0 +1,27 @@
|
|||
[palettes.catppuccin_mocha]
|
||||
rosewater = "#f5e0dc"
|
||||
flamingo = "#f2cdcd"
|
||||
pink = "#f5c2e7"
|
||||
mauve = "#cba6f7"
|
||||
red = "#f38ba8"
|
||||
maroon = "#eba0ac"
|
||||
peach = "#fab387"
|
||||
yellow = "#f9e2af"
|
||||
green = "#a6e3a1"
|
||||
teal = "#94e2d5"
|
||||
sky = "#89dceb"
|
||||
sapphire = "#74c7ec"
|
||||
blue = "#89b4fa"
|
||||
lavender = "#b4befe"
|
||||
text = "#cdd6f4"
|
||||
subtext1 = "#bac2de"
|
||||
subtext0 = "#a6adc8"
|
||||
overlay2 = "#9399b2"
|
||||
overlay1 = "#7f849c"
|
||||
overlay0 = "#6c7086"
|
||||
surface2 = "#585b70"
|
||||
surface1 = "#45475a"
|
||||
surface0 = "#313244"
|
||||
base = "#1e1e2e"
|
||||
mantle = "#181825"
|
||||
crust = "#11111b"
|
|
@ -1,83 +0,0 @@
|
|||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
set -g mouse on
|
||||
set -g mode-keys vi
|
||||
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
|
||||
|
||||
|
||||
# Vim style pane selection
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Start windows and panes at 1, not 0
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# Use Alt-arrow keys without prefix key to switch panes
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
# Shift arrow to switch windows
|
||||
|
||||
bind -n S-Left previous-window
|
||||
bind -n S-Right next-window
|
||||
|
||||
# Shift Alt vim keys to switch windows
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
|
||||
set -g @catppuccin_flavour 'mocha'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'catppuccin/tmux#latest'
|
||||
|
||||
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
set-option -g status-position bottom
|
||||
|
||||
# set vi-mode
|
||||
set-window-option -g mode-keys vi
|
||||
# keybindings
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
|
||||
|
||||
set -g @catppuccin_window_left_separator "█"
|
||||
set -g @catppuccin_window_right_separator "█ "
|
||||
set -g @catppuccin_window_number_position "right"
|
||||
set -g @catppuccin_window_middle_separator " █"
|
||||
|
||||
set -g @catppuccin_window_default_fill "number"
|
||||
|
||||
set -g @catppuccin_window_current_fill "number"
|
||||
set -g @catppuccin_window_current_text "#{pane_current_path}"
|
||||
|
||||
|
||||
set -g @catppuccin_status_modules_right "application session user host date_time"
|
||||
set -g @catppuccin_status_left_separator "█"
|
||||
set -g @catppuccin_status_right_separator "█"
|
||||
|
||||
# Display full path in the status line
|
||||
set -g @catppuccin_status_modules_left "full_path"
|
||||
set -g @catppuccin_full_path_text "#{pane_current_path}"
|
||||
|
||||
set -g @catppuccin_date_time_text "%Y-%m-%d %H:%M:%S"
|
177
tmux/tmux.conf
Executable file
177
tmux/tmux.conf
Executable file
|
@ -0,0 +1,177 @@
|
|||
set -g mouse on
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g detach-on-destroy off # don't exit from tmux when closing a session
|
||||
set -g escape-time 0 # zero-out escape time delay
|
||||
set -g history-limit 50000
|
||||
set -g renumber-windows on # renumber all windows when any window is closed
|
||||
set -g set-clipboard on # use system clipboard
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set -gq allow-passthrough on
|
||||
set -g visual-activity off
|
||||
|
||||
#Remove *all* keybindings
|
||||
unbind-key -a
|
||||
set -g status-keys vi
|
||||
set -g mode-keys vi
|
||||
|
||||
set -g prefix C-Space
|
||||
|
||||
#General
|
||||
bind ^D detach
|
||||
bind r command-prompt "rename-session '%%'"
|
||||
bind R source-file ~/.config/tmux/tmux.conf
|
||||
bind : command-prompt
|
||||
bind ^L send-keys "clear"\; send-keys "Enter"
|
||||
|
||||
#Windows
|
||||
bind c new-window
|
||||
bind w choose-window
|
||||
bind C kill-window
|
||||
bind p previous-window
|
||||
bind n next-window
|
||||
bind f last-window
|
||||
bind-key -n M-1 selectw -t 1
|
||||
bind-key -n M-2 selectw -t 2
|
||||
bind-key -n M-3 selectw -t 3
|
||||
bind-key -n M-4 selectw -t 4
|
||||
bind-key -n M-5 selectw -t 5
|
||||
bind-key -n M-6 selectw -t 6
|
||||
bind-key -n M-7 selectw -t 7
|
||||
bind-key -n M-8 selectw -t 8
|
||||
bind-key -n M-9 selectw -t 9
|
||||
bind-key -n M-0 selectw -t 10
|
||||
#Panes
|
||||
bind e split-window -v -c "#{pane_current_path}"
|
||||
bind i split-window -h -c "#{pane_current_path}"
|
||||
bind X kill-pane
|
||||
bind m resize-pane -Z
|
||||
bind -r -T prefix h resize-pane -L 1
|
||||
bind -r -T prefix j resize-pane -D 1
|
||||
bind -r -T prefix k resize-pane -U 1
|
||||
bind -r -T prefix l resize-pane -R 1
|
||||
|
||||
#Copy mode
|
||||
bind v copy-mode
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi Escape send -X cancel
|
||||
bind -T copy-mode-vi H send -X start-of-line
|
||||
bind -T copy-mode-vi L send -X end-of-line
|
||||
|
||||
#Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
set -g @plugin 'alexwforsythe/tmux-which-key'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'catppuccin/tmux#v2.1.2'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @plugin 'omerxx/tmux-sessionx'
|
||||
set -g @plugin 'omerxx/tmux-floax'
|
||||
|
||||
|
||||
#Configure plugins
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
set -g @ressurect-capture-pane-contents 'on'
|
||||
set -g @continuum-save-interval '5'
|
||||
set -g @continuum-restored 'on'
|
||||
|
||||
set -g @floax-width '80%'
|
||||
set -g @floax-height '80%'
|
||||
set -g @floax-border-color 'magenta'
|
||||
set -g @floax-text-color 'blue'
|
||||
set -g @floax-bind 'p'
|
||||
set -g @floax-change-path 'true'
|
||||
|
||||
set -g @sessionx-bind-zo-new-window 'ctrl-y'
|
||||
set -g @sessionx-auto-accept 'off'
|
||||
set -g @sessionx-bind 'o'
|
||||
set -g @sessionx-window-height '60%'
|
||||
set -g @sessionx-window-width '75%'
|
||||
set -g @sessionx-zoxide-mode 'on'
|
||||
set -g @sessionx-custom-paths-subdirectories 'false'
|
||||
set -g @sessionx-filter-current 'false'
|
||||
|
||||
set -g @catppuccin_flavor 'mocha'
|
||||
set -g @catppuccin_status_background "none"
|
||||
set -g @catppuccin_window_status_style "none"
|
||||
set -g @catppuccin_pane_status_enabled "off"
|
||||
set -g @catppuccin_pane_border_status "off"
|
||||
# set -g @catppuccin_window_left_separator ""
|
||||
# set -g @catppuccin_window_right_separator " "
|
||||
# set -g @catppuccin_window_middle_separator " █"
|
||||
# set -g @catppuccin_window_number_position "right"
|
||||
# # set -g @catppuccin_window_default_fill "number"
|
||||
# set -g @catppuccin_window_default_text "#W"
|
||||
# set -g @catppuccin_window_current_fill "number"
|
||||
# set -g @catppuccin_window_current_text "#W"
|
||||
# set -g @catppuccin_status_modules_right "directory"
|
||||
# set -g @catppuccin_status_left_separator " "
|
||||
# set -g @catppuccin_status_right_separator ""
|
||||
# set -g @catppuccin_status_right_separator_inverse "no"
|
||||
# set -g @catppuccin_status_fill "icon"
|
||||
# set -g @catppuccin_status_connect_separator "no"
|
||||
# set -g @catppuccin_mode_text ""
|
||||
# set -g @catppuccin_directory_text " #{pane_current_path}"
|
||||
|
||||
# source the plugin here
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
run '#{TMUX_PLUGIN_MANAGER_PATH}/tmux/catppuccin.tmux'
|
||||
|
||||
# set -Fg 'status-format[1]' '#{status-format[0]}'
|
||||
# set -g 'status-format[0]' ''
|
||||
# set -g status 2
|
||||
|
||||
set -g @ctp_bg "#24273a"
|
||||
set -g @ctp_mocha "#1e1e2e"
|
||||
set -g @ctp_surface_1 "#494d64"
|
||||
set -g @ctp_fg "#cad3f5"
|
||||
set -g @ctp_mauve "#c6a0f6"
|
||||
set -g @ctp_crust "#181926"
|
||||
set -g @ctp_blue "#89b4fa" # Blue
|
||||
set -g @ctp_cyan "#94e2d5" # Cyan
|
||||
set -g @ctp_green "#a6e3a1" # Green
|
||||
set -g @ctp_red "#f38ba8" # Red
|
||||
set -g @ctp_yellow "#f9e2af" # Yellow
|
||||
set -g @ctp_pink "#f5c2e7"
|
||||
|
||||
|
||||
set -g status-position bottom
|
||||
set -g status-interval 1
|
||||
set -g status-style "bg=#{@ctp_mocha}"
|
||||
set -g status-justify "absolute-centre"
|
||||
|
||||
set -g status-left-length 100
|
||||
set -g status-left ""
|
||||
set -ga status-left "#[bg=#{@thm_bg},fg=#{@ctp_mauve}] #{pane_current_command} "
|
||||
set -ga status-left "#[bg=#{@thm_bg},fg=#{@thm_overlay_0},none]│"
|
||||
set -ga status-left "#[bg=#{@thm_bg},fg=#{@ctp_blue}] #{=/-32/...:#{s|$USER|~|:#{b:pane_current_path}}} "
|
||||
set -ga status-left "#[bg=#{@thm_bg},fg=#{@ctp_pink},none]#{?window_zoomed_flag,│,}"
|
||||
set -ga status-left "#[bg=#{@thm_bg},fg=#{@thm_yellow}]#{?window_zoomed_flag, zoom ,}"
|
||||
|
||||
|
||||
set -g status-right-length 100
|
||||
set -g status-right " #{?client_prefix,#[fg=#{@thm_red} bold]PREFIX ,#{?#{==:#{pane_mode},copy-mode},#[fg=#{@thm_yellow} bold]COPY ,#[fg=#{@thm_green} bold]NORMAL }}"
|
||||
set -ga status-right "#[bg=#{@thm_bg},fg=#{@thm_overlay_0},none]│"
|
||||
set -ga status-right "#{?client_prefix,#{#[bg=#{@thm_red},fg=#{@thm_bg},bold] #S },#{?#{==:#{pane_mode},copy-mode},#{#[bg=#{@thm_yellow},fg=#{@thm_bg},bold] #S },#{#[bg=#{@thm_bg},fg=#{@thm_green},bold] #S }}}"
|
||||
|
||||
setw -g pane-border-status bottom
|
||||
setw -g pane-border-status bottom
|
||||
setw -g pane-border-format " Arch "
|
||||
setw -g pane-active-border-style "bg=#{@thm_bg},fg=#{@thm_overlay_0}"
|
||||
setw -g pane-border-style "bg=#{@thm_bg},fg=#{@thm_surface_0}"
|
||||
setw -g pane-border-lines double
|
||||
|
||||
set -g window-status-format " #I#{?#{!=},: #W,} "
|
||||
set -g window-status-style "bg=#{@thm_bg},fg=#{@thm_rosewater}"
|
||||
set -g window-status-last-style "bg=#{@thm_bg},fg=#{@thm_peach}"
|
||||
set -g window-status-activity-style "bg=#{@thm_red},fg=#{@thm_bg}"
|
||||
set -g window-status-bell-style "bg=#{@thm_red},fg=#{@thm_bg},bold"
|
||||
set -gF window-status-separator "#[bg=#{@thm_bg},fg=#{@thm_overlay_0}]│"
|
||||
|
||||
set -g window-status-current-format " #I#{?#{!=},: #W,} "
|
||||
set -g window-status-current-style "bg=#{@ctp_mauve},fg=#{@thm_bg},bold"
|
126
tmux/tmux2.conf
Executable file
126
tmux/tmux2.conf
Executable file
|
@ -0,0 +1,126 @@
|
|||
set -g mouse on
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
set -g detach-on-destroy off # don't exit from tmux when closing a session
|
||||
set -g escape-time 0 # zero-out escape time delay
|
||||
set -g history-limit 1000000 # increase history size (from 2,000)
|
||||
set -g renumber-windows on # renumber all windows when any window is closed
|
||||
set -g set-clipboard on # use system clipboard
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
|
||||
#Remove *all* keybindings
|
||||
unbind-key -a
|
||||
set -g mode-keys vi
|
||||
|
||||
set-option -g prefix ^f
|
||||
|
||||
#General
|
||||
bind ^C new-window
|
||||
bind ^D detach
|
||||
bind r command-prompt "rename-window %%"
|
||||
bind R source-file ~/.config/tmux/tmux.conf
|
||||
bind : command-prompt
|
||||
bind ^L send-keys "clear"\; send-keys "Enter"
|
||||
|
||||
#Windows
|
||||
bind w choose-window
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
bind ^A last-window
|
||||
|
||||
#Sessions
|
||||
bind s choose-session
|
||||
|
||||
#Panes
|
||||
bind s split-window -v -c "#{pane_current_path}"
|
||||
bind v split-window -h -c "#{pane_current_path}"
|
||||
bind c kill-pane
|
||||
bind x swap-pane -D
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
bind z resize-pane -Z
|
||||
bind -r -T prefix , resize-pane -L 1
|
||||
bind -r -T prefix . resize-pane -R 1
|
||||
bind -r -T prefix - resize-pane -D 1
|
||||
bind -r -T prefix = resize-pane -U 1
|
||||
|
||||
#Copy mode
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
#Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'alexwforsythe/tmux-which-key'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
set -g @plugin 'omerxx/tmux-sessionx'
|
||||
set -g @plugin 'omerxx/tmux-floax'
|
||||
|
||||
|
||||
#Configure plugins
|
||||
set -g @floax-width '80%'
|
||||
set -g @floax-height '80%'
|
||||
set -g @floax-border-color 'magenta'
|
||||
set -g @floax-text-color 'blue'
|
||||
set -g @floax-bind 'p'
|
||||
set -g @floax-change-path 'true'
|
||||
set -g @sessionx-bind-zo-new-window 'ctrl-y'
|
||||
set -g @sessionx-auto-accept 'off'
|
||||
set -g @sessionx-custom-paths '/Users/omerxx/dotfiles'
|
||||
set -g @sessionx-bind 'o'
|
||||
set -g @sessionx-x-path '~/dotfiles'
|
||||
set -g @sessionx-window-height '85%'
|
||||
set -g @sessionx-window-width '75%'
|
||||
set -g @sessionx-zoxide-mode 'on'
|
||||
set -g @sessionx-custom-paths-subdirectories 'false'
|
||||
set -g @sessionx-filter-current 'false'
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
|
||||
set -g @catppuccin_flavor 'mocha'
|
||||
set -g @catppuccin_window_status_style 'rounded'
|
||||
set -g @catppuccin_window_left_separator ""
|
||||
set -g @catppuccin_window_right_separator " "
|
||||
set -g @catppuccin_window_middle_separator " █"
|
||||
set -g @catppuccin_window_number_position "right"
|
||||
set -g @catppuccin_window_default_fill "number"
|
||||
set -g @catppuccin_window_default_text "#W"
|
||||
set -g @catppuccin_window_current_fill "number"
|
||||
set -g @catppuccin_window_current_text "#W"
|
||||
set -g @catppuccin_status_modules_right "directory"
|
||||
set -g @catppuccin_status_left_separator " "
|
||||
set -g @catppuccin_status_right_separator ""
|
||||
set -g @catppuccin_status_right_separator_inverse "no"
|
||||
set -g @catppuccin_status_fill "icon"
|
||||
set -g @catppuccin_status_connect_separator "no"
|
||||
set -g @catppuccin_mode_text ""
|
||||
set -g @catppuccin_directory_text " #{pane_current_path}"
|
||||
|
||||
# source the plugin here
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
run '#{TMUX_PLUGIN_MANAGER_PATH}/tmux/catppuccin.tmux'
|
||||
|
||||
# set -Fg 'status-format[1]' '#{status-format[0]}'
|
||||
# set -g 'status-format[0]' ''
|
||||
# set -g status 2
|
||||
|
||||
set -g status-position top
|
||||
set -g status-interval 1
|
||||
set -g status-left-length 100
|
||||
set -g status-right-length 100
|
||||
set -g status-justify left
|
||||
set -g status-left ''
|
||||
set -g status-right " #{?client_prefix,#[fg=#{@thm_red} bold]PREFIX,#{?#{==:#{pane_mode},copy-mode},#[fg=#{@thm_yellow} bold]COPY,#[fg=#{@thm_green} bold]NORMAL}}"
|
||||
set -ga status-right '#{E:@catppuccin_status_session}'
|
||||
|
||||
|
87
total.txt
87
total.txt
|
@ -1,87 +0,0 @@
|
|||
acpi
|
||||
alsa-project
|
||||
alsa-utils
|
||||
amixer
|
||||
aur
|
||||
bat
|
||||
bluez
|
||||
bluez-utils
|
||||
brightnessctl
|
||||
btop
|
||||
catppuccin-gtk-theme
|
||||
checkupdates
|
||||
cliphist
|
||||
dolphin
|
||||
dolphine
|
||||
dunst
|
||||
dunstify
|
||||
eza
|
||||
fastfetch
|
||||
feh
|
||||
fzf
|
||||
gnome-icon-theme
|
||||
gtk-engine-murrine
|
||||
gvfs
|
||||
gvfs-mtp
|
||||
hyprland
|
||||
hyprlang
|
||||
hyprpaper
|
||||
ifconfig
|
||||
iftop
|
||||
ipconfig
|
||||
libnotify
|
||||
libreoffice-still
|
||||
libxcomposite
|
||||
lolcat
|
||||
maim
|
||||
man
|
||||
mandb
|
||||
neovim
|
||||
nim
|
||||
nimb
|
||||
nimble
|
||||
ninja
|
||||
notify-send
|
||||
noto-fonts-emoji
|
||||
nslookup
|
||||
nvim
|
||||
pacman-contrib
|
||||
pamixer
|
||||
pango
|
||||
pfetch
|
||||
pidgin
|
||||
plank
|
||||
playerctl
|
||||
powertop
|
||||
pulseaudio
|
||||
pulseaudio-utils
|
||||
python-pipx
|
||||
rofi
|
||||
rofi-emoji
|
||||
rofi-wayland
|
||||
sassc
|
||||
speedtest-cli
|
||||
thefuck
|
||||
thunar
|
||||
thunar-archive-plugin
|
||||
tldr
|
||||
tmux
|
||||
trashy
|
||||
unzip
|
||||
usbutils
|
||||
vi
|
||||
visual-studio-code-bin
|
||||
vlc
|
||||
vscode
|
||||
waybar
|
||||
wayland
|
||||
wget
|
||||
wtype
|
||||
xdg-desktop-portal-hyprland
|
||||
xorg-xbacklight
|
||||
xorg-xrdb
|
||||
zathura
|
||||
zathura-{cb
|
||||
zdg-desktop-portal-hyprland
|
||||
zoxide
|
||||
zsh
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"diagnostics.globals": [
|
||||
"vim",
|
||||
"null_ls",
|
||||
"local",
|
||||
"grep",
|
||||
"current_line_blame",
|
||||
"dependencies"
|
||||
],
|
||||
"diagnostics.disable": [
|
||||
"redundant-value",
|
||||
"undefined-global",
|
||||
"unused-local"
|
||||
]
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
-- Setup for lazy.nvim plugin manager
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
vim.opt.guifont = "CascadiaCode"
|
||||
vim.opt.guifont = "CaskaydiaCove NFM"
|
||||
require("vim-options")
|
||||
require("lazy").setup("plugins")
|
||||
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"LuaSnip": { "branch": "master", "commit": "b84eeb3641b08324287587b426ec974b888390d9" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "355fbb81a59637a8963cf5847074f8c44dbef11f" },
|
||||
"auto-pairs": { "branch": "master", "commit": "39f06b873a8449af8ff6a3eee716d3da14d63a76" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" },
|
||||
"catppuccin": { "branch": "main", "commit": "18bab5ec4c782cdf7d7525dbe89c60bfa02fc195" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"copilot.vim": { "branch": "release", "commit": "782461159655b259cff10ecff05efa761e3d4764" },
|
||||
"coq_nvim": { "branch": "coq", "commit": "427a3ff9d467e564bfda98c5b56575450dfe3da8" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" },
|
||||
"go.nvim": { "branch": "master", "commit": "fb612d13c34d3d1d2caa4d5785733abe70dc22f0" },
|
||||
"guihua.lua": { "branch": "master", "commit": "225db770e36aae6a1e9e3a65578095c8eb4038d3" },
|
||||
"indentLine": { "branch": "master", "commit": "b96a75985736da969ac38b72a7716a8c57bdde98" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
|
||||
"lazygit": { "branch": "master", "commit": "8bcfa3660ae17bca0ce7f8c727b1a770fbf88f08" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "1c55991321d1a861537e32446affc5de5d9a6eaf" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
"multicursors.nvim": { "branch": "main", "commit": "562809aaf203b4c65482a75199166d360f2b9298" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "29f7c215332ba95e470811c380ddbce2cebe2af4" },
|
||||
"noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "cfa65d86e21eeb60544d5e823f6db43941322a53" },
|
||||
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||
"nvim-cursorline": { "branch": "main", "commit": "804f0023692653b2b2368462d67d2a87056947f9" },
|
||||
"nvim-hlslens": { "branch": "main", "commit": "1db56afda3e85791a14b096e483dfda699dd9163" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "a89de2e049b5f89a0ee55029d5a31213bd4de6f8" },
|
||||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
||||
"nvim-scrollbar": { "branch": "main", "commit": "d09f14aa16c9f2748e77008f9da7b1f76e4e7b85" },
|
||||
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "63e1337f1b60c84a4100ebedfb1dc80924c49122" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
|
||||
"oil.nvim": { "branch": "master", "commit": "a632c898fbe0e363ef89b9577f1a7714ab67d682" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
||||
"tagbar": { "branch": "master", "commit": "d55d454bd3d5b027ebf0e8c75b8f88e4eddad8d8" },
|
||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" },
|
||||
"treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" },
|
||||
"usage-tracker.nvim": { "branch": "main", "commit": "739532b069e0d829b45ede989c657ac32a2141a6" },
|
||||
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "0444df68cd1cdabc7453d6bd84099458327e5513" },
|
||||
"vim-lion": { "branch": "master", "commit": "ce46593ecd60e6051fb6e4d3986d2fc9f5a618b1" },
|
||||
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },
|
||||
"vim-smoothie": { "branch": "master", "commit": "df1e324e9f3395c630c1c523d0555a01d2eb1b7e" },
|
||||
"vim-tmux-navigator": { "branch": "master", "commit": "5b3c701686fb4e6629c100ed32e827edf8dad01e" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
return {
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
return {
|
||||
"goolord/alpha-nvim",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
local alpha = require("alpha")
|
||||
local dashboard = require("alpha.themes.startify")
|
||||
|
||||
-- Custom ASCII art header
|
||||
dashboard.section.header.val = {
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ████ ██████ █████ ██ ]],
|
||||
[[ ███████████ █████ ]],
|
||||
[[ █████████ ███████████████████ ███ ███████████ ]],
|
||||
[[ █████████ ███ █████████████ █████ ██████████████ ]],
|
||||
[[ █████████ ██████████ █████████ █████ █████ ████ █████ ]],
|
||||
[[ ███████████ ███ ███ █████████ █████ █████ ████ █████ ]],
|
||||
[[ ██████ █████████████████████ ████ █████ █████ ████ ██████ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
}
|
||||
|
||||
-- Set up alpha with the startify theme
|
||||
alpha.setup(dashboard.opts)
|
||||
end,
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
return {
|
||||
"jiangmiao/auto-pairs",
|
||||
}
|
|
@ -1,81 +0,0 @@
|
|||
return {
|
||||
'akinsho/bufferline.nvim',
|
||||
dependencies = {
|
||||
'moll/vim-bbye',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
config = function()
|
||||
-- vim.opt.linespace = 8
|
||||
|
||||
require('bufferline').setup {
|
||||
options = {
|
||||
mode = 'buffers', -- set to "tabs" to only show tabpages instead
|
||||
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
|
||||
numbers = 'none', -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
||||
close_command = 'Bdelete! %d', -- can be a string | function, see "Mouse actions"
|
||||
right_mouse_command = 'Bdelete! %d', -- can be a string | function, see "Mouse actions"
|
||||
left_mouse_command = 'buffer %d', -- can be a string | function, see "Mouse actions"
|
||||
middle_mouse_command = nil, -- can be a string | function, see "Mouse actions"
|
||||
-- buffer_close_icon = '',
|
||||
buffer_close_icon = '✗',
|
||||
-- buffer_close_icon = '✕',
|
||||
close_icon = '',
|
||||
path_components = 1, -- Show only the file name without the directory
|
||||
modified_icon = '●',
|
||||
left_trunc_marker = '',
|
||||
right_trunc_marker = '',
|
||||
max_name_length = 30,
|
||||
max_prefix_length = 30, -- prefix used when a buffer is de-duplicated
|
||||
tab_size = 21,
|
||||
diagnostics = false,
|
||||
diagnostics_update_in_insert = false,
|
||||
color_icons = true,
|
||||
show_buffer_icons = true,
|
||||
show_buffer_close_icons = true,
|
||||
show_close_icon = true,
|
||||
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
|
||||
separator_style = { '│', '│' }, -- | "thick" | "thin" | { 'any', 'any' },
|
||||
enforce_regular_tabs = true,
|
||||
always_show_bufferline = true,
|
||||
show_tab_indicators = false,
|
||||
indicator = {
|
||||
-- icon = '▎', -- this should be omitted if indicator style is not 'icon'
|
||||
style = 'none', -- Options: 'icon', 'underline', 'none'
|
||||
},
|
||||
icon_pinned = '',
|
||||
minimum_padding = 1,
|
||||
maximum_padding = 5,
|
||||
maximum_length = 15,
|
||||
sort_by = 'insert_at_end',
|
||||
},
|
||||
highlights = {
|
||||
separator = {
|
||||
fg = '#434C5E',
|
||||
},
|
||||
buffer_selected = {
|
||||
bold = true,
|
||||
italic = false,
|
||||
},
|
||||
-- separator_selected = {},
|
||||
-- tab_selected = {},
|
||||
-- background = {},
|
||||
-- indicator_selected = {},
|
||||
-- fill = {},
|
||||
},
|
||||
}
|
||||
|
||||
-- Keymaps
|
||||
local opts = { noremap = true, silent = true, desc = 'Go to Buffer' }
|
||||
-- vim.keymap.set("n", "<Tab>", "<Cmd>BufferLineCycleNext<CR>", {})
|
||||
-- vim.keymap.set("n", "<S-Tab>", "<Cmd>BufferLineCyclePrev<CR>", {})
|
||||
vim.keymap.set('n', '<leader>1', "<cmd>lua require('bufferline').go_to_buffer(1)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>2', "<cmd>lua require('bufferline').go_to_buffer(2)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>3', "<cmd>lua require('bufferline').go_to_buffer(3)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>4', "<cmd>lua require('bufferline').go_to_buffer(4)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>5', "<cmd>lua require('bufferline').go_to_buffer(5)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>6', "<cmd>lua require('bufferline').go_to_buffer(6)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>7', "<cmd>lua require('bufferline').go_to_buffer(7)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>8', "<cmd>lua require('bufferline').go_to_buffer(8)<CR>", opts)
|
||||
vim.keymap.set('n', '<leader>9', "<cmd>lua require('bufferline').go_to_buffer(9)<CR>", opts)
|
||||
end,
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
return {
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup({
|
||||
"*", -- Highlight all files
|
||||
}, {
|
||||
RGB = true, -- Enable #RGB hex codes
|
||||
RRGGBB = true, -- Enable #RRGGBB hex codes
|
||||
names = true, -- Enable color names like "blue"
|
||||
RRGGBBAA = true, -- Enable #RRGGBBAA hex codes
|
||||
rgb_fn = true, -- Enable CSS rgb() and rgba() functions
|
||||
hsl_fn = true, -- Enable CSS hsl() and hsla() functions
|
||||
css = true, -- Enable all CSS features
|
||||
css_fn = true, -- Enable all CSS functions
|
||||
-- Enabling additional formats
|
||||
hsl = true, -- Enable HSL color codes
|
||||
hex = true, -- Enable hex codes (#000000)
|
||||
hsv_fn = true, -- Enable HSV functions
|
||||
hsla_fn = true, -- Enable HSLA functions
|
||||
vim_colors = true, -- Enable Vim color names
|
||||
mode = "background", -- Set the display mode to 'background'
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
return {
|
||||
-- -- Catppuccin theme
|
||||
|
||||
"catppuccin/nvim",
|
||||
lazy = false,
|
||||
name = "catppuccin",
|
||||
priority = 1000, -- Adjusted priority
|
||||
config = function()
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
end,
|
||||
-- },
|
||||
|
||||
-- -- Onedarkpro theme
|
||||
--
|
||||
-- -- "olimorris/onedarkpro.nvim",
|
||||
-- -- priority = 1000, -- Ensure it loads first
|
||||
-- -- config = function()
|
||||
-- -- vim.cmd.colorscheme('onedark')
|
||||
-- -- end
|
||||
--
|
||||
-- -- Gotham theme
|
||||
-- -- {
|
||||
-- -- "whatyouhide/vim-gotham",
|
||||
-- -- priority = 800, -- Adjusted priority
|
||||
-- -- lazy = false,
|
||||
-- -- -- No config, we are not applying this theme by default
|
||||
-- -- },
|
||||
--
|
||||
-- -- -- Dracula theme
|
||||
-- -- {
|
||||
-- -- "dracula/vim",
|
||||
-- -- priority = 200, -- Highest priority, loads this theme last
|
||||
-- -- config = function()
|
||||
-- -- vim.cmd.colorscheme("dracula") -- Apply Dracula as the default theme
|
||||
-- -- end,
|
||||
--
|
||||
-- -- },
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
config = function()
|
||||
require('Comment').setup({
|
||||
-- Add any configuration options here
|
||||
toggler = {
|
||||
line = 'gcc', -- Toggle comment for the current line
|
||||
block = 'gbc', -- Toggle comment for a block of code
|
||||
},
|
||||
opleader = {
|
||||
line = 'gc', -- Operator-pending mode mapping for line comments
|
||||
block = 'gb', -- Operator-pending mode mapping for block comments
|
||||
},
|
||||
mappings = {
|
||||
basic = true, -- Includes basic mappings like `gcc`, `gbc`, `gc[count]{motion}`, and `gb[count]{motion}`
|
||||
extra = true, -- Includes extra mappings like `gco`, `gcO`, `gcA`
|
||||
extended = false, -- Includes extended mappings like `g>[count]{motion}`, `g<[count]{motion}`
|
||||
},
|
||||
pre_hook = nil, -- Function to call before commenting, useful for languages like TypeScript where you want to check the file type
|
||||
post_hook = nil, -- Function to call after commenting
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
dependencies = {
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"rafamadriz/friendly-snippets",
|
||||
},
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" }, -- For luasnip users.
|
||||
}, {
|
||||
{ name = "buffer" },
|
||||
}),
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue