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 TERM="xterm-256color" # getting proper colors
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
@ -232,77 +225,5 @@ alias \
wfi-off="nmcli radio wifi off" \
blt="bluetoothctl"
# 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 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'
# starship prompt
eval "$(starship init bash)"

View file

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

View file

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

View file

View file

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

View file

@ -15,6 +15,6 @@ animations {
animation = windowsMove, 1, 5, wind, slide
animation = fadeIn, 1, 2, winIn
animation = fadeOut, 1, 5, winOut
animation = workspaces, 1, 3, workIn
animation = specialWorkspace, 1, 5, workIn
animation = workspaces, 1, 3, workIn, slidevert
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, b, exec, pkill waybar || waybar # hide/show bar
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
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_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, Left, workspace, e-1 # move to previous workspace with left cursor key
bind = $supMod, Down, workspace, e+1 # move to next workspace with down 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, Left, movetoworkspace, e-1 # move active window to previous workspace with left cursor key
bind = $supMod_SHIFT, Down, movetoworkspace, e+1 # move active window to next workspace with down cursor key
bind = $supMod_SHIFT, Up, movetoworkspace, e-1 # move active window to previous workspace with up cursor key
# common binds
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 = 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 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 color-scheme 'prefer-dark'

View file

@ -1,100 +1,116 @@
{
"position": "top",
"height": 41,
"spacing": 3,
"layer": "top",
"position": "left",
"spacing": 3,
"layer": "top",
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
// "modules-center": ["clock"],
"modules-right": ["hyprland/language", "pulseaudio", "backlight", "battery", "custom/powerprofiles", "network", "clock"],
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
// "modules-center": ["clock"],
"modules-right": ["hyprland/language", "pulseaudio", "backlight", "battery", "custom/powerprofiles", "network", "clock"],
"hyprland/workspaces": {
"on-click": "activate",
"sort-by-number": true,
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"format": "{icon}",
"format-icons": {
"1": "\ue7c5",
"2": "\udb82\uddac",
"3": "\uf07c",
"4": "\uf0ac",
"5": "\udb82\udf79",
"6": "\udb81\udf5a",
"7": "\uf03d",
"8": "\udb84\udde3",
"9": "\udb80\ude19",
"10": "\udb80\ude96",
"urgent": "\uf12a",
"focused": "\uf192",
"default": "\uf444"
}
},
"hyprland/language": {
"format": "{} \udb80\udf0c",
"format-en": "US",
"format-es": "ES",
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "\udb82\udd54 {:%H:%M}",
"format-alt": "\udb80\udcf5 {:%Y-%m-%d}"
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["\udb86\ude4e", "\udb86\ude4f", "\udb86\ude50", "\udb86\ude51", "\udb86\ude52", "\udb86\ude53", "\udb86\ude54", "\udb86\ude55", "\udb81\udee8"]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
"hyprland/workspaces": {
"on-click": "activate",
"sort-by-number": true,
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"format": "{icon}",
"format-icons": {
"1": "\ue7c5",
"2": "\udb82\uddac",
"3": "\uf07c",
"4": "\uf0ac",
"5": "\udb82\udf79",
"6": "\udb81\udf5a",
"7": "\uf03d",
"8": "\udb84\udde3",
"9": "\udb80\ude19",
"10": "\udb80\ude96",
"urgent": "\uf12a",
"focused": "\uf192",
"default": "\uf444"
}
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% {icon}\udb81\udea5",
"format-plugged": "{capacity}% {icon}\udb81\udea5",
"format-alt": "{time} {icon}",
"format-critical": "{capacity}% {icon}\udb84\ude38",
"format-warning": "{capacity}% {icon}\udb84\ude38",
"format-icons": ["\udb80\udc7a", "\udb80\udc7c", "\udb80\udc7e", "\udb80\udc80", "\udb80\udc79"]
},
"custom/powerprofiles": {
"exec": "bash $HOME/.config/waybar/power-profiles",
"restart-interval": 5,
"format": "{}",
},
"pulseaudio": {
"scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon}\udb80\udcaf {format_source}",
"format-bluetooth-muted": "\udb81\udd81 {icon}\udb80\udcaf {format_source}",
"format-muted": "\udb81\udd81 {format_source}",
"format-source": "{volume}% \udb80\udf6c",
"format-source-muted": "\udb80\udf6d",
"format-icons": {
"headphone": "\udb80\udecb",
"hands-free": "\udb86\udc4f",
"headset": "\udb80\udece",
"phone": "\udb80\udff2",
"portable": "\udb80\udff2",
"car": "\udb80\udd0b",
"default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"]
"hyprland/language": {
"format": "{}",
"format-en": "US",
"format-es": "ES",
},
"on-click": "wezterm start --class pulsemixer -- pulsemixer"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} \udb81\udda9",
"format-ethernet": "{ipaddr}/{cidr} \udb80\ude00",
"format-disconnected": "Disconnected \udb81\uddaa",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H\n--\n%M}",
"format-alt": "{:%y\n--\n%m\n--\n%d}"
},
"backlight": {
"format": "{icon}",
"format-icons": [
"\udb86\ude4e",
"\udb86\ude4f",
"\udb86\ude50",
"\udb86\ude51",
"\udb86\ude52",
"\udb86\ude53",
"\udb86\ude54",
"\udb86\ude55",
"\udb81\udee8"
],
"tooltip-format": "{percent}%"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon}",
"format-charging": "{icon}\n\n\udb81\udea5",
"format-plugged": "{icon}\n\n\udb81\udea5",
"format-critical": "{icon}\n\n\udb84\ude38",
"format-warning": "{icon}\n\n\udb84\ude38",
"format-icons": [
"\udb80\udc7a",
"\udb80\udc7c",
"\udb80\udc7e",
"\udb80\udc80",
"\udb80\udc79"
],
"tooltip-format": "{capacity}% - {timeTo}"
},
"custom/powerprofiles": {
"exec": "bash $HOME/.config/waybar/power-profiles",
"restart-interval": 5,
"format": "{}",
},
"pulseaudio": {
"scroll-step": 5, // %, can be a float
"format": "{icon}\n\n{format_source}",
"format-bluetooth": "{icon}\n\n\udb80\udcaf\n\n{format_source}",
"format-bluetooth-muted": "\udb81\udd81\n\n{icon}\n\n\udb80\udcaf\n\n{format_source}",
"format-muted": "\udb81\udd81\n\n{format_source}",
"format-source": "\udb80\udf6c",
"format-source-muted": "\udb80\udf6d",
"format-icons": {
"headphone": "\udb80\udecb",
"hands-free": "\udb86\udc4f",
"headset": "\udb80\udece",
"phone": "\udb80\udff2",
"portable": "\udb80\udff2",
"car": "\udb80\udd0b",
"default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"]
},
"tooltip-format": "{volume}% - {desc}",
"on-click": "pavucontrol"
},
"network": {
"format-wifi": "\udb81\udda9",
"format-ethernet": "\udb80\ude00",
"format-disconnected": "\udb81\uddaa",
"tooltip-format": "{signalStrength}% - {essid}"
},
}

View file

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

View file

@ -80,7 +80,7 @@ button:hover {
#mode {
font-family: Symbols Nerd Font Mono, mononoki Nerd Font;
font-size: 16px;
padding: 0 8px;
padding: 8 6px;
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