Compare commits
13 Commits
379ac2ae3f
...
main
Author | SHA1 | Date | |
---|---|---|---|
8219da676d | |||
af6b4654e4 | |||
56ae38478f | |||
3687134540 | |||
677a668445 | |||
b39f6642c9 | |||
83201ab5db | |||
5bf08de339 | |||
aeb3f14a90 | |||
d6a70ecd95 | |||
9ba08481e3 | |||
a457632f97 | |||
0d143deb38 |
@@ -1,11 +1,16 @@
|
||||
# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
|
||||
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
|
||||
#
|
||||
# See https://wiki.hyprland.org/Configuring/Animations/
|
||||
# this file can be edited manually or use animation selector to select animations
|
||||
|
||||
# disable animations while in hyprpicker and selection screenshot
|
||||
layerrule = noanim, hyprpicker
|
||||
layerrule = noanim, selection
|
||||
#! ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
|
||||
#! █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
|
||||
|
||||
source = $HOME/.config/hypr/animations/end4.conf
|
||||
|
||||
#*┌────────────────────────────────────────────────────────────────────────────┐
|
||||
#*│ # See https://wiki.hyprland.org/Configuring/Animations/ │
|
||||
#*│ # HyDE Controlled content // DO NOT EDIT │
|
||||
#*│ # Edit or add animations in the ./hypr/animations/ directory │
|
||||
#*│ # and run the 'animations.sh --select' command to update this file │
|
||||
#*│ │
|
||||
#*└────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
$ANIMATION=animations-vertical
|
||||
$ANIMATION_PATH=./animations/animations-vertical.conf
|
||||
source = $ANIMATION_PATH
|
||||
|
@@ -22,5 +22,3 @@ source = ./workflows.conf # workflows configuration overrides everything
|
||||
# // ██████╔╝╚█████╔╝ ██║░╚███║╚█████╔╝░░░██║░░░ ███████╗██████╔╝██║░░░██║░░░
|
||||
# // ╚═════╝░░╚════╝░ ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░ ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░
|
||||
|
||||
source = ~/.config/hypr/nvidia.conf # auto sourced vars for nvidia
|
||||
|
||||
|
@@ -1,84 +1,119 @@
|
||||
#! █░█ █▄█ █▀█ █▀█ █░░ █▀█ █▀▀ █▄▀
|
||||
#! █▀█ ░█░ █▀▀ █▀▄ █▄▄ █▄█ █▄▄ █░█
|
||||
source = $HOME/.config/hypr/macchiato.conf
|
||||
|
||||
#* Hyprlock Configuration File
|
||||
# Please do not edit this file manually.
|
||||
# Follow the instructions below on how to make changes.
|
||||
$accent = $mauve
|
||||
$accentAlpha = $mauveAlpha
|
||||
$font = JetBrainsMono Nerd Font
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
hide_cursor = true
|
||||
}
|
||||
|
||||
#* Hyprlock active layout path:
|
||||
# Set the layout path to be used by Hyprlock.
|
||||
# Check the available layouts in the './hyprlock/' directory.
|
||||
# Example: /=/path/to/anurati
|
||||
$LAYOUT_PATH=~/.config/hypr/hyprlock/theme.conf
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
path = screenshot # $HOME/.config/background
|
||||
blur_passes = 2
|
||||
color = $base
|
||||
}
|
||||
|
||||
#* Persistent layout declaration
|
||||
# If a persistent layout path is declared in $XDG_CONFIG_HOME/hypr/hyde.conf,
|
||||
# the above layout setting will be ignored.
|
||||
# this should be the full path to the layout file.
|
||||
# LAYOUT
|
||||
label {
|
||||
monitor =
|
||||
text = Layout: $LAYOUT
|
||||
color = $text
|
||||
font_size = 25
|
||||
font_family = $font
|
||||
position = 30, -30
|
||||
halign = left
|
||||
valign = top
|
||||
}
|
||||
|
||||
#* All boilerplate configurations are handled by HyDE
|
||||
source = ~/.local/share/hyde/hyprlock.conf
|
||||
# TIME
|
||||
label {
|
||||
monitor =
|
||||
text = $TIME
|
||||
color = $text
|
||||
font_size = 90
|
||||
font_family = $font
|
||||
position = -30, 0
|
||||
halign = right
|
||||
valign = top
|
||||
}
|
||||
|
||||
#* Making a custom layout
|
||||
# To create a custom layout, make a file in the './hyprlock/' directory.
|
||||
# Example: './hyprlock/your_custom.conf'
|
||||
# To use the custom layout, set the following variable:
|
||||
# $LAYOUT_PATH=your_custom
|
||||
# The custom layout will be sourced automatically.
|
||||
# Alternatively, you can statically source the layout in '~/.config/hypr/hyde.conf'.
|
||||
# This will take precedence over the variable in '~/.config/hypr/hyprlock.conf'.
|
||||
# DATE
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||
color = $text
|
||||
font_size = 25
|
||||
font_family = $font
|
||||
position = -30, -150
|
||||
halign = right
|
||||
valign = top
|
||||
}
|
||||
|
||||
# FINGERPRINT
|
||||
{
|
||||
monitor = "";
|
||||
text = "$FPRINTPROMPT";
|
||||
color = "$text";
|
||||
font_size = 14;
|
||||
font_family = $font;
|
||||
position = "0, -107";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
|
||||
#* Command Variables
|
||||
# Hyprlock ships with there default variables that can be used to customize the lock screen.
|
||||
# - https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#label
|
||||
# HyDE also provides custom variables that extend the functionality of Hyprlock.
|
||||
# USER AVATAR
|
||||
image {
|
||||
monitor =
|
||||
path = $HOME/shit/hyprland-confs/catpuccin/hyprlock/catppuccin-circle.png
|
||||
size = 130
|
||||
border_color = $accent
|
||||
shadow_passes = 2
|
||||
shadow_color = $crust
|
||||
position = 0, 100
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# $BACKGROUND_PATH
|
||||
# - The path to the wallpaper image.
|
||||
|
||||
# $HYPRLOCK_BACKGROUND
|
||||
# - The path to the static hyprlock wallpaper image.
|
||||
# - Can be set to set a static wallpaper for Hyprlock.
|
||||
|
||||
# $MPRIS_IMAGE
|
||||
# - The path to the MPRIS image.
|
||||
# - If MPRIS is not available, it will show the ~/.face.icon image
|
||||
# - if available, otherwise, it will show the HyDE logo.
|
||||
|
||||
# $PROFILE_IMAGE
|
||||
# - The path to the profile image.
|
||||
# - If the image is not available, it will show the ~/.face.icon image
|
||||
# - if available, otherwise, it will show the HyDE logo.
|
||||
|
||||
# $GREET_TEXT
|
||||
# - A greeting text to be displayed on the lock screen.
|
||||
# - The text will be updated every hour.
|
||||
|
||||
# $resolve.font
|
||||
# - Resolves the font name and download link.
|
||||
# - HyDE will run 'font.sh resolve' to install the font for you.
|
||||
# - Note that you needed to have a network connection to download the font.
|
||||
# - You also need to restart Hyprlock to apply the font.
|
||||
|
||||
# cmd [update:1000] $MPRIS_TEXT
|
||||
# - Text from media players in "Title Author" format.
|
||||
|
||||
|
||||
# cmd [update:1000] $SPLASH_CMD
|
||||
# - Outputs the song title when MPRIS is available,
|
||||
# - otherwise, it will output the splash command.
|
||||
|
||||
# cmd [update:1] $CAVA_CMD
|
||||
# - The command to be executed to get the CAVA output.
|
||||
# - ⚠️ (Use with caution as it eats up the CPU.)
|
||||
|
||||
# cmd [update:5000] $BATTERY_ICON
|
||||
# - The battery icon to be displayed on the lock screen.
|
||||
# - Only works if the battery is available.
|
||||
|
||||
# cmd [update:1000] $KEYBOARD_LAYOUT
|
||||
# - The current keyboard layout
|
||||
# - SUPER + K to change the keyboard layout (or any binding you set)
|
||||
# Catppuccin cat on line
|
||||
image {
|
||||
monitor =
|
||||
path = $HOME/shit/hyprland-confs/catpuccin/hyprlock/output.png
|
||||
size = 200
|
||||
border_color = rgba(0, 0, 0, 0.0)
|
||||
position = 50, 0
|
||||
shadow_passes = 4
|
||||
shadow_size = 2
|
||||
shadow_color = $peach
|
||||
shadow_boost = 1.1
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
outline_thickness = 4
|
||||
dots_size = 0.2
|
||||
dots_spacing = 0.2
|
||||
dots_center = true
|
||||
outer_color = $accent
|
||||
inner_color = $surface0
|
||||
font_color = $text
|
||||
fade_on_empty = false
|
||||
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
||||
hide_input = false
|
||||
check_color = $accent
|
||||
fail_color = $red
|
||||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||||
capslock_color = $yellow
|
||||
position = 0, -50
|
||||
shadow_passes = 2
|
||||
shadow_color = rgb(20, 20, 20)
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
@@ -10,9 +10,9 @@ $mainMod = Super # super / meta / windows key
|
||||
|
||||
# Assign apps
|
||||
$term = kitty
|
||||
$editor = code
|
||||
$file = thunar
|
||||
$browser = librewolf
|
||||
$editor = nvim
|
||||
$file = dolphin
|
||||
$browser = zen-browser
|
||||
$viewer = zathura
|
||||
|
||||
# Window/Session actions
|
||||
@@ -30,7 +30,7 @@ bind = Ctrl+Alt, W, exec, killall waybar || waybar # toggle waybar
|
||||
# Application shortcuts
|
||||
bind = $mainMod, T, exec, $term # launch terminal emulator
|
||||
bind = $mainMod+Alt, T, exec, [float] $term
|
||||
bind = $mainMod, E, exec, $file # launch file manager
|
||||
bind = $mainMod, E, exec, [float] $file # launch file manager
|
||||
bind = $mainMod, C, exec, $editor # launch text editor
|
||||
bind = $mainMod, F, exec, $browser # launch web browser
|
||||
bind = Ctrl+Shift, Escape, exec, $scrPath/sysmonlaunch.sh # launch system monitor (htop/btop or fallback to top)
|
||||
|
@@ -3,109 +3,109 @@
|
||||
|
||||
# Color group 1
|
||||
|
||||
$wallbash_pry1 = 98B4C2 # primary color 1
|
||||
$wallbash_txt1 = 0D0D0D # text color 1
|
||||
$wallbash_1xa1 = 294452 # accent color 1 for primary color 1
|
||||
$wallbash_1xa2 = 3A5B6B # accent color 2 for primary color 1
|
||||
$wallbash_1xa3 = 4B6C7D # accent color 3 for primary color 1
|
||||
$wallbash_1xa4 = 577C8F # accent color 4 for primary color 1
|
||||
$wallbash_1xa5 = 658FA3 # accent color 5 for primary color 1
|
||||
$wallbash_1xa6 = 7AAAC2 # accent color 6 for primary color 1
|
||||
$wallbash_1xa7 = 9ACCE6 # accent color 7 for primary color 1
|
||||
$wallbash_1xa8 = AAD9F0 # accent color 8 for primary color 1
|
||||
$wallbash_1xa9 = CCEEFF # accent color 9 for primary color 1
|
||||
$wallbash_pry1 = 091627 # primary color 1
|
||||
$wallbash_txt1 = FFFFFF # text color 1
|
||||
$wallbash_1xa1 = 293A52 # accent color 1 for primary color 1
|
||||
$wallbash_1xa2 = 3A4F6B # accent color 2 for primary color 1
|
||||
$wallbash_1xa3 = 4B617D # accent color 3 for primary color 1
|
||||
$wallbash_1xa4 = 576F8F # accent color 4 for primary color 1
|
||||
$wallbash_1xa5 = 6580A3 # accent color 5 for primary color 1
|
||||
$wallbash_1xa6 = 7A99C2 # accent color 6 for primary color 1
|
||||
$wallbash_1xa7 = 9ABBE6 # accent color 7 for primary color 1
|
||||
$wallbash_1xa8 = AAC8F0 # accent color 8 for primary color 1
|
||||
$wallbash_1xa9 = CCE2FF # accent color 9 for primary color 1
|
||||
|
||||
# in rgba format
|
||||
$wallbash_pry1_rgba = rgba(152,180,194,0.95) # primary color 1
|
||||
$wallbash_txt1_rgba = rgba(13,13,13,0.95) # text color 1
|
||||
$wallbash_1xa1_rgba = rgba(41,68,82,0.95) # accent color 1 for primary color 1
|
||||
$wallbash_1xa2_rgba = rgba(58,91,107,0.95) # accent color 2 for primary color 1
|
||||
$wallbash_1xa3_rgba = rgba(75,108,125,0.95) # accent color 3 for primary color 1
|
||||
$wallbash_1xa4_rgba = rgba(87,124,143,0.95) # accent color 4 for primary color 1
|
||||
$wallbash_1xa5_rgba = rgba(101,143,163,0.95) # accent color 5 for primary color 1
|
||||
$wallbash_1xa6_rgba = rgba(122,170,194,0.95) # accent color 6 for primary color 1
|
||||
$wallbash_1xa7_rgba = rgba(154,204,230,0.95) # accent color 7 for primary color 1
|
||||
$wallbash_1xa8_rgba = rgba(170,217,240,0.95) # accent color 8 for primary color 1
|
||||
$wallbash_1xa9_rgba = rgba(204,238,255,0.95) # accent color 9 for primary color 1
|
||||
$wallbash_pry1_rgba = rgba(9,22,39,0.95) # primary color 1
|
||||
$wallbash_txt1_rgba = rgba(255,255,255,0.95) # text color 1
|
||||
$wallbash_1xa1_rgba = rgba(41,58,82,0.95) # accent color 1 for primary color 1
|
||||
$wallbash_1xa2_rgba = rgba(58,79,107,0.95) # accent color 2 for primary color 1
|
||||
$wallbash_1xa3_rgba = rgba(75,97,125,0.95) # accent color 3 for primary color 1
|
||||
$wallbash_1xa4_rgba = rgba(87,111,143,0.95) # accent color 4 for primary color 1
|
||||
$wallbash_1xa5_rgba = rgba(101,128,163,0.95) # accent color 5 for primary color 1
|
||||
$wallbash_1xa6_rgba = rgba(122,153,194,0.95) # accent color 6 for primary color 1
|
||||
$wallbash_1xa7_rgba = rgba(154,187,230,0.95) # accent color 7 for primary color 1
|
||||
$wallbash_1xa8_rgba = rgba(170,200,240,0.95) # accent color 8 for primary color 1
|
||||
$wallbash_1xa9_rgba = rgba(204,226,255,0.95) # accent color 9 for primary color 1
|
||||
|
||||
|
||||
# Color group 2
|
||||
|
||||
$wallbash_pry2 = 547A97 # primary color 2
|
||||
$wallbash_pry2 = 521626 # primary color 2
|
||||
$wallbash_txt2 = FFFFFF # text color 2
|
||||
$wallbash_2xa1 = 294052 # accent color 1 for primary color 2
|
||||
$wallbash_2xa2 = 3A566B # accent color 2 for primary color 2
|
||||
$wallbash_2xa3 = 4B677D # accent color 3 for primary color 2
|
||||
$wallbash_2xa4 = 57778F # accent color 4 for primary color 2
|
||||
$wallbash_2xa5 = 6588A3 # accent color 5 for primary color 2
|
||||
$wallbash_2xa6 = 7AA3C2 # accent color 6 for primary color 2
|
||||
$wallbash_2xa7 = 9AC5E6 # accent color 7 for primary color 2
|
||||
$wallbash_2xa8 = AAD2F0 # accent color 8 for primary color 2
|
||||
$wallbash_2xa9 = CCE9FF # accent color 9 for primary color 2
|
||||
$wallbash_2xa1 = 522934 # accent color 1 for primary color 2
|
||||
$wallbash_2xa2 = 6B3A47 # accent color 2 for primary color 2
|
||||
$wallbash_2xa3 = 7D4B58 # accent color 3 for primary color 2
|
||||
$wallbash_2xa4 = 8F5766 # accent color 4 for primary color 2
|
||||
$wallbash_2xa5 = A36576 # accent color 5 for primary color 2
|
||||
$wallbash_2xa6 = C27A8D # accent color 6 for primary color 2
|
||||
$wallbash_2xa7 = E69AAE # accent color 7 for primary color 2
|
||||
$wallbash_2xa8 = F0AABD # accent color 8 for primary color 2
|
||||
$wallbash_2xa9 = FFCCDA # accent color 9 for primary color 2
|
||||
|
||||
# in rgba format
|
||||
$wallbash_pry2_rgba = rgba(84,122,151,0.95) # primary color 2
|
||||
$wallbash_pry2_rgba = rgba(82,22,38,0.95) # primary color 2
|
||||
$wallbash_txt2_rgba = rgba(255,255,255,0.95) # text color 2
|
||||
$wallbash_2xa1_rgba = rgba(41,64,82,0.95) # accent color 1 for primary color 2
|
||||
$wallbash_2xa2_rgba = rgba(58,86,107,0.95) # accent color 2 for primary color 2
|
||||
$wallbash_2xa3_rgba = rgba(75,103,125,0.95) # accent color 3 for primary color 2
|
||||
$wallbash_2xa4_rgba = rgba(87,119,143,0.95) # accent color 4 for primary color 2
|
||||
$wallbash_2xa5_rgba = rgba(101,136,163,0.95) # accent color 5 for primary color 2
|
||||
$wallbash_2xa6_rgba = rgba(122,163,194,0.95) # accent color 6 for primary color 2
|
||||
$wallbash_2xa7_rgba = rgba(154,197,230,0.95) # accent color 7 for primary color 2
|
||||
$wallbash_2xa8_rgba = rgba(170,210,240,0.95) # accent color 8 for primary color 2
|
||||
$wallbash_2xa9_rgba = rgba(204,233,255,0.95) # accent color 9 for primary color 2
|
||||
$wallbash_2xa1_rgba = rgba(82,41,52,0.95) # accent color 1 for primary color 2
|
||||
$wallbash_2xa2_rgba = rgba(107,58,71,0.95) # accent color 2 for primary color 2
|
||||
$wallbash_2xa3_rgba = rgba(125,75,88,0.95) # accent color 3 for primary color 2
|
||||
$wallbash_2xa4_rgba = rgba(143,87,102,0.95) # accent color 4 for primary color 2
|
||||
$wallbash_2xa5_rgba = rgba(163,101,118,0.95) # accent color 5 for primary color 2
|
||||
$wallbash_2xa6_rgba = rgba(194,122,141,0.95) # accent color 6 for primary color 2
|
||||
$wallbash_2xa7_rgba = rgba(230,154,174,0.95) # accent color 7 for primary color 2
|
||||
$wallbash_2xa8_rgba = rgba(240,170,189,0.95) # accent color 8 for primary color 2
|
||||
$wallbash_2xa9_rgba = rgba(255,204,218,0.95) # accent color 9 for primary color 2
|
||||
|
||||
# Color group 3
|
||||
|
||||
$wallbash_pry3 = 38526C # primary color 3
|
||||
$wallbash_pry3 = AF3D25 # primary color 3
|
||||
$wallbash_txt3 = FFFFFF # text color 3
|
||||
$wallbash_3xa1 = 293D52 # accent color 1 for primary color 3
|
||||
$wallbash_3xa2 = 3A526B # accent color 2 for primary color 3
|
||||
$wallbash_3xa3 = 4B647D # accent color 3 for primary color 3
|
||||
$wallbash_3xa4 = 57738F # accent color 4 for primary color 3
|
||||
$wallbash_3xa5 = 6584A3 # accent color 5 for primary color 3
|
||||
$wallbash_3xa6 = 7A9EC2 # accent color 6 for primary color 3
|
||||
$wallbash_3xa7 = 9AC0E6 # accent color 7 for primary color 3
|
||||
$wallbash_3xa8 = AACDF0 # accent color 8 for primary color 3
|
||||
$wallbash_3xa9 = CCE6FF # accent color 9 for primary color 3
|
||||
$wallbash_3xa1 = 523029 # accent color 1 for primary color 3
|
||||
$wallbash_3xa2 = 6B423A # accent color 2 for primary color 3
|
||||
$wallbash_3xa3 = 7D544B # accent color 3 for primary color 3
|
||||
$wallbash_3xa4 = 8F6157 # accent color 4 for primary color 3
|
||||
$wallbash_3xa5 = A37065 # accent color 5 for primary color 3
|
||||
$wallbash_3xa6 = C2877A # accent color 6 for primary color 3
|
||||
$wallbash_3xa7 = E6A79A # accent color 7 for primary color 3
|
||||
$wallbash_3xa8 = F0B6AA # accent color 8 for primary color 3
|
||||
$wallbash_3xa9 = FFD5CC # accent color 9 for primary color 3
|
||||
|
||||
# in rgba format
|
||||
$wallbash_pry3_rgba = rgba(56,82,108,0.95) # primary color 3
|
||||
$wallbash_pry3_rgba = rgba(175,61,37,0.95) # primary color 3
|
||||
$wallbash_txt3_rgba = rgba(255,255,255,0.95) # text color 3
|
||||
$wallbash_3xa1_rgba = rgba(41,61,82,0.95) # accent color 1 for primary color 3
|
||||
$wallbash_3xa2_rgba = rgba(58,82,107,0.95) # accent color 2 for primary color 3
|
||||
$wallbash_3xa3_rgba = rgba(75,100,125,0.95) # accent color 3 for primary color 3
|
||||
$wallbash_3xa4_rgba = rgba(87,115,143,0.95) # accent color 4 for primary color 3
|
||||
$wallbash_3xa5_rgba = rgba(101,132,163,0.95) # accent color 5 for primary color 3
|
||||
$wallbash_3xa6_rgba = rgba(122,158,194,0.95) # accent color 6 for primary color 3
|
||||
$wallbash_3xa7_rgba = rgba(154,192,230,0.95) # accent color 7 for primary color 3
|
||||
$wallbash_3xa8_rgba = rgba(170,205,240,0.95) # accent color 8 for primary color 3
|
||||
$wallbash_3xa9_rgba = rgba(204,230,255,0.95) # accent color 9 for primary color 3
|
||||
$wallbash_3xa1_rgba = rgba(82,48,41,0.95) # accent color 1 for primary color 3
|
||||
$wallbash_3xa2_rgba = rgba(107,66,58,0.95) # accent color 2 for primary color 3
|
||||
$wallbash_3xa3_rgba = rgba(125,84,75,0.95) # accent color 3 for primary color 3
|
||||
$wallbash_3xa4_rgba = rgba(143,97,87,0.95) # accent color 4 for primary color 3
|
||||
$wallbash_3xa5_rgba = rgba(163,112,101,0.95) # accent color 5 for primary color 3
|
||||
$wallbash_3xa6_rgba = rgba(194,135,122,0.95) # accent color 6 for primary color 3
|
||||
$wallbash_3xa7_rgba = rgba(230,167,154,0.95) # accent color 7 for primary color 3
|
||||
$wallbash_3xa8_rgba = rgba(240,182,170,0.95) # accent color 8 for primary color 3
|
||||
$wallbash_3xa9_rgba = rgba(255,213,204,0.95) # accent color 9 for primary color 3
|
||||
|
||||
# Color group 4
|
||||
|
||||
$wallbash_pry4 = 21252B # primary color 4
|
||||
$wallbash_txt4 = FFFFFF # text color 4
|
||||
$wallbash_4xa1 = 293952 # accent color 1 for primary color 4
|
||||
$wallbash_4xa2 = 3A4E6B # accent color 2 for primary color 4
|
||||
$wallbash_4xa3 = 4B5F7D # accent color 3 for primary color 4
|
||||
$wallbash_4xa4 = 576D8F # accent color 4 for primary color 4
|
||||
$wallbash_4xa5 = 657EA3 # accent color 5 for primary color 4
|
||||
$wallbash_4xa6 = 7A97C2 # accent color 6 for primary color 4
|
||||
$wallbash_4xa7 = 9AB8E6 # accent color 7 for primary color 4
|
||||
$wallbash_4xa8 = AAC6F0 # accent color 8 for primary color 4
|
||||
$wallbash_4xa9 = CCE0FF # accent color 9 for primary color 4
|
||||
$wallbash_pry4 = E47D32 # primary color 4
|
||||
$wallbash_txt4 = 111314 # text color 4
|
||||
$wallbash_4xa1 = 523A29 # accent color 1 for primary color 4
|
||||
$wallbash_4xa2 = 6B4F3A # accent color 2 for primary color 4
|
||||
$wallbash_4xa3 = 7D604B # accent color 3 for primary color 4
|
||||
$wallbash_4xa4 = 8F6F57 # accent color 4 for primary color 4
|
||||
$wallbash_4xa5 = A37F65 # accent color 5 for primary color 4
|
||||
$wallbash_4xa6 = C2987A # accent color 6 for primary color 4
|
||||
$wallbash_4xa7 = E6BA9A # accent color 7 for primary color 4
|
||||
$wallbash_4xa8 = F0C7AA # accent color 8 for primary color 4
|
||||
$wallbash_4xa9 = FFE1CC # accent color 9 for primary color 4
|
||||
|
||||
# in rgba format
|
||||
$wallbash_pry4_rgba = rgba(33,37,43,0.95) # primary color 4
|
||||
$wallbash_txt4_rgba = rgba(255,255,255,0.95) # text color 4
|
||||
$wallbash_4xa1_rgba = rgba(41,57,82,0.95) # accent color 1 for primary color 4
|
||||
$wallbash_4xa2_rgba = rgba(58,78,107,0.95) # accent color 2 for primary color 4
|
||||
$wallbash_4xa3_rgba = rgba(75,95,125,0.95) # accent color 3 for primary color 4
|
||||
$wallbash_4xa4_rgba = rgba(87,109,143,0.95) # accent color 4 for primary color 4
|
||||
$wallbash_4xa5_rgba = rgba(101,126,163,0.95) # accent color 5 for primary color 4
|
||||
$wallbash_4xa6_rgba = rgba(122,151,194,0.95) # accent color 6 for primary color 4
|
||||
$wallbash_4xa7_rgba = rgba(154,184,230,0.95) # accent color 7 for primary color 4
|
||||
$wallbash_4xa8_rgba = rgba(170,198,240,0.95) # accent color 8 for primary color 4
|
||||
$wallbash_4xa9_rgba = rgba(204,224,255,0.95) # accent color 9 for primary color 4
|
||||
$wallbash_pry4_rgba = rgba(228,125,50,0.95) # primary color 4
|
||||
$wallbash_txt4_rgba = rgba(17,19,20,0.95) # text color 4
|
||||
$wallbash_4xa1_rgba = rgba(82,58,41,0.95) # accent color 1 for primary color 4
|
||||
$wallbash_4xa2_rgba = rgba(107,79,58,0.95) # accent color 2 for primary color 4
|
||||
$wallbash_4xa3_rgba = rgba(125,96,75,0.95) # accent color 3 for primary color 4
|
||||
$wallbash_4xa4_rgba = rgba(143,111,87,0.95) # accent color 4 for primary color 4
|
||||
$wallbash_4xa5_rgba = rgba(163,127,101,0.95) # accent color 5 for primary color 4
|
||||
$wallbash_4xa6_rgba = rgba(194,152,122,0.95) # accent color 6 for primary color 4
|
||||
$wallbash_4xa7_rgba = rgba(230,186,154,0.95) # accent color 7 for primary color 4
|
||||
$wallbash_4xa8_rgba = rgba(240,199,170,0.95) # accent color 8 for primary color 4
|
||||
$wallbash_4xa9_rgba = rgba(255,225,204,0.95) # accent color 9 for primary color 4
|
||||
|
@@ -1,42 +1,54 @@
|
||||
# // P̳r̳a̳s̳a̳n̳t̳h̳ R̳a̳n̳g̳a̳n̳
|
||||
|
||||
$GTK_THEME = Catppuccin-Latte
|
||||
$ICON_THEME = Tela-circle-grey
|
||||
$COLOR_SCHEME = prefer-light
|
||||
|
||||
# Optional: The varibles above will be set automatically when the theme is loaded
|
||||
# This exec commands will soon be deprecated
|
||||
$GTK_THEME=WhiteSur-Dark
|
||||
$ICON_THEME=WhiteSur
|
||||
$COLOR_SCHEME=prefer-dark
|
||||
$CURSOR_THEME=macOS-Black
|
||||
$CURSOR_SIZE=26
|
||||
$FONT=SF Pro Rounded Regular 10.5
|
||||
$CODE_THEME=MacOS Modern Dark - Xcode Modern
|
||||
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
gaps_in = 4
|
||||
gaps_out = 10
|
||||
border_size = 2
|
||||
col.active_border = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.inactive_border = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
col.active_border = rgba(0D9AC1FF) rgba(0B4C5DFF) 45deg
|
||||
col.inactive_border = rgba(4A3B4ACC) rgba(1A2B3DCC) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.border_inactive = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
col.border_locked_active = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.border_locked_inactive = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
col.border_active = rgba(0D9AC1FF) rgba(0B4C5DFF) 45deg
|
||||
col.border_inactive = rgba(4A3B4ACC) rgba(1A2B3DCC) 45deg
|
||||
col.border_locked_active = rgba(0D9AC1FF) rgba(0B4C5DFF) 45deg
|
||||
col.border_locked_inactive = rgba(4A3B4ACC) rgba(1A2B3DCC) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
shadow:enabled = false
|
||||
active_opacity = 0.9
|
||||
inactive_opacity = 0.9
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
size = 4
|
||||
passes = 4
|
||||
noise = 0.02
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
|
||||
shadow {
|
||||
enabled = false
|
||||
ignore_window = true
|
||||
offset = 0 0
|
||||
range = 15
|
||||
render_power = 1
|
||||
color = 0x80ffffff
|
||||
}
|
||||
}
|
||||
|
||||
layerrule = blur,waybar
|
||||
|
||||
blurls = waybar
|
||||
|
@@ -1,19 +1,19 @@
|
||||
# Auto-generated by HyDE // Read-only
|
||||
# // ----------------------------
|
||||
# HyDE Theme: Catppuccin Latte
|
||||
# Configuration File: "/home/elleoma/.config/hyde/themes/Catppuccin Latte/hypr.theme"
|
||||
# HyDE Theme: Monterey Frost
|
||||
# Configuration File: "/home/elleoma/.config/hyde/themes/Monterey Frost/hypr.theme"
|
||||
# Wallbash Mode : theme
|
||||
# // ----------------------------
|
||||
|
||||
$HYDE_THEME=Catppuccin Latte
|
||||
$GTK_THEME=Catppuccin-Latte
|
||||
$COLOR-SCHEME=prefer-light
|
||||
$ICON_THEME=Tela-circle-grey
|
||||
$HYDE_THEME=Monterey Frost
|
||||
$GTK_THEME=WhiteSur-Dark
|
||||
$COLOR-SCHEME=prefer-dark
|
||||
$ICON_THEME=WhiteSur
|
||||
|
||||
$CURSOR_THEME=Bibata-Modern-Ice
|
||||
$CURSOR_SIZE=24
|
||||
$CURSOR_THEME=macOS-Black
|
||||
$CURSOR_SIZE=26
|
||||
|
||||
$FONT=Cantarell
|
||||
$FONT=SF Pro Rounded Regular 10.5
|
||||
$FONT_SIZE=10
|
||||
$DOCUMENT_FONT=Cantarell
|
||||
$DOCUMENT_FONT_SIZE=10
|
||||
@@ -21,7 +21,7 @@ $MONOSPACE_FONT=CaskaydiaCove Nerd Font Mono
|
||||
$MONOSPACE_FONT_SIZE=9
|
||||
|
||||
|
||||
$CODE_THEME=Wallbash
|
||||
$CODE_THEME=MacOS Modern Dark - Xcode Modern
|
||||
$SDDM_THEME=
|
||||
|
||||
# // ----------------------------
|
||||
|
@@ -62,6 +62,7 @@ windowrulev2 = float,class:^(kitty)$,title:^(htop)$
|
||||
windowrulev2 = size 800 600,center,class:^(kitty)$
|
||||
windowrulev2 = float,class:^(vlc)$
|
||||
windowrulev2 = float,class:^(thunar)$
|
||||
windowrulev2 = size 1200 800,float,class:^(org.kde.dolphin)$
|
||||
windowrulev2 = float,class:^(mpv)$
|
||||
windowrulev2 = float,class:^(kvantummanager)$
|
||||
windowrulev2 = float,class:^(qt5ct)$
|
||||
|
@@ -1,19 +1,23 @@
|
||||
#! █░█░█ █▀█ █▀█ █▄▀ █▀▀ █░░ █▀█ █░█░█ █▀
|
||||
#! ▀▄▀▄▀ █▄█ █▀▄ █░█ █▀░ █▄▄ █▄█ ▀▄▀▄▀ ▄█
|
||||
|
||||
# This file sets the current workflow for Hyprland
|
||||
# HyDE Controlled content // DO NOT EDIT
|
||||
# Edit or add workflows in the ./workflows/ directory
|
||||
# and run the 'workflows.sh select' command to update this file
|
||||
|
||||
# Workflows are a set of configurations that can be applied to Hyprland
|
||||
# that suits the actual workflow you are doing.
|
||||
# It can be gaming mode, work mode, or anything else you can think of.
|
||||
# you can also exec a command within the workflow
|
||||
#*┌────────────────────────────────────────────────────────────────────────────┐
|
||||
#*│ # HyDE Controlled content // DO NOT EDIT │
|
||||
#*│ # This file sets the current workflow for Hyprland │
|
||||
#*│ # Edit or add workflows in the ./workflows/ directory │
|
||||
#*│ # and run the 'workflows.sh --select' command to update this file │
|
||||
#*│ │
|
||||
#*│ # Workflows are a set of configurations that can be applied to Hyprland │
|
||||
#*│ # that suits the actual workflow you are doing. │
|
||||
#*│ # It can be gaming mode, work mode, or anything else you can think of. │
|
||||
#*│ # you can also exec a command within the workflow │
|
||||
#*│ │
|
||||
#*└────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
$WORKFLOW = default
|
||||
$WORKFLOW_ICON =
|
||||
$WORKFLOW_DESCRIPTION = Default HyDE configuration // Disables workflow overrides
|
||||
$WORKFLOW_DESCRIPTION = Unset workflow configuration
|
||||
$WORKFLOWS_PATH = ./workflows/default.conf
|
||||
source = $WORKFLOWS_PATH
|
||||
|
||||
|
@@ -10,14 +10,27 @@ decoration {
|
||||
shadow {
|
||||
enabled = 0
|
||||
}
|
||||
blur:enabled = 0
|
||||
blur {
|
||||
enabled = 0
|
||||
xray = 1
|
||||
}
|
||||
rounding = 0
|
||||
active_opacity = 1
|
||||
inactive_opacity = 1
|
||||
fullscreen_opacity = 1
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
border_size = 1
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
border_size = 1
|
||||
}
|
||||
|
||||
animations:enabled = 0
|
||||
|
||||
layerrule = noanim,waybar
|
||||
layerrule = noanim,swaync-notification-window
|
||||
layerrule = noanim,swww-daemon
|
||||
layerrule = noanim,rofi
|
||||
|
||||
windowrule = opaque,class:(.*) # ensure all windows are opaque
|
@@ -9,21 +9,24 @@ decoration {
|
||||
shadow {
|
||||
enabled = 0
|
||||
}
|
||||
blur:enabled = 0
|
||||
blur {
|
||||
enabled = 0
|
||||
xray = 1
|
||||
}
|
||||
rounding = 0
|
||||
active_opacity = 1
|
||||
inactive_opacity = 1
|
||||
fullscreen_opacity = 1
|
||||
fullscreen_opacity = 1
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
border_size = 1
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
border_size = 1
|
||||
}
|
||||
|
||||
animations:enabled = 0
|
||||
misc:vfr = true
|
||||
|
||||
layerrule = noanim,waybar
|
||||
layerrule = noanim,swaync-notification-window
|
||||
|
@@ -9,9 +9,9 @@ rounding = 0
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
border_size = 1
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
border_size = 1
|
||||
}
|
||||
|
||||
animations:enabled = 0
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "eda5be8f0ce9816278671f0b578cdbb8b762c701" },
|
||||
"NvChad": { "branch": "v2.5", "commit": "a792fd1d96c1511a165b18911164baa28bf1d6f4" },
|
||||
"LuaSnip": { "branch": "master", "commit": "de10d8414235b0a8cabfeba60d07c24304e71f5c" },
|
||||
"NvChad": { "branch": "v2.5", "commit": "29ebe31ea6a4edf351968c76a93285e6e108ea08" },
|
||||
"base46": { "branch": "v2.5", "commit": "fde7a2cd54599e148d376f82980407c2d24b0fa2" },
|
||||
"cmp-async-path": { "branch": "main", "commit": "0ed1492f59e730c366d261a5ad822fa37e44c325" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
@@ -8,29 +8,30 @@
|
||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"conform.nvim": { "branch": "master", "commit": "973f3cb73887d510321653044791d7937c7ec0fa" },
|
||||
"crates.nvim": { "branch": "main", "commit": "5d8b1bef686db0fabe5f1bb593744b617e8f1405" },
|
||||
"crates.nvim": { "branch": "main", "commit": "fe66681d97a1eefddb5d7e48bd427b2cb0271881" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "362fe61f9f19e9bceff178792780df5cce118a7d" },
|
||||
"image.nvim": { "branch": "master", "commit": "4c51d6202628b3b51e368152c053c3fb5c5f76f2" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "8270378ab83540b03d09c0194ba3e208f9d0cb72" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
||||
"mason.nvim": { "branch": "main", "commit": "9e25c98d4826998460926f8c5c2284848d80ae89" },
|
||||
"menu": { "branch": "main", "commit": "7a0a4a2896b715c066cfbe320bdc048091874cc6" },
|
||||
"minty": { "branch": "main", "commit": "aafc9e8e0afe6bf57580858a2849578d8d8db9e0" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
||||
"nvim-dap": { "branch": "master", "commit": "1c75a797b4017fec6491f509cf196c8c8833f26f" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "bb3fb99cf14daa33014331ac6eb4b5de9180f775" },
|
||||
"nvim-dap": { "branch": "master", "commit": "a479e25ed5b5d331fb46ee4b9e160ff02ac64310" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "63a38440989c58e1f100373ab603fd24665bdc9a" },
|
||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "b0b49552c9462900a882fe772993b01d780445fe" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "0a7fcdf3f8ba208f4260988a198c77ec11748339" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "19d6211c78169e78bab372b585b6fb17ad974e82" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "3362099de3368aa620a8105b19ed04c2053e38c0" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"riscv-asm-vim": { "branch": "master", "commit": "af37cced21452c6edbe1f42811103be34ee19de2" },
|
||||
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "322224d00a731d75eed6b700d38e460fd30f6e3c" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "7f4b28a888340c7658e3f95a965cee67f29f9a23" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||
"ui": { "branch": "v3.0", "commit": "ec5b1f8e591b2e8f1cd3653b41bb14d9cd43dfd1" },
|
||||
"ui": { "branch": "v3.0", "commit": "dc4950f5bd4117e2da108b681506c908b93d4a62" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "3403495670f0ee08887401a28f8430dc4ac67429" },
|
||||
"volt": { "branch": "main", "commit": "7b8c5e790120d9f08c8487dcb80692db6d2087a1" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
|
||||
}
|
||||
|
@@ -1,6 +1,15 @@
|
||||
require "nvchad.options"
|
||||
|
||||
-- add yours here!
|
||||
local o = vim.o
|
||||
|
||||
-- set tabsize
|
||||
o.tabstop = 4
|
||||
o.expandtab = true
|
||||
o.shiftwidth = 4
|
||||
|
||||
-- local o = vim.o
|
||||
-- o.cursorlineopt ='both' -- to enable cursorline!
|
||||
o.cursorlineopt ='both' -- to enable cursorline!
|
||||
|
||||
-- risc-v highlighting
|
||||
vim.g.riscv_asm_all_enable = true
|
||||
|
@@ -85,15 +85,28 @@ return {
|
||||
end
|
||||
},
|
||||
|
||||
-- Summer time fest
|
||||
{
|
||||
"3rd/image.nvim",
|
||||
build = false, -- so that it doesn't build the rock https://github.com/3rd/image.nvim/issues/91#issuecomment-2453430239
|
||||
lazy = false,
|
||||
opts = {
|
||||
processor = "magick_cli",
|
||||
}
|
||||
'wakatime/vim-wakatime',
|
||||
lazy = false
|
||||
},
|
||||
|
||||
-- RISC-V advanced highlighting
|
||||
{
|
||||
"henry-hsieh/riscv-asm-vim",
|
||||
ft = { "riscv_asm" },
|
||||
-- riscv_asm_all_enable = true,
|
||||
}
|
||||
|
||||
-- {
|
||||
-- "3rd/image.nvim",
|
||||
-- build = false, -- so that it doesn't build the rock https://github.com/3rd/image.nvim/issues/91#issuecomment-2453430239
|
||||
-- lazy = false,
|
||||
-- opts = {
|
||||
-- processor = "magick_cli",
|
||||
-- }
|
||||
-- },
|
||||
|
||||
-- {
|
||||
-- "nvim-treesitter/nvim-treesitter",
|
||||
-- opts = {
|
||||
|
1826
.config/zsh/.p10k.zsh
Normal file
1826
.config/zsh/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
16
.config/zsh/.zshenv
Normal file
16
.config/zsh/.zshenv
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
#! ██████╗░░█████╗░ ███╗░░██╗░█████╗░████████╗ ███████╗██████╗░██╗████████╗
|
||||
#! ██╔══██╗██╔══██╗ ████╗░██║██╔══██╗╚══██╔══╝ ██╔════╝██╔══██╗██║╚══██╔══╝
|
||||
#! ██║░░██║██║░░██║ ██╔██╗██║██║░░██║░░░██║░░░ █████╗░░██║░░██║██║░░░██║░░░
|
||||
#! ██║░░██║██║░░██║ ██║╚████║██║░░██║░░░██║░░░ ██╔══╝░░██║░░██║██║░░░██║░░░
|
||||
#! ██████╔╝╚█████╔╝ ██║░╚███║╚█████╔╝░░░██║░░░ ███████╗██████╔╝██║░░░██║░░░
|
||||
#! ╚═════╝░░╚════╝░ ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░ ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░
|
||||
|
||||
# Load all custom module files // Directories are ignored
|
||||
# As Directories are ignored, we can store a bunch of boilerplate script in a ``./conf.d/custom-directory``
|
||||
# then we can make an entry point script: `./conf.d/custom-directory.zsh`managing all the files in that directory
|
||||
|
||||
for file in "${ZDOTDIR:-$HOME/.config/zsh}/conf.d/"*.zsh; do
|
||||
[ -r "$file" ] && source "$file"
|
||||
done
|
97
.config/zsh/.zshrc
Normal file
97
.config/zsh/.zshrc
Normal file
@@ -0,0 +1,97 @@
|
||||
# Add user configurations here
|
||||
# For HyDE to not touch your beloved configurations,
|
||||
# we added a config file for you to customize HyDE before loading zshrc
|
||||
# Edit $ZDOTDIR/.user.zsh to customize HyDE before loading zshrc
|
||||
|
||||
# Plugins
|
||||
# oh-my-zsh plugins are loaded in $ZDOTDIR/.user.zsh file, see the file for more information
|
||||
|
||||
# Aliases
|
||||
# Override aliases here in '$ZDOTDIR/.zshrc' (already set in .zshenv)
|
||||
|
||||
# # Helpful aliases
|
||||
alias c='clear' # clear terminal
|
||||
alias l='eza -lh --icons=auto' # long list
|
||||
alias ls='eza -1 --icons=auto' # short list
|
||||
alias ll='eza -lha --icons=auto --sort=name --group-directories-first' # long list all
|
||||
alias ld='eza -lhD --icons=auto' # long list dirs
|
||||
alias lt='eza --icons=auto --tree' # list folder as tree
|
||||
alias un='paru -Rns' # uninstall package
|
||||
alias up='paru -Syu' # update system/package/aur
|
||||
alias pl='paru -Qs' # list installed package
|
||||
alias pa='paru -Ss' # list available package
|
||||
alias pc='paru -Sc' # remove unused cache
|
||||
alias po='paru -Qtdq | paru -Rns -' # remove unused packages, also try > paru -Qqd | paru -Rsu --print -
|
||||
alias fastfetch='fastfetch --logo arch2'
|
||||
alias l='eza -1h --icons=auto --sort=name --group-directories-first' # long list
|
||||
alias ls='eza -l --icons=auto --sort=name --group-directories-first' # short list
|
||||
alias ll='eza -lha --icons=auto --sort=name --group-directories-first' # long list all
|
||||
alias дд='eza -lha --icons=auto --sort=name --group-directories-first' # sometimes i forget to change keyboard layout
|
||||
|
||||
|
||||
# # Directory navigation shortcuts
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
alias .3='cd ../../..'
|
||||
alias .4='cd ../../../..'
|
||||
alias .5='cd ../../../../..'
|
||||
|
||||
# # Always mkdir a path (this doesn't inhibit functionality to make a single dir)
|
||||
alias mkdir='mkdir -p'
|
||||
|
||||
# This is your file
|
||||
# Add your configurations here
|
||||
export EDITOR=nvim
|
||||
#export EDITOR=code
|
||||
|
||||
# unset -f command_not_found_handler # Uncomment to prevent searching for commands not found in package manager
|
||||
#
|
||||
|
||||
# My own helpful aliases
|
||||
alias icat='kitten icat' # display images in terminal
|
||||
alias ssh='kitten ssh' # functional ssh with kitty
|
||||
alias snv='sudo -E nvim' # sudo nvim
|
||||
alias nv='nvim'
|
||||
alias pi='ssh omoelle'
|
||||
alias pi_tl='ssh omoelle-tl'
|
||||
alias pi-mount='sshfs omoelle:/home/elleoma ~/mnt && cd ~/mnt'
|
||||
alias pi_tl-mount='sshfs omoelle-tl:/home/elleoma ~/mnt && cd ~/mnt'
|
||||
alias wifi="nmcli d wifi show-password | grep 'Password' | awk -F': ' '{ print \$2 }'"
|
||||
alias pivpn="wg-quick up laptop"
|
||||
alias config='git --git-dir=/home/elleoma/.config --work-tree=/home/elleoma'
|
||||
alias wp='git --git-dir=$HOME/shit/wallpapers/.wp --work-tree=$HOME/shit/wallpapers'
|
||||
alias killwayvnc='killall wayvnc'
|
||||
|
||||
# git aliases
|
||||
alias gs='git status '
|
||||
alias ga='git add '
|
||||
alias gb='git branch '
|
||||
alias gc='git commit'
|
||||
alias gd='git diff'
|
||||
alias gco='git checkout '
|
||||
alias gk='gitk --all&'
|
||||
alias gx='gitx --all'
|
||||
alias got='git '
|
||||
alias get='git '
|
||||
alias gut='git '
|
||||
|
||||
# Syntax highlighting for man pages
|
||||
export MANPAGER='nvim +Man!'
|
||||
|
||||
# Setting Ruby path
|
||||
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
||||
export PATH="$PATH:$GEM_HOME/bin"
|
||||
|
||||
# Created by `pipx` on 2025-02-01 15:08:39
|
||||
export PATH="$PATH:/home/elleoma/.local/bin"
|
||||
|
||||
# Setting up Rust
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
export PATH=~/.npm-global/bin:$PATH
|
||||
|
||||
# go binaries path
|
||||
export PATH=~/go/bin:$PATH
|
4
.config/zsh/completions/fzf.zsh
Normal file
4
.config/zsh/completions/fzf.zsh
Normal file
@@ -0,0 +1,4 @@
|
||||
# Ctrl-R fzf completio
|
||||
if command -v fzf &>/dev/null; then
|
||||
eval "$(fzf --zsh)"
|
||||
fi
|
5
.config/zsh/completions/hydectl.zsh
Normal file
5
.config/zsh/completions/hydectl.zsh
Normal file
@@ -0,0 +1,5 @@
|
||||
# hydectl tab completion
|
||||
if command -v hydectl &>/dev/null; then
|
||||
compdef _hydectl hydectl
|
||||
eval "$(hydectl completion zsh)"
|
||||
fi
|
20
.config/zsh/conf.d/00-hyde.zsh
Normal file
20
.config/zsh/conf.d/00-hyde.zsh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
#! ██████╗░░█████╗░ ███╗░░██╗░█████╗░████████╗ ███████╗██████╗░██╗████████╗
|
||||
#! ██╔══██╗██╔══██╗ ████╗░██║██╔══██╗╚══██╔══╝ ██╔════╝██╔══██╗██║╚══██╔══╝
|
||||
#! ██║░░██║██║░░██║ ██╔██╗██║██║░░██║░░░██║░░░ █████╗░░██║░░██║██║░░░██║░░░
|
||||
#! ██║░░██║██║░░██║ ██║╚████║██║░░██║░░░██║░░░ ██╔══╝░░██║░░██║██║░░░██║░░░
|
||||
#! ██████╔╝╚█████╔╝ ██║░╚███║╚█████╔╝░░░██║░░░ ███████╗██████╔╝██║░░░██║░░░
|
||||
#! ╚═════╝░░╚════╝░ ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░ ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░
|
||||
|
||||
|
||||
# Sources vital global environment variables and configurations // Users are encouraged to use ./user.zsh for customization
|
||||
# shellcheck disable=SC1091
|
||||
if ! . "$ZDOTDIR/conf.d/hyde/env.zsh"; then
|
||||
echo "Error: Could not source $ZDOTDIR/conf.d/hyde/env.zsh"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [[ $- == *i* ]] && [ -f "$ZDOTDIR/conf.d/hyde/terminal.zsh" ]; then
|
||||
. "$ZDOTDIR/conf.d/hyde/terminal.zsh" || echo "Error: Could not source $ZDOTDIR/conf.d/hyde/terminal.zsh"
|
||||
fi
|
51
.config/zsh/conf.d/hyde/env.zsh
Normal file
51
.config/zsh/conf.d/hyde/env.zsh
Normal file
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
#! ██████╗░░█████╗░ ███╗░░██╗░█████╗░████████╗ ███████╗██████╗░██╗████████╗
|
||||
#! ██╔══██╗██╔══██╗ ████╗░██║██╔══██╗╚══██╔══╝ ██╔════╝██╔══██╗██║╚══██╔══╝
|
||||
#! ██║░░██║██║░░██║ ██╔██╗██║██║░░██║░░░██║░░░ █████╗░░██║░░██║██║░░░██║░░░
|
||||
#! ██║░░██║██║░░██║ ██║╚████║██║░░██║░░░██║░░░ ██╔══╝░░██║░░██║██║░░░██║░░░
|
||||
#! ██████╔╝╚█████╔╝ ██║░╚███║╚█████╔╝░░░██║░░░ ███████╗██████╔╝██║░░░██║░░░
|
||||
#! ╚═════╝░░╚════╝░ ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░ ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░
|
||||
|
||||
# Hyde's Shell Environment Initialization Script
|
||||
# If users used UWSM, uwsm will override any variables set anywhere in your shell configurations
|
||||
|
||||
# Basic PATH prepending (user local bin)
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# XDG Base Directory Specification variables with defaults
|
||||
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
XDG_DATA_DIRS="${XDG_DATA_DIRS:-$XDG_DATA_HOME:/usr/local/share:/usr/share}"
|
||||
XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
|
||||
# XDG User Directories (fallback to xdg-user-dir command if available)
|
||||
if command -v xdg-user-dir >/dev/null 2>&1; then
|
||||
XDG_DESKTOP_DIR="${XDG_DESKTOP_DIR:-$(xdg-user-dir DESKTOP)}"
|
||||
XDG_DOWNLOAD_DIR="${XDG_DOWNLOAD_DIR:-$(xdg-user-dir DOWNLOAD)}"
|
||||
XDG_TEMPLATES_DIR="${XDG_TEMPLATES_DIR:-$(xdg-user-dir TEMPLATES)}"
|
||||
XDG_PUBLICSHARE_DIR="${XDG_PUBLICSHARE_DIR:-$(xdg-user-dir PUBLICSHARE)}"
|
||||
XDG_DOCUMENTS_DIR="${XDG_DOCUMENTS_DIR:-$(xdg-user-dir DOCUMENTS)}"
|
||||
XDG_MUSIC_DIR="${XDG_MUSIC_DIR:-$(xdg-user-dir MUSIC)}"
|
||||
XDG_PICTURES_DIR="${XDG_PICTURES_DIR:-$(xdg-user-dir PICTURES)}"
|
||||
XDG_VIDEOS_DIR="${XDG_VIDEOS_DIR:-$(xdg-user-dir VIDEOS)}"
|
||||
fi
|
||||
|
||||
# Less history file location
|
||||
LESSHISTFILE="${LESSHISTFILE:-/tmp/less-hist}"
|
||||
|
||||
# Application config files
|
||||
PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
|
||||
SCREENRC="$XDG_CONFIG_HOME/screen/screenrc"
|
||||
TERMINFO="$XDG_DATA_HOME"/terminfo
|
||||
TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
|
||||
WGETRC="${XDG_CONFIG_HOME}/wgetrc"
|
||||
PYTHON_HISTORY="$XDG_STATE_HOME/python_history"
|
||||
|
||||
# Export all variables
|
||||
export PATH \
|
||||
XDG_CONFIG_HOME XDG_DATA_HOME XDG_DATA_DIRS XDG_STATE_HOME XDG_CACHE_HOME \
|
||||
XDG_DESKTOP_DIR XDG_DOWNLOAD_DIR XDG_TEMPLATES_DIR XDG_PUBLICSHARE_DIR \
|
||||
XDG_DOCUMENTS_DIR XDG_MUSIC_DIR XDG_PICTURES_DIR XDG_VIDEOS_DIR \
|
||||
LESSHISTFILE PARALLEL_HOME SCREENRC
|
36
.config/zsh/conf.d/hyde/prompt.zsh
Normal file
36
.config/zsh/conf.d/hyde/prompt.zsh
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
#! ██████╗░░█████╗░ ███╗░░██╗░█████╗░████████╗ ███████╗██████╗░██╗████████╗
|
||||
#! ██╔══██╗██╔══██╗ ████╗░██║██╔══██╗╚══██╔══╝ ██╔════╝██╔══██╗██║╚══██╔══╝
|
||||
#! ██║░░██║██║░░██║ ██╔██╗██║██║░░██║░░░██║░░░ █████╗░░██║░░██║██║░░░██║░░░
|
||||
#! ██║░░██║██║░░██║ ██║╚████║██║░░██║░░░██║░░░ ██╔══╝░░██║░░██║██║░░░██║░░░
|
||||
#! ██████╔╝╚█████╔╝ ██║░╚███║╚█████╔╝░░░██║░░░ ███████╗██████╔╝██║░░░██║░░░
|
||||
#! ╚═════╝░░╚════╝░ ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░ ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░
|
||||
|
||||
# Let HyDE immediately load prompts
|
||||
# For now supported prompts are Starship and Powerlevel10k (p10k)
|
||||
|
||||
# Exit early if HYDE_ZSH_PROMPT is not set to 1
|
||||
if [[ "${HYDE_ZSH_PROMPT}" != "1" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
if command -v starship &>/dev/null; then
|
||||
# ===== START Initialize Starship prompt =====
|
||||
eval "$(starship init zsh)"
|
||||
export STARSHIP_CACHE=$XDG_CACHE_HOME/starship
|
||||
export STARSHIP_CONFIG=$XDG_CONFIG_HOME/starship/starship.toml
|
||||
# ===== END Initialize Starship prompt =====
|
||||
elif [ -r $HOME/.p10k.zsh ] || [ -r $ZDOTDIR/.p10k.zsh ]; then
|
||||
# ===== START Initialize Powerlevel10k theme =====
|
||||
POWERLEVEL10K_TRANSIENT_PROMPT=same-dir
|
||||
P10k_THEME=${P10k_THEME:-/usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme}
|
||||
[[ -r $P10k_THEME ]] && source $P10k_THEME
|
||||
# To customize prompt, run `p10k configure` or edit $HOME/.p10k.zsh
|
||||
if [[ -f $HOME/.p10k.zsh ]]; then
|
||||
source $HOME/.p10k.zsh
|
||||
elif [[ -f $ZDOTDIR/.p10k.zsh ]]; then
|
||||
source $ZDOTDIR/.p10k.zsh
|
||||
fi
|
||||
# ===== END Initialize Powerlevel10k theme =====
|
||||
fi
|
248
.config/zsh/conf.d/hyde/terminal.zsh
Normal file
248
.config/zsh/conf.d/hyde/terminal.zsh
Normal file
@@ -0,0 +1,248 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
#! ██████╗░░█████╗░ ███╗░░██╗░█████╗░████████╗ ███████╗██████╗░██╗████████╗
|
||||
#! ██╔══██╗██╔══██╗ ████╗░██║██╔══██╗╚══██╔══╝ ██╔════╝██╔══██╗██║╚══██╔══╝
|
||||
#! ██║░░██║██║░░██║ ██╔██╗██║██║░░██║░░░██║░░░ █████╗░░██║░░██║██║░░░██║░░░
|
||||
#! ██║░░██║██║░░██║ ██║╚████║██║░░██║░░░██║░░░ ██╔══╝░░██║░░██║██║░░░██║░░░
|
||||
#! ██████╔╝╚█████╔╝ ██║░╚███║╚█████╔╝░░░██║░░░ ███████╗██████╔╝██║░░░██║░░░
|
||||
#! ╚═════╝░░╚════╝░ ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░ ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░
|
||||
|
||||
# HyDE's ZSH env configuration
|
||||
# This file is sourced by ZSH on startup
|
||||
# And ensures that we have an obstruction-free .zshrc file
|
||||
# This also ensures that the proper HyDE $ENVs are loaded
|
||||
|
||||
function _load_functions() {
|
||||
# Load all custom function files // Directories are ignored
|
||||
for file in "${ZDOTDIR:-$HOME/.config/zsh}/functions/"*.zsh; do
|
||||
[ -r "$file" ] && source "$file"
|
||||
done
|
||||
}
|
||||
|
||||
function _load_completions() {
|
||||
for file in "${ZDOTDIR:-$HOME/.config/zsh}/completions/"*.zsh; do
|
||||
[ -r "$file" ] && source "$file"
|
||||
done
|
||||
}
|
||||
|
||||
function _dedup_zsh_plugins {
|
||||
unset -f _dedup_zsh_plugins
|
||||
# Oh-my-zsh installation path
|
||||
zsh_paths=(
|
||||
"$HOME/.oh-my-zsh"
|
||||
"/usr/local/share/oh-my-zsh"
|
||||
"/usr/share/oh-my-zsh"
|
||||
)
|
||||
for zsh_path in "${zsh_paths[@]}"; do [[ -d $zsh_path ]] && export ZSH=$zsh_path && break; done
|
||||
# Load Plugins
|
||||
hyde_plugins=(git zsh-256color zsh-autosuggestions zsh-syntax-highlighting)
|
||||
plugins+=("${plugins[@]}" "${hyde_plugins[@]}")
|
||||
# Deduplicate plugins
|
||||
plugins=("${plugins[@]}")
|
||||
plugins=($(printf "%s\n" "${plugins[@]}" | sort -u))
|
||||
# Defer oh-my-zsh loading until after prompt appears
|
||||
typeset -g DEFER_OMZ_LOAD=1
|
||||
}
|
||||
|
||||
function _defer_omz_after_prompt_before_input() {
|
||||
|
||||
[[ -r $ZSH/oh-my-zsh.sh ]] && source $ZSH/oh-my-zsh.sh
|
||||
#! Never load time consuming functions here
|
||||
|
||||
# Add your completions directory to fpath
|
||||
fpath=($ZDOTDIR/completions "${fpath[@]}")
|
||||
|
||||
_load_compinit
|
||||
_load_functions
|
||||
_load_completions
|
||||
|
||||
# zsh-autosuggestions won't work on first prompt when deferred
|
||||
if typeset -f _zsh_autosuggest_start >/dev/null; then
|
||||
_zsh_autosuggest_start
|
||||
fi
|
||||
|
||||
chmod +r $ZDOTDIR/.zshrc # Make sure .zshrc is readable
|
||||
[[ -r $ZDOTDIR/.zshrc ]] && source $ZDOTDIR/.zshrc
|
||||
}
|
||||
|
||||
function _load_deferred_plugin_system_by_hyde() {
|
||||
|
||||
# Exit early if HYDE_ZSH_DEFER is not set to 1
|
||||
if [[ "${HYDE_ZSH_DEFER}" != "1" ]]; then
|
||||
unset -f _load_deferred_plugin_system_by_hyde
|
||||
return
|
||||
fi
|
||||
|
||||
# Defer oh-my-zsh loading until after prompt appears
|
||||
# Load oh-my-zsh when line editor initializes // before user input
|
||||
if [[ -n $DEFER_OMZ_LOAD ]]; then
|
||||
unset DEFER_OMZ_LOAD
|
||||
[[ ${VSCODE_INJECTION} == 1 ]] || chmod -r $ZDOTDIR/.zshrc # let vscode read .zshrc
|
||||
zle -N zle-line-init _defer_omz_after_prompt_before_input # Loads when the line editor initializes // The best option
|
||||
fi
|
||||
# Below this line are the commands that are executed after the prompt appears
|
||||
|
||||
# autoload -Uz add-zsh-hook
|
||||
# add-zsh-hook zshaddhistory load_omz_deferred # loads after the first command is added to history
|
||||
# add-zsh-hook precmd load_omz_deferred # Loads when shell is ready to accept commands
|
||||
# add-zsh-hook preexec load_omz_deferred # Loads before the first command executes
|
||||
|
||||
# TODO: add handlers in pm.sh
|
||||
# for these aliases please manually add the following lines to your .zshrc file.(Using yay as the aur helper)
|
||||
# pc='yay -Sc' # remove all cached packages
|
||||
# po='yay -Qtdq | ${PM_COMMAND[@]} -Rns -' # remove orphaned packages
|
||||
|
||||
# zsh-autosuggestions won't work on first prompt when deferred
|
||||
if typeset -f _zsh_autosuggest_start >/dev/null; then
|
||||
_zsh_autosuggest_start
|
||||
fi
|
||||
|
||||
# Some binds won't work on first prompt when deferred
|
||||
bindkey '\e[H' beginning-of-line
|
||||
bindkey '\e[F' end-of-line
|
||||
|
||||
}
|
||||
|
||||
function do_render {
|
||||
# Check if the terminal supports images
|
||||
local type="${1:-image}"
|
||||
# TODO: update this list if needed
|
||||
TERMINAL_IMAGE_SUPPORT=(kitty konsole ghostty WezTerm)
|
||||
local terminal_no_art=(vscode code codium)
|
||||
TERMINAL_NO_ART="${TERMINAL_NO_ART:-${terminal_no_art[@]}}"
|
||||
CURRENT_TERMINAL="${TERM_PROGRAM:-$(ps -o comm= -p $(ps -o ppid= -p $$))}"
|
||||
|
||||
case "${type}" in
|
||||
image)
|
||||
if [[ " ${TERMINAL_IMAGE_SUPPORT[@]} " =~ " ${CURRENT_TERMINAL} " ]]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
;;
|
||||
art)
|
||||
if [[ " ${TERMINAL_NO_ART[@]} " =~ " ${CURRENT_TERMINAL} " ]]; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
function _load_compinit() {
|
||||
# Initialize completions with optimized performance
|
||||
autoload -Uz compinit
|
||||
|
||||
# Enable extended glob for the qualifier to work
|
||||
setopt EXTENDED_GLOB
|
||||
|
||||
# Fastest - use glob qualifiers on directory pattern
|
||||
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+${HYDE_ZSH_COMPINIT_CHECK:-1}) ]]; then
|
||||
compinit
|
||||
else
|
||||
compinit -C
|
||||
fi
|
||||
|
||||
_comp_options+=(globdots) # tab complete hidden files
|
||||
}
|
||||
|
||||
function _load_prompt() {
|
||||
# Try to load prompts immediately
|
||||
if ! source ${ZDOTDIR}/prompt.zsh >/dev/null 2>&1; then
|
||||
[[ -f $ZDOTDIR/conf.d/hyde/prompt.zsh ]] && source $ZDOTDIR/conf.d/hyde/prompt.zsh
|
||||
fi
|
||||
}
|
||||
|
||||
# Override this environment variable in ~/.zshrc
|
||||
# cleaning up home folder
|
||||
# ZSH Plugin Configuration
|
||||
|
||||
HYDE_ZSH_DEFER="1" #Unset this variable in $ZDOTDIR/user.zsh to disable HyDE's deferred Zsh loading.
|
||||
HYDE_ZSH_PROMPT="1" #Unset this variable in $ZDOTDIR/user.zsh to disable HyDE's prompt customization.
|
||||
HYDE_ZSH_NO_PLUGINS="0" #Set this variable to "1" in $ZDOTDIR/user.zsh to disable HyDE's Zsh plugin loading.
|
||||
|
||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||
|
||||
# # History configuration
|
||||
HISTFILE=${HISTFILE:-$ZDOTDIR/.zsh_history}
|
||||
if [[ -f $HOME/.zsh_history ]] && [[ ! -f $HISTFILE ]]; then
|
||||
echo "Please manually move $HOME/.zsh_history to $HISTFILE"
|
||||
echo "Or move it somewhere else to avoid conflicts"
|
||||
fi
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
|
||||
export HISTFILE ZSH_AUTOSUGGEST_STRATEGY HISTSIZE SAVEHIST
|
||||
|
||||
# HyDE Package Manager
|
||||
PM_COMMAND=(hyde-shell pm)
|
||||
|
||||
# Optionally load user configuration // useful for customizing the shell without modifying the main file
|
||||
if [[ -f $HOME/.hyde.zshrc ]]; then
|
||||
source $HOME/.hyde.zshrc # for backward compatibility
|
||||
elif [[ -f $HOME/.user.zsh ]]; then
|
||||
source $HOME/.user.zsh # renamed to .user.zsh for intuitiveness that it is a user config
|
||||
elif [[ -f $ZDOTDIR/user.zsh ]]; then
|
||||
source $ZDOTDIR/user.zsh
|
||||
fi
|
||||
|
||||
_load_compinit
|
||||
|
||||
if [[ ${HYDE_ZSH_NO_PLUGINS} != "1" ]]; then
|
||||
_dedup_zsh_plugins
|
||||
if [[ "$HYDE_ZSH_OMZ_DEFER" == "1" ]] && [[ -r $ZSH/oh-my-zsh.sh ]]; then
|
||||
# Loads the buggy deferred oh-my-zsh plugin system by HyDE // This is only for oh-my-zsh and compatibility
|
||||
_load_deferred_plugin_system_by_hyde
|
||||
_load_prompt # This disables transient prompts sadly
|
||||
elif source $ZDOTDIR/plugin.zsh >/dev/null 2>&1; then
|
||||
# Load plugins from the user's plugin.zsh file
|
||||
# This is useful for users who want to use their own plugin system
|
||||
source $ZDOTDIR/plugin.zsh
|
||||
_load_prompt
|
||||
_load_functions
|
||||
_load_completions
|
||||
elif [[ -r $ZSH/oh-my-zsh.sh ]]; then
|
||||
# Load oh-my-zsh if it exists in the ZSH directory
|
||||
# Default if the $ZDOTDIR/plugin.zsh file does not exist or returns an error
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
_load_prompt
|
||||
_load_functions
|
||||
_load_completions
|
||||
else
|
||||
echo "No plugin system found. Please install a plugin system or create a $ZDOTDIR/plugin.zsh file."
|
||||
echo "You can use $ZDOTDIR/plugin.zsh file to load your own plugins."
|
||||
fi
|
||||
else
|
||||
# Load user plugins if they exist
|
||||
# Assumes user has a plugin.zsh file in their $ZDOTDIR
|
||||
[[ -r $ZDOTDIR/plugin.zsh ]] && source $ZDOTDIR/plugin.zsh
|
||||
_load_prompt
|
||||
_load_functions
|
||||
_load_completions
|
||||
fi
|
||||
|
||||
__package_manager () {
|
||||
${PM_COMMAND[@]} "$@"
|
||||
}
|
||||
|
||||
alias c='clear' \
|
||||
in='__package_manager install' \
|
||||
un='__package_manager remove' \
|
||||
up='__package_manager upgrade' \
|
||||
pl='__package_manager search installed' \
|
||||
pa='__package_manager search all' \
|
||||
vc='code' \
|
||||
fastfetch='fastfetch --logo-type kitty' \
|
||||
..='cd ..' \
|
||||
...='cd ../..' \
|
||||
.3='cd ../../..' \
|
||||
.4='cd ../../../..' \
|
||||
.5='cd ../../../../..' \
|
||||
mkdir='mkdir -p'
|
||||
|
||||
|
5
.config/zsh/functions/bat.zsh
Normal file
5
.config/zsh/functions/bat.zsh
Normal file
@@ -0,0 +1,5 @@
|
||||
if command -v "bat" &>/dev/null; then
|
||||
#! alias -g -- h='-h 2>&1 | bat --language=help --style=plain --paging=never --color always' # <--- this is discouraged! This conflicts with posix -h test operator
|
||||
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain --paging=never --color always'
|
||||
alias cat='bat --style=plain --paging=never --color auto'
|
||||
fi
|
77
.config/zsh/functions/error-handlers.zsh
Normal file
77
.config/zsh/functions/error-handlers.zsh
Normal file
@@ -0,0 +1,77 @@
|
||||
function command_not_found_handler {
|
||||
local purple='\e[1;35m' bright='\e[0;1m' green='\e[1;32m' reset='\e[0m'
|
||||
printf "${green}zsh${reset}: command ${purple}NOT${reset} found: ${bright}'%s'${reset}\n" "$1"
|
||||
|
||||
if ! ${PM_COMMAND[@]} -h &>/dev/null; then
|
||||
return 127
|
||||
fi
|
||||
|
||||
printf "${bright}Searching for packages that provide '${bright}%s${green}'...\n${reset}" "${1}"
|
||||
|
||||
if ! "${PM_COMMAND[@]}" fq "/usr/bin/$1"; then
|
||||
printf "${bright}${green}[ ${1} ]${reset} ${purple}NOT${reset} found in the system and no package provides it.\n"
|
||||
return 127
|
||||
else
|
||||
printf "${green}[ ${1} ] ${reset} might be provided by the above packages.\n"
|
||||
for entry in $entries; do
|
||||
# Assuming the entry already has ANSI color codes, we don't add more colors
|
||||
printf " %s\n" "${entry}"
|
||||
done
|
||||
|
||||
fi
|
||||
return 127
|
||||
}
|
||||
|
||||
# Function to display a slow load warning
|
||||
# the intention is for hyprdots users who might have multiple zsh initialization
|
||||
function _slow_load_warning {
|
||||
local lock_file="/tmp/.hyde_slow_load_warning.lock"
|
||||
local load_time=$SECONDS
|
||||
|
||||
# Check if the lock file exists
|
||||
if [[ ! -f $lock_file ]]; then
|
||||
# Create the lock file
|
||||
touch $lock_file
|
||||
|
||||
# Display the warning if load time exceeds the limit
|
||||
time_limit=3
|
||||
if ((load_time > time_limit)); then
|
||||
cat <<EOF
|
||||
⚠️ Warning: Shell startup took more than ${time_limit} seconds. Consider optimizing your configuration.
|
||||
1. This might be due to slow plugins, slow initialization scripts.
|
||||
2. Duplicate plugins initialization.
|
||||
- navigate to ~/.zshrc and remove any 'source ZSH/oh-my-zsh.sh' or
|
||||
'source ~/.oh-my-zsh/oh-my-zsh.sh' lines.
|
||||
- HyDE already sources the oh-my-zsh.sh file for you.
|
||||
- It is important to remove all HyDE related
|
||||
configurations from your .zshrc file as HyDE will handle it for you.
|
||||
- Check the '.zshrc' file from the repo for a clean configuration.
|
||||
https://github.com/HyDE-Project/HyDE/blob/master/Configs/.zshrc
|
||||
3. Check the '~/.user.zsh' file for any slow initialization scripts.
|
||||
|
||||
For more information, on the possible causes of slow shell startup, see:
|
||||
🌐 https://github.com/HyDE-Project/HyDE/wiki
|
||||
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to handle initialization errors
|
||||
function handle_init_error {
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Error during initialization. Please check your configuration."
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function no_such_file_or_directory_handler {
|
||||
local red='\e[1;31m' reset='\e[0m'
|
||||
printf "${red}zsh: no such file or directory: %s${reset}\n" "$1"
|
||||
return 127
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------
|
||||
|
||||
# # Warn if the shell is slow to load
|
||||
# add-zsh-hook -Uz precmd _slow_load_warning #! try to not use for now as we already move zshrc
|
6
.config/zsh/functions/eza.zsh
Normal file
6
.config/zsh/functions/eza.zsh
Normal file
@@ -0,0 +1,6 @@
|
||||
if command -v "eza" &>/dev/null; then
|
||||
alias l='eza -lh --icons=auto' \
|
||||
ll='eza -lha --icons=auto --sort=name --group-directories-first' \
|
||||
ld='eza -lhD --icons=auto' \
|
||||
lt='eza --icons=auto --tree'
|
||||
fi
|
119
.config/zsh/functions/fzf.zsh
Normal file
119
.config/zsh/functions/fzf.zsh
Normal file
@@ -0,0 +1,119 @@
|
||||
# best fzf aliases ever
|
||||
_fuzzy_change_directory() {
|
||||
local initial_query="$1"
|
||||
local selected_dir
|
||||
local fzf_options=('--preview=ls -p {}' '--preview-window=right:60%')
|
||||
fzf_options+=(--height "80%" --layout=reverse --preview-window right:60% --cycle)
|
||||
local max_depth=7
|
||||
|
||||
if [[ -n "$initial_query" ]]; then
|
||||
fzf_options+=("--query=$initial_query")
|
||||
fi
|
||||
|
||||
#type -d
|
||||
selected_dir=$(find . -maxdepth $max_depth \( -name .git -o -name node_modules -o -name .venv -o -name target -o -name .cache \) -prune -o -type d -print 2>/dev/null | fzf "${fzf_options[@]}")
|
||||
|
||||
if [[ -n "$selected_dir" && -d "$selected_dir" ]]; then
|
||||
cd "$selected_dir" || return 1
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
_fuzzy_edit_search_file_content() {
|
||||
# [f]uzzy [e]dit [s]earch [f]ile [c]ontent
|
||||
local selected_file
|
||||
local fzf_options=()
|
||||
local preview_cmd
|
||||
if command -v "bat" &>/dev/null; then
|
||||
preview_cmd=('bat --color always --style=plain --paging=never {}')
|
||||
else
|
||||
preview_cmd=('cat {}')
|
||||
fi
|
||||
fzf_options+=(--height "80%" --layout=reverse --cycle --preview-window right:60% --preview ${preview_cmd[@]})
|
||||
selected_file=$(grep -irl "${1:-}" ./ | fzf "${fzf_options[@]}")
|
||||
|
||||
if [[ -n "$selected_file" ]]; then
|
||||
if command -v "$EDITOR" &>/dev/null; then
|
||||
"$EDITOR" "$selected_file"
|
||||
else
|
||||
echo "EDITOR is not specified. using vim. (you can export EDITOR in ~/.zshrc)"
|
||||
vim "$selected_file"
|
||||
fi
|
||||
|
||||
else
|
||||
echo "No file selected or search returned no results."
|
||||
fi
|
||||
}
|
||||
|
||||
_fuzzy_edit_search_file() {
|
||||
local initial_query="$1"
|
||||
local selected_file
|
||||
local fzf_options=()
|
||||
fzf_options+=(--height "80%" --layout=reverse --preview-window right:60% --cycle)
|
||||
local max_depth=5
|
||||
|
||||
if [[ -n "$initial_query" ]]; then
|
||||
fzf_options+=("--query=$initial_query")
|
||||
fi
|
||||
|
||||
# -type f: only find files
|
||||
selected_file=$(find . -maxdepth $max_depth -type f 2>/dev/null | fzf "${fzf_options[@]}")
|
||||
|
||||
if [[ -n "$selected_file" && -f "$selected_file" ]]; then
|
||||
if command -v "$EDITOR" &>/dev/null; then
|
||||
"$EDITOR" "$selected_file"
|
||||
else
|
||||
echo "EDITOR is not specified. using vim. (you can export EDITOR in ~/.zshrc)"
|
||||
vim "$selected_file"
|
||||
fi
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
_fuzzy_search_cmd_history() {
|
||||
local selected
|
||||
setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases noglob nobash_rematch 2> /dev/null
|
||||
|
||||
local fzf_query=""
|
||||
if [[ -n "$1" ]]; then
|
||||
fzf_query="--query=${(qqq)1}"
|
||||
else
|
||||
fzf_query="--query=${(qqq)LBUFFER}"
|
||||
fi
|
||||
|
||||
if zmodload -F zsh/parameter p:{commands,history} 2>/dev/null && (( ${+commands[perl]} )); then
|
||||
selected="$(printf '%s\t%s\000' "${(kv)history[@]}" |
|
||||
perl -0 -ne 'if (!$seen{(/^\s*[0-9]+\**\t(.*)/s, $1)}++) { s/\n/\n\t/g; print; }' |
|
||||
FZF_DEFAULT_OPTS=$(__fzf_defaults "" "-n2..,.. --scheme=history --bind=ctrl-r:toggle-sort --wrap-sign '\t↳ ' --highlight-line ${FZF_CTRL_R_OPTS-} $fzf_query +m --read0") \
|
||||
FZF_DEFAULT_OPTS_FILE='' $(__fzfcmd))"
|
||||
else
|
||||
selected="$(fc -rl 1 | __fzf_exec_awk '{ cmd=$0; sub(/^[ \t]*[0-9]+\**[ \t]+/, "", cmd); if (!seen[cmd]++) print $0 }' |
|
||||
FZF_DEFAULT_OPTS=$(__fzf_defaults "" "-n2..,.. --scheme=history --bind=ctrl-r:toggle-sort --wrap-sign '\t↳ ' --highlight-line ${FZF_CTRL_R_OPTS-} $fzf_query +m") \
|
||||
FZF_DEFAULT_OPTS_FILE='' $(__fzfcmd))"
|
||||
fi
|
||||
local ret=$?
|
||||
if [ -n "$selected" ]; then
|
||||
if [[ $(__fzf_exec_awk '{print $1; exit}' <<< "$selected") =~ ^[1-9][0-9]* ]]; then
|
||||
zle vi-fetch-history -n $MATCH
|
||||
else
|
||||
LBUFFER="$selected"
|
||||
fi
|
||||
fi
|
||||
return $ret
|
||||
}
|
||||
|
||||
|
||||
|
||||
alias ffec='_fuzzy_edit_search_file_content' \
|
||||
ffcd='_fuzzy_change_directory' \
|
||||
ffe='_fuzzy_edit_search_file' \
|
||||
ffch='_fuzzy_search_cmd_history'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
35
.config/zsh/user.zsh
Normal file
35
.config/zsh/user.zsh
Normal file
@@ -0,0 +1,35 @@
|
||||
# Startup
|
||||
# Commands to execute on startup (before the prompt is shown)
|
||||
# Check if the interactive shell option is set
|
||||
if [[ $- == *i* ]]; then
|
||||
# This is a good place to load graphic/ascii art, display system information, etc.
|
||||
if command -v pokego >/dev/null; then
|
||||
pokego --no-title -r 1,3,6
|
||||
elif command -v pokemon-colorscripts >/dev/null; then
|
||||
pokemon-colorscripts --no-title -r 1,3,6
|
||||
elif command -v fastfetch >/dev/null; then
|
||||
if do_render "image"; then
|
||||
fastfetch --logo-type kitty
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Plugins
|
||||
# manually add your oh-my-zsh plugins here
|
||||
plugins=(
|
||||
"sudo"
|
||||
)
|
||||
|
||||
# Overrides
|
||||
# unset HYDE_ZSH_NO_PLUGINS # Set to 1 to disable loading of oh-my-zsh plugins, useful if you want to use your zsh plugins system
|
||||
# unset HYDE_ZSH_PROMPT # Uncomment to unset/disable loading of prompts from HyDE and let you load your own prompts
|
||||
# HYDE_ZSH_COMPINIT_CHECK=1 # Set 24 (hours) per compinit security check // lessens startup time
|
||||
# HYDE_ZSH_OMZ_DEFER=1 # Set to 1 to defer loading of oh-my-zsh plugins ONLY if prompt is already loaded
|
||||
|
||||
# Aliases
|
||||
# alias l='eza -1h --icons=auto --sort=name --group-directories-first' # long list
|
||||
# alias ls='eza -l --icons=auto --sort=name --group-directories-first' # short list
|
||||
# alias ll='eza -lha --icons=auto --sort=name --group-directories-first' # long list all
|
||||
# alias дд='eza -lha --icons=auto --sort=name --group-directories-first' # sometimes i forget to change keyboard layout
|
||||
# alias startwayvnc='wayvnc 100.108.196.99 > /dev/null 2>&1 & | disown'
|
||||
# alias killwayvnc='killall wayvnc'
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.config/nvim/lua/chadrc.lua
|
||||
.zcomp*
|
||||
.zsh_history*
|
10
.tmux.conf
10
.tmux.conf
@@ -1,9 +1,17 @@
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
set -g allow-passthrough on
|
||||
set-option -g allow-passthrough on
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
bind-key -T copy-mode-vi v send -X begin-selection
|
||||
bind-key -T copy-mode-vi V send -X select-line
|
||||
set -s copy-command 'xclip -in -selection clipboard'
|
||||
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
1
.tmux/plugins/tmux-resurrect
Submodule
1
.tmux/plugins/tmux-resurrect
Submodule
Submodule .tmux/plugins/tmux-resurrect added at cff343cf9e
1
.tmux/plugins/tmux-sensible
Submodule
1
.tmux/plugins/tmux-sensible
Submodule
Submodule .tmux/plugins/tmux-sensible added at 25cb91f42d
1
.tmux/plugins/tpm
Submodule
1
.tmux/plugins/tpm
Submodule
Submodule .tmux/plugins/tpm added at 99469c4a9b
9
.zshenv
Normal file
9
.zshenv
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export ZDOTDIR="${ZDOTDIR:-$XDG_CONFIG_HOME/zsh}"
|
||||
|
||||
if ! source $ZDOTDIR/.zshenv; then
|
||||
echo "FATAL Error: Could not source $ZDOTDIR/.zshenv"
|
||||
return 1
|
||||
fi
|
148
.zshrc
148
.zshrc
@@ -1,148 +0,0 @@
|
||||
# Enable Powerlevel10k instant prompt
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
ZSH=/usr/share/oh-my-zsh/
|
||||
|
||||
# Path to powerlevel10k theme
|
||||
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# List of plugins used
|
||||
plugins=( git sudo zsh-256color zsh-autosuggestions zsh-syntax-highlighting )
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# In case a command is not found, try to find the package that has it
|
||||
function command_not_found_handler {
|
||||
local purple='\e[1;35m' bright='\e[0;1m' green='\e[1;32m' reset='\e[0m'
|
||||
printf 'zsh: command not found: %s\n' "$1"
|
||||
local entries=( ${(f)"$(/usr/bin/pacman -F --machinereadable -- "/usr/bin/$1")"} )
|
||||
if (( ${#entries[@]} )) ; then
|
||||
printf "${bright}$1${reset} may be found in the following packages:\n"
|
||||
local pkg
|
||||
for entry in "${entries[@]}" ; do
|
||||
local fields=( ${(0)entry} )
|
||||
if [[ "$pkg" != "${fields[2]}" ]] ; then
|
||||
printf "${purple}%s/${bright}%s ${green}%s${reset}\n" "${fields[1]}" "${fields[2]}" "${fields[3]}"
|
||||
fi
|
||||
printf ' /%s\n' "${fields[4]}"
|
||||
pkg="${fields[2]}"
|
||||
done
|
||||
fi
|
||||
return 127
|
||||
}
|
||||
|
||||
# Detect the AUR wrapper
|
||||
if pacman -Qi yay &>/dev/null ; then
|
||||
aurhelper="yay"
|
||||
elif pacman -Qi paru &>/dev/null ; then
|
||||
aurhelper="paru"
|
||||
fi
|
||||
|
||||
# Cache AUR helper detection
|
||||
if [[ -z "$aurhelper" ]]; then
|
||||
if command -v yay >/dev/null 2>&1; then
|
||||
export aurhelper="yay"
|
||||
elif command -v paru >/dev/null 2>&1; then
|
||||
export aurhelper="paru"
|
||||
fi
|
||||
fi
|
||||
|
||||
function in {
|
||||
local -a inPkg=("$@")
|
||||
local -a arch=()
|
||||
local -a aur=()
|
||||
|
||||
for pkg in "${inPkg[@]}"; do
|
||||
if pacman -Si "${pkg}" &>/dev/null ; then
|
||||
arch+=("${pkg}")
|
||||
else
|
||||
aur+=("${pkg}")
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${#arch[@]} -gt 0 ]]; then
|
||||
sudo pacman -S "${arch[@]}"
|
||||
fi
|
||||
|
||||
if [[ ${#aur[@]} -gt 0 ]]; then
|
||||
${aurhelper} -S "${aur[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
# Helpful aliases
|
||||
alias c='clear' # clear terminal
|
||||
alias l='eza -1h --icons=auto --sort=name --group-directories-first' # long list
|
||||
alias ls='eza -l --icons=auto --sort=name --group-directories-first' # short list
|
||||
alias ll='eza -lha --icons=auto --sort=name --group-directories-first' # long list all
|
||||
alias дд='eza -lha --icons=auto --sort=name --group-directories-first' # sometimes i forget to change keyboard layout
|
||||
alias lt='eza --icons=auto --tree' # list folder as tree
|
||||
alias un='$aurhelper -Rns' # uninstall package
|
||||
alias up='$aurhelper -Syu' # update system/package/aur
|
||||
alias pl='$aurhelper -Qs' # list installed package
|
||||
alias pa='$aurhelper -Ss' # list available package
|
||||
alias pc='$aurhelper -Sc' # remove unused cache
|
||||
alias po='$aurhelper -Qtdq | $aurhelper -Rns -' # remove unused packages, also try > $aurhelper -Qqd | $aurhelper -Rsu --print -
|
||||
alias icat='kitten icat' # display images in terminal
|
||||
alias ssh='kitten ssh' # functional ssh with kitty
|
||||
alias snv='sudo -E nvim' # sudo nvim
|
||||
alias nv='nvim'
|
||||
alias ff='fastfetch'
|
||||
alias pi='ssh omoelle'
|
||||
alias pi-mount='sshfs omoelle:/home/elleoma ~/mnt && cd ~/mnt'
|
||||
alias cat='bat --paging=never'
|
||||
alias wifi="nmcli d wifi show-password | grep 'Password' | awk -F': ' '{ print \$2 }'"
|
||||
alias pivpn="wg-quick up laptop"
|
||||
alias config='git --git-dir=/home/elleoma/.config --work-tree=/home/elleoma'
|
||||
|
||||
# git aliases
|
||||
alias gs='git status '
|
||||
alias ga='git add '
|
||||
alias gb='git branch '
|
||||
alias gc='git commit'
|
||||
alias gd='git diff'
|
||||
alias gco='git checkout '
|
||||
alias gk='gitk --all&'
|
||||
alias gx='gitx --all'
|
||||
alias got='git '
|
||||
alias get='git '
|
||||
alias gut='git '
|
||||
|
||||
|
||||
# Handy change dir shortcuts
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
alias .3='cd ../../..'
|
||||
alias .4='cd ../../../..'
|
||||
alias .5='cd ../../../../..'
|
||||
|
||||
# Alias for cross-compile to windows
|
||||
#alias x86_64-w64-mingw32-g++='mingw'
|
||||
|
||||
# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
|
||||
alias mkdir='mkdir -p'
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# Syntax highlighting for man pages
|
||||
export MANPAGER='nvim +Man!'
|
||||
|
||||
# Setting Ruby path
|
||||
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
||||
export PATH="$PATH:$GEM_HOME/bin"
|
||||
|
||||
# Created by `pipx` on 2025-02-01 15:08:39
|
||||
export PATH="$PATH:/home/elleoma/.local/bin"
|
||||
|
||||
# Setting up Rust
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
export PATH=~/.npm-global/bin:$PATH
|
||||
|
||||
# go binaries path
|
||||
export PATH=~/go/bin:$PATH
|
Reference in New Issue
Block a user