This commit is contained in:
Lian Drake 2024-03-09 11:36:29 -04:00
parent 3f550e7d59
commit 52c78907fc
58965 changed files with 128 additions and 382896 deletions

View file

@ -1,10 +1,3 @@
## ____ __
## / __ \_________ _/ /_____
## / / / / ___/ __ `/ //_/ _ \
## / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake)
## /_____/_/ \__,_/_/|_|\___/ My custom bash config
##
### EXPORT ### ### EXPORT ###
export TERM="xterm-256color" # getting proper colors export TERM="xterm-256color" # getting proper colors
export HISTCONTROL=ignoredups:erasedups # no duplicate entries export HISTCONTROL=ignoredups:erasedups # no duplicate entries
@ -232,77 +225,5 @@ alias \
wfi-off="nmcli radio wifi off" \ wfi-off="nmcli radio wifi off" \
blt="bluetoothctl" blt="bluetoothctl"
# get current branch in git repo # starship prompt
function parse_git_branch() { eval "$(starship init bash)"
BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
if [ ! "${BRANCH}" == "" ]; then
STAT=$(parse_git_dirty)
echo "[${BRANCH}${STAT}]"
else
echo ""
fi
}
# get current branch in git repo
function parse_git_branch() {
BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
if [ ! "${BRANCH}" == "" ]; then
STAT=$(parse_git_dirty)
echo "[${BRANCH}${STAT}]"
else
echo ""
fi
}
# get current status of git repo
function parse_git_dirty {
status=$(git status 2>&1 | tee)
dirty=$(echo -n "${status}" 2> /dev/null | grep "modified:" &> /dev/null; echo "$?")
untracked=$(echo -n "${status}" 2> /dev/null | grep "Untracked files" &> /dev/null; echo "$?")
ahead=$(echo -n "${status}" 2> /dev/null | grep "Your branch is ahead of" &> /dev/null; echo "$?")
newfile=$(echo -n "${status}" 2> /dev/null | grep "new file:" &> /dev/null; echo "$?")
renamed=$(echo -n "${status}" 2> /dev/null | grep "renamed:" &> /dev/null; echo "$?")
deleted=$(echo -n "${status}" 2> /dev/null | grep "deleted:" &> /dev/null; echo "$?")
bits=''
if [ "${renamed}" == "0" ]; then
bits=">${bits}"
fi
if [ "${ahead}" == "0" ]; then
bits="*${bits}"
fi
if [ "${newfile}" == "0" ]; then
bits="+${bits}"
fi
if [ "${untracked}" == "0" ]; then
bits="?${bits}"
fi
if [ "${deleted}" == "0" ]; then
bits="x${bits}"
fi
if [ "${dirty}" == "0" ]; then
bits="!${bits}"
fi
if [ ! "${bits}" == "" ]; then
echo " ${bits}"
else
echo ""
fi
}
export PS1="[\[\e[31m\]\u\[\e[m\]\[\e[35m\]@\[\e[m\]\[\e[32m\]\h\[\e[m\]] [\[\e[33m\]\W\[\e[m\]\[\e[34m\]\`parse_git_branch\`\[\e[m\]] 󱞪 "
export GOOGLE_AI_KEY='AIzaSyDpCP3jEM5Q08OEIcGdIBr8XxwIhaK5TGw'
export GOOGLE_AI_KEY='AIzaSyDpCP3jEM5Q08OEIcGdIBr8XxwIhaK5TGw'
export GOOGLE_AI_KEY='drwxr-xr-x@ - drk  7 Mar 10:51 .cache'
export GOOGLE_AI_KEY='drwxr-xr-x@ - drk  7 Mar 10:51 .cache'
export GOOGLE_AI_KEY='AIzaSyDpCP3jEM5Q08OEIcGdIBr8XxwIhaK5TGw'
export GOOGLE_AI_KEY='AIzaSyDpCP3jEM5Q08OEIcGdIBr8XxwIhaK5TGw'
export GOOGLE_AI_KEY='AIzaSyDpCP3jEM5Q08OEIcGdIBr8XxwIhaK5TGw'
export GOOGLE_AI_KEY='AIzaSyDpCP3jEM5Q08OEIcGdIBr8XxwIhaK5TGw'

View file

@ -231,3 +231,4 @@ alias blt='bluetoothctl'
### SETTING THE STARSHIP PROMPT ### ### SETTING THE STARSHIP PROMPT ###
starship init fish | source starship init fish | source
zoxide init fish | source

View file

@ -1,6 +1,6 @@
gtk-theme-name="gruvbox-dark-gtk" gtk-theme-name="Gruvbox-Dark-BL"
gtk-icon-theme-name="gruvbox-dark-icons-gtk" gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="Cantarell 10" gtk-font-name="Mononoki Nerd Font 12"
gtk-cursor-theme-name="Simp1e-Gruvbox-Dark" gtk-cursor-theme-name="Simp1e-Gruvbox-Dark"
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH

View file

View file

@ -1,7 +1,7 @@
[Settings] [Settings]
gtk-theme-name=gruvbox-dark-gtk gtk-theme-name=Gruvbox-Dark-BL
gtk-icon-theme-name=gruvbox-dark-icons-gtk gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Cantarell 10 gtk-font-name=Mononoki Nerd Font 12
gtk-cursor-theme-name=Simp1e-Gruvbox-Dark gtk-cursor-theme-name=Simp1e-Gruvbox-Dark
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH

View file

@ -15,6 +15,6 @@ animations {
animation = windowsMove, 1, 5, wind, slide animation = windowsMove, 1, 5, wind, slide
animation = fadeIn, 1, 2, winIn animation = fadeIn, 1, 2, winIn
animation = fadeOut, 1, 5, winOut animation = fadeOut, 1, 5, winOut
animation = workspaces, 1, 3, workIn animation = workspaces, 1, 3, workIn, slidevert
animation = specialWorkspace, 1, 5, workIn animation = specialWorkspace, 1, 5, workIn, slidevert
} }

View file

@ -12,7 +12,7 @@ bind = $supMod, q, killactive # kill active window
bind = $supMod_$conMod_SHIFT, q, exit # exit the compositor bind = $supMod_$conMod_SHIFT, q, exit # exit the compositor
bind = $supMod, b, exec, pkill waybar || waybar # hide/show bar bind = $supMod, b, exec, pkill waybar || waybar # hide/show bar
bind = $supMod, f, togglefloating # toggle floating mode bind = $supMod, f, togglefloating # toggle floating mode
bind = $supMod, v, fullscreen, 0 # toggle fullscreen mode bind = $supMod_SHIFT, f, fullscreen, 0 # toggle fullscreen mode
# focus binds # focus binds
bind = $supMod, k, layoutmsg, cyclenext # focus next window bind = $supMod, k, layoutmsg, cyclenext # focus next window
@ -60,11 +60,11 @@ bind = $supMod_SHIFT, 0, movetoworkspace, 10 # move active window to
bind = $supMod, mouse_down, workspace, e+1 # move to next workspace with mouse wheel bind = $supMod, mouse_down, workspace, e+1 # move to next workspace with mouse wheel
bind = $supMod, mouse_up, workspace, e-1 # move to previous workspace with mouse wheel bind = $supMod, mouse_up, workspace, e-1 # move to previous workspace with mouse wheel
bind = $supMod, Right, workspace, e+1 # move to next workspace with right cursor key bind = $supMod, Down, workspace, e+1 # move to next workspace with down cursor key
bind = $supMod, Left, workspace, e-1 # move to previous workspace with left cursor key bind = $supMod, Up, workspace, e-1 # move to previous workspace with up cursor key
bind = $supMod_SHIFT, Right, movetoworkspace, e+1 # move active window to next workspace with right cursor key bind = $supMod_SHIFT, Down, movetoworkspace, e+1 # move active window to next workspace with down cursor key
bind = $supMod_SHIFT, Left, movetoworkspace, e-1 # move active window to previous workspace with left cursor key bind = $supMod_SHIFT, Up, movetoworkspace, e-1 # move active window to previous workspace with up cursor key
# common binds # common binds
bindl=, XF86AudioRaiseVolume, exec, pamixer -i 5 # increase volume by 5% bindl=, XF86AudioRaiseVolume, exec, pamixer -i 5 # increase volume by 5%

View file

@ -8,7 +8,7 @@ env = XCURSOR_SIZE,16
exec = hyprctl setcursor Simp1e-Gruvbox-Dark 16 exec = hyprctl setcursor Simp1e-Gruvbox-Dark 16
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Simp1e-Gruvbox-Dark' exec = gsettings set org.gnome.desktop.interface cursor-theme 'Simp1e-Gruvbox-Dark'
exec = gsettings set org.gnome.desktop.interface cursor-size 16 exec = gsettings set org.gnome.desktop.interface cursor-size 16
exec = gsettings set org.gnome.desktop.interface icon-theme 'gruvbox-dark-icons-gtk' exec = gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Gruvbox-Dark-BL' exec = gsettings set org.gnome.desktop.interface gtk-theme 'Gruvbox-Dark-BL'
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

View file

@ -1,6 +1,5 @@
{ {
"position": "top", "position": "left",
"height": 41,
"spacing": 3, "spacing": 3,
"layer": "top", "layer": "top",
@ -33,20 +32,31 @@
}, },
"hyprland/language": { "hyprland/language": {
"format": "{} \udb80\udf0c", "format": "{}",
"format-en": "US", "format-en": "US",
"format-es": "ES", "format-es": "ES",
}, },
"clock": { "clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "\udb82\udd54 {:%H:%M}", "format": "{:%H\n--\n%M}",
"format-alt": "\udb80\udcf5 {:%Y-%m-%d}" "format-alt": "{:%y\n--\n%m\n--\n%d}"
}, },
"backlight": { "backlight": {
"format": "{percent}% {icon}", "format": "{icon}",
"format-icons": ["\udb86\ude4e", "\udb86\ude4f", "\udb86\ude50", "\udb86\ude51", "\udb86\ude52", "\udb86\ude53", "\udb86\ude54", "\udb86\ude55", "\udb81\udee8"] "format-icons": [
"\udb86\ude4e",
"\udb86\ude4f",
"\udb86\ude50",
"\udb86\ude51",
"\udb86\ude52",
"\udb86\ude53",
"\udb86\ude54",
"\udb86\ude55",
"\udb81\udee8"
],
"tooltip-format": "{percent}%"
}, },
"battery": { "battery": {
@ -54,13 +64,19 @@
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "{capacity}% {icon}", "format": "{icon}",
"format-charging": "{capacity}% {icon}\udb81\udea5", "format-charging": "{icon}\n\n\udb81\udea5",
"format-plugged": "{capacity}% {icon}\udb81\udea5", "format-plugged": "{icon}\n\n\udb81\udea5",
"format-alt": "{time} {icon}", "format-critical": "{icon}\n\n\udb84\ude38",
"format-critical": "{capacity}% {icon}\udb84\ude38", "format-warning": "{icon}\n\n\udb84\ude38",
"format-warning": "{capacity}% {icon}\udb84\ude38", "format-icons": [
"format-icons": ["\udb80\udc7a", "\udb80\udc7c", "\udb80\udc7e", "\udb80\udc80", "\udb80\udc79"] "\udb80\udc7a",
"\udb80\udc7c",
"\udb80\udc7e",
"\udb80\udc80",
"\udb80\udc79"
],
"tooltip-format": "{capacity}% - {timeTo}"
}, },
"custom/powerprofiles": { "custom/powerprofiles": {
@ -70,12 +86,12 @@
}, },
"pulseaudio": { "pulseaudio": {
"scroll-step": 1, // %, can be a float "scroll-step": 5, // %, can be a float
"format": "{volume}% {icon} {format_source}", "format": "{icon}\n\n{format_source}",
"format-bluetooth": "{volume}% {icon}\udb80\udcaf {format_source}", "format-bluetooth": "{icon}\n\n\udb80\udcaf\n\n{format_source}",
"format-bluetooth-muted": "\udb81\udd81 {icon}\udb80\udcaf {format_source}", "format-bluetooth-muted": "\udb81\udd81\n\n{icon}\n\n\udb80\udcaf\n\n{format_source}",
"format-muted": "\udb81\udd81 {format_source}", "format-muted": "\udb81\udd81\n\n{format_source}",
"format-source": "{volume}% \udb80\udf6c", "format-source": "\udb80\udf6c",
"format-source-muted": "\udb80\udf6d", "format-source-muted": "\udb80\udf6d",
"format-icons": { "format-icons": {
"headphone": "\udb80\udecb", "headphone": "\udb80\udecb",
@ -86,15 +102,15 @@
"car": "\udb80\udd0b", "car": "\udb80\udd0b",
"default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"] "default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"]
}, },
"on-click": "wezterm start --class pulsemixer -- pulsemixer" "tooltip-format": "{volume}% - {desc}",
"on-click": "pavucontrol"
}, },
"network": { "network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "\udb81\udda9",
"format-wifi": "{essid} \udb81\udda9", "format-ethernet": "\udb80\ude00",
"format-ethernet": "{ipaddr}/{cidr} \udb80\ude00", "format-disconnected": "\udb81\uddaa",
"format-disconnected": "Disconnected \udb81\uddaa", "tooltip-format": "{signalStrength}% - {essid}"
"format-alt": "{ifname}: {ipaddr}/{cidr}"
}, },
} }

View file

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
currntpwr=$(powerprofilesctl get) currntpwr=$(powerprofilesctl get)
if [ "${currntpwr}" = "performance" ]; then if [ "${currntpwr}" = "performance" ]; then
pwr="Performance 󰓅" pwr="󰓅"
elif [ "${currntpwr}" = "balanced" ]; then elif [ "${currntpwr}" = "balanced" ]; then
pwr="Balanced 󰾅" pwr="󰾅"
elif [ "${currntpwr}" = "power-saver" ]; then elif [ "${currntpwr}" = "power-saver" ]; then
pwr="PowerSaver 󰾆" pwr="󰾆"
fi fi
echo "$pwr" echo "$pwr"

View file

@ -80,7 +80,7 @@ button:hover {
#mode { #mode {
font-family: Symbols Nerd Font Mono, mononoki Nerd Font; font-family: Symbols Nerd Font Mono, mononoki Nerd Font;
font-size: 16px; font-size: 16px;
padding: 0 8px; padding: 8 6px;
color: #ebdbb2; color: #ebdbb2;
} }

View file

@ -1 +0,0 @@
sb_v_double_arrow

View file

@ -1 +0,0 @@
sb_v_double_arrow

View file

@ -1 +0,0 @@
sb_v_double_arrow

View file

@ -1 +0,0 @@
sb_down_arrow

View file

@ -1 +0,0 @@
sb_h_double_arrow

View file

@ -1 +0,0 @@
sb_h_double_arrow

View file

@ -1 +0,0 @@
left_ptr_watch

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