diff --git a/bin/brightness.sh b/bin/brightness.sh new file mode 100755 index 0000000..f64d864 --- /dev/null +++ b/bin/brightness.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +dunstify -h int:value:"$(( ($(cat /sys/class/backlight/*/brightness) * 100) / $(cat /sys/class/backlight/*/max_brightness) ))" -i ~/.config/dunst/assets/brightness.svg -t 500 -r 2593 "Brightness: $(( ($(cat /sys/class/backlight/*/brightness) * 100) / $(cat /sys/class/backlight/*/max_brightness) ))%" \ No newline at end of file diff --git a/bin/volume.sh b/bin/volume.sh index 5796d56..8d63b07 100755 --- a/bin/volume.sh +++ b/bin/volume.sh @@ -1,170 +1,3 @@ #!/bin/bash -iDIR="$HOME/.config/dunst/icons/vol" - -# Get Volume -get_volume() { - volume=$(pamixer --get-volume) - if [[ "$volume" -eq "0" ]]; then - echo "Muted" - else - echo "$volume%" - fi -} - -# Get icons -get_icon() { - current=$(get_volume) - if [[ "$current" == "Muted" ]]; then - echo "$iDIR/muted-speaker.svg" - elif [[ "${current%\%}" = 5 ]]; then - echo "$iDIR/vol-5.svg" - elif [[ "${current%\%}" = 10 ]]; then - echo "$iDIR/vol-10.svg" - elif [[ "${current%\%}" = 15 ]]; then - echo "$iDIR/vol-15.svg" - elif [[ "${current%\%}" = 20 ]]; then - echo "$iDIR/vol-20.svg" - elif [[ "${current%\%}" = 25 ]]; then - echo "$iDIR/vol-25.svg" - elif [[ "${current%\%}" = 30 ]]; then - echo "$iDIR/vol-30.svg" - elif [[ "${current%\%}" = 35 ]]; then - echo "$iDIR/vol-35.svg" - elif [[ "${current%\%}" = 40 ]]; then - echo "$iDIR/vol-40.svg" - elif [[ "${current%\%}" = 45 ]]; then - echo "$iDIR/vol-45.svg" - elif [[ "${current%\%}" = 50 ]]; then - echo "$iDIR/vol-50.svg" - elif [[ "${current%\%}" = 55 ]]; then - echo "$iDIR/vol-55.svg" - elif [[ "${current%\%}" = 60 ]]; then - echo "$iDIR/vol-60.svg" - elif [[ "${current%\%}" = 65 ]]; then - echo "$iDIR/vol-65.svg" - elif [[ "${current%\%}" = 70 ]]; then - echo "$iDIR/vol-70.svg" - elif [[ "${current%\%}" = 75 ]]; then - echo "$iDIR/vol-75.svg" - elif [[ "${current%\%}" = 80 ]]; then - echo "$iDIR/vol-80.svg" - elif [[ "${current%\%}" = 85 ]]; then - echo "$iDIR/vol-85.svg" - elif [[ "${current%\%}" = 90 ]]; then - echo "$iDIR/vol-90.svg" - elif [[ "${current%\%}" = 95 ]]; then - echo "$iDIR/vol-95.svg" - else - echo "$iDIR/vol-100.svg" - fi -} - -# Notify -notify_user() { - if [[ "$(get_volume)" == " " ]]; then - notify-send -a -r -h string:x-dunst-stack-tag:volume_notif -i "$(get_icon)" "Volume: Muted" - else - notify-send -a -r -h string:x-dunst-stack-tag:volume_notif -i "$(get_icon)" "Volume: $(get_volume)" - fi -} - -# Increase Volume -inc_volume() { - if [ "$(pamixer --get-mute)" == "true" ]; then - pamixer -u && notify_user - fi - pamixer -i 5 && notify_user -} - -# Decrease Volume -dec_volume() { - if [ "$(pamixer --get-mute)" == "true" ]; then - pamixer -u && notify_user - fi - pamixer -d 5 && notify_user -} - -# Toggle Mute -toggle_mute() { - if [ "$(pamixer --get-mute)" == "false" ]; then - pamixer -m && notify-send -a -h -i "$iDIR/muted-speaker.svg" "Volume Switched OFF" - elif [ "$(pamixer --get-mute)" == "true" ]; then - pamixer -u && notify-send -a -h -i "$iDIR/unmuted-speaker.svg" "Volume Switched ON" - fi -} - -# Toggle Mic -toggle_mic() { - if [ "$(pamixer --default-source --get-mute)" == "false" ]; then - pamixer --default-source -m && notify-send -e -u low -i "$iDIR/muted-mic.svg" "Microphone Switched OFF" - elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then - pamixer --default-source -u && notify-send -e -u low -i "$iDIR/unmuted-mic.svg" "Microphone Switched ON" - fi -} - -# Get Mic Icon -get_mic_icon() { - current=$(pamixer --default-source --get-volume) - if [[ "$current" -eq "0" ]]; then - echo "$iDIR/muted-mic.svg" - else - echo "$iDIR/unmuted-mic.svg" - fi -} - -# Get Microphone Volume -get_mic_volume() { - volume=$(pamixer --default-source --get-volume) - if [[ "$volume" -eq "0" ]]; then - echo "Muted" - else - echo "$volume%" - fi -} - -# Notify for Microphone -notify_mic_user() { - volume=$(get_mic_volume) - icon=$(get_mic_icon) - notify-send -a -r 91190 -t 800 -i "$icon" "Mic=vel: $volume" -} - -# Increase MIC Volume -inc_mic_volume() { - if [ "$(pamixer --default-source --get-mute)" == "true" ]; then - pamixer --default-source -u && notify_mic_user - fi - pamixer --default-source -i 5 && notify_mic_user -} - -# Decrease MIC Volume -dec_mic_volume() { - if [ "$(pamixer --default-source --get-mute)" == "true" ]; then - pamixer --default-source -u && notify_mic_user - fi - pamixer --default-source -d 5 && notify_mic_user -} - -# Execute accordingly -if [[ "$1" == "--get" ]]; then - get_volume -elif [[ "$1" == "--inc" ]]; then - inc_volume -elif [[ "$1" == "--dec" ]]; then - dec_volume -elif [[ "$1" == "--toggle" ]]; then - toggle_mute -elif [[ "$1" == "--toggle-mic" ]]; then - toggle_mic -elif [[ "$1" == "--get-icon" ]]; then - get_icon -elif [[ "$1" == "--get-mic-icon" ]]; then - get_mic_icon -elif [[ "$1" == "--mic-inc" ]]; then - inc_mic_volume -elif [[ "$1" == "--mic-dec" ]]; then - dec_mic_volume -else - get_volume -fi +dunstify -h int:value:"$(pamixer --get-volume)" -i ~/.config/dunst/assets/volume.svg -t 500 -r 2593 "Volume: $(pamixer --get-volume) %" \ No newline at end of file diff --git a/fastfetch/bak.jsonc b/fastfetch/bak.jsonc new file mode 100755 index 0000000..84000ac --- /dev/null +++ b/fastfetch/bak.jsonc @@ -0,0 +1,71 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "~/.config/fastfetch/icons/arch.txt" + }, + "display": { + "separator": " " + }, + "modules": [ + { + "type": "os", + "key": " ", + "keyColor": "blue" + }, + { + "type": "users", + "key": " ", + "keyColor": "blue" + }, + { + "type": "kernel", + "key": " ", + "keyColor": "black" + }, + { + "type": "packages", + "key": " ", + "keyColor": "cyan" + }, + { + "type": "shell", + "key": " ", + "keyColor": "dim_" + }, + { + "type": "terminal", + "key": " ", + "keyColor": "green" + }, + { + "type": "wm", + "key": " ", + "keyColor": "red" + }, + { + "type": "uptime", + "key": " ", + "keyColor": "cyan" + }, + { + "type": "cpu", + "key": " ", + "keyColor": "blue" + }, + { + "type": "btrfs", + "key": " ", + "keyColor": "red" + }, + { + "type": "gpu", + "key": " ", + "keyColor": "green" + }, + { + "type": "memory", + "key": "󰍛 ", + "keyColor": "yellow" + } + ] +} diff --git a/fastfetch/icons/arch.txt b/fastfetch/icons/arch.txt index 8e41d3d..100d48d 100644 --- a/fastfetch/icons/arch.txt +++ b/fastfetch/icons/arch.txt @@ -1,14 +1,7 @@ -/\ /? ( |-| +====================== - _ ._ _|_ -(_|| (_| | - - - - - _ | | __ _ _ __ ___| |__ / _` | '__/ __| '_ \ @@ -17,7 +10,4 @@ - - - _ __ _ |_ -(_| | (_ | | +====================== \ No newline at end of file diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index a2a3b79..0921676 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -53,7 +53,7 @@ decoration { dim_special = 0.2 rounding = 6 -active_opacity = 0.95 +active_opacity = 1 inactive_opacity = 0.75 shadow { @@ -188,13 +188,13 @@ bind = Ctrl_Shift, Tab, exec, $terminal $taskManager #ColorPicker bind = $mainMod, C, exec, $colorpicker -a -bind = $mainMod, I, exec, kitty -e /home/arcadian/SideProjects/Scripts/sync/selectWallpaper.sh +bind = $mainMod, I, exec, kitty -e /home/arcadian/SideProjects/dotsh/mics/select-wallpaper.sh bind = $mainMod, M, exec, ~/.config/rofi/clipboard/launcher.sh #Volume Control -binde = , xf86audioraisevolume, exec, pamixer -i 2 && dunstify -h int:value:"$(pamixer --get-volume)" -i ~/.config/dunst/assets/volume.svg -t 500 -r 2593 "Volume: $(pamixer --get-volume) %" -binde = , xf86audiolowervolume, exec, pamixer -d 2 && dunstify -h int:value:"$(pamixer --get-volume)" -i ~/.config/dunst/assets/volume.svg -t 500 -r 2593 "Volume: $(pamixer --get-volume) %" +binde = , xf86audioraisevolume, exec, pamixer -i 2 && ~/.local/bin/volume.sh +binde = , xf86audiolowervolume, exec, pamixer -d 2 && ~/.local/bin/volume.sh binde = , xf86AudioMute, exec, pamixer -t && dunstify -i ~/.config/dunst/assets/$(pamixer --get-mute | grep -q "true" && echo "volume-mute.svg" || echo "volume.svg") -t 500 -r 2593 "Toggle Mute" @@ -205,8 +205,8 @@ bindl = , XF86AudioNext, exec, playerctl next #Brightness Control -binde = , XF86MonBrightnessDown,exec,brillo -q -U 5 && dunstify -h int:value:"$(( ($(cat /sys/class/backlight/*/brightness) * 100) / $(cat /sys/class/backlight/*/max_brightness) ))" -i ~/.config/dunst/assets/brightness.svg -t 500 -r 2593 "Brightness: $(( ($(cat /sys/class/backlight/*/brightness) * 100) / $(cat /sys/class/backlight/*/max_brightness) ))%" -binde = , XF86MonBrightnessUp,exec,brillo -q -A 5 && dunstify -h int:value:"$(( ($(cat /sys/class/backlight/*/brightness) * 100) / $(cat /sys/class/backlight/*/max_brightness) ))" -i ~/.config/dunst/assets/brightness.svg -t 500 -r 2593 "Brightness: $(( ($(cat /sys/class/backlight/*/brightness) * 100) / $(cat /sys/class/backlight/*/max_brightness) ))%" +binde = , XF86MonBrightnessDown,exec,brightnessctl set 2%- && ~/.local/bin/brightness.sh +binde = , XF86MonBrightnessUp,exec,brightnessctl set +2% && ~/.local/bin/brightness.sh bind = $mainMod_Shift, l, exec, hyprlock diff --git a/kitty/kitty.conf b/kitty/kitty.conf index cbabcc3..9262492 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -41,7 +41,7 @@ background_opacity 0.95 # BEGIN_KITTY_FONTS -font_family family="JetBrainsMono Nerd Font" +font_family family='JetBrainsMono Nerd Font Mono' postscript_name=JetBrainsMonoNFM-Regular bold_font auto italic_font auto bold_italic_font auto diff --git a/kitty/kitty.conf.bak b/kitty/kitty.conf.bak index 2b8bee4..e693de3 100644 --- a/kitty/kitty.conf.bak +++ b/kitty/kitty.conf.bak @@ -16,6 +16,8 @@ map ctrl+shift+c copy_to_clipboard map ctrl+shift+v paste_from_clipboard +enable_audio_bell no + window_padding_width 5 window_margin_width 5 @@ -39,7 +41,7 @@ background_opacity 0.95 # BEGIN_KITTY_FONTS -font_family family="JetBrainsMonoNL Nerd Font Mono" +font_family family="JetBrainsMono Nerd Font Mono" bold_font auto italic_font auto bold_italic_font auto diff --git a/waybar/config-2.jsonc b/waybar/config-2.jsonc deleted file mode 100644 index 5ce9a7a..0000000 --- a/waybar/config-2.jsonc +++ /dev/null @@ -1,174 +0,0 @@ -{ - "layer": "top", - // "position": "bottom", - "margin-left": 3, - "margin-right": 3, - "margin-top": 2, - "margin-bottom": 0, - "modules-center": [ - "hyprland/workspaces", - "cpu", - "memory", - "network#speed", - "clock", - // "custom/cava", - "temperature#gpu", - "custom/transparency", - "custom/wallpaper", - "pulseaudio", - "backlight", - "network", - // "bluetooth", - "battery" - ], - "custom/cava": { - "format": "{}", - "exec": "~/.config/waybar/scripts/cava.sh" - }, - "temperature#gpu": { - "thermal-zone": 5, - "critical-threshold": 80, - "format-critical": "{temperatureC}°C ", - "format": "{temperatureC}°C ", - "tooltip": false - }, - "backlight": { - "device": "intel_backlight", - "scroll-step": 5, - "format": "{icon}", - "format-icons": ["󰃞 ", "󰃟 ", "󰃝 ", "󰃠 "], - "tooltip": true, - "tooltip-format": "{percent}%" - }, - "network#speed": { - "interval": 1, - "format": "{ifname}%%", - "format-wifi": " {bandwidthDownBytes}  {bandwidthUpBytes}", - "format-ethernet": " {bandwidthDownBytes}  {bandwidthUpBytes} ", - "format-disconnected": "󰌙", - "tooltip-format": "{ipaddr}", - "format-linked": "󰈁 {ifname} (No IP)", - "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", - "tooltip-format-ethernet": "{ifname} 󰌘", - "tooltip-format-disconnected": "󰌙 Disconnected", - "max-length": 22, - "min-length": 20, - "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"] - }, - "keyboard-state": { - "numlock": true, - "capslock": true, - "scrolllock": false, - "format": "{name} {icon}", - "format-icons": { - "locked": "\uf023", - "unlocked": "\uf3c1" - } - }, - "custom/launcher": { - "format": "", - "tooltip": false, - "on-click": "~/.config/rofi/launcher/launcher.sh" - }, - "custom/transparency": { - "format": " ", - "tooltip": false, - "on-click": "~/.config/waybar/scripts/toggle-trans.sh", - "format-alt": " " - }, - "cpu": { - "interval": 1, - "format": "{usage}% \uf2db", - "on-click": "kitty btop" - }, - "memory": { - "interval": 1, - "format": "{percentage}% \uf538", - "on-click": "kitty btop", - "tooltip-format": "{used}/{total} GiB" - }, - "hyprland/workspaces": { - "all-outputs": true, - "warp-on-scroll": true, - "enable-bar-scroll": true, - "disable-scroll-wraparound": false, - "format": " {icon} ", - "format-icons": { - "active": "●", - "default": "○" - }, - "persistent-workspaces": { - "*": 3 - }, - "on-click": "activate", - "on-scroll-up": "hyprctl dispatch workspace e-1", - "on-scroll-down": "hyprctl dispatch workspace e+1" - }, - "custom/weather": { - "format": "{}°C", - "tooltip": false, - "interval": 3600, - "exec": "wttrbar --location 'Ahmedabad'", - "return-type": "json" - }, - - "clock": { - "format": "{:%I:%M %p • %a %d/%m}", - "tooltip": true, - "tooltip-format": "{calendar}" - }, - "custom/wallpaper": { - "format": "\uf03e", - "on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper", - "tooltip": false - }, - "network": { - "format-wifi": " {icon}", - "format-ethernet": "󰈀", - "format-icons": ["󰤯 ", "󰤟 ", "󰤢 ", "󰤢 ", "󰤨 "], - "format-disconnected": "󰪎", - "interval": 5, - "tooltip-format-wifi": " {bandwidthDownBytes} |  {bandwidthUpBytes} | {essid}", - "tooltip-format-disconnected": "Disconnected", - "on-click": "exec ~/.config/rofi/wifi/wifi.sh", - "on-click-right": "alacritty -e nmtui" - }, - "battery": { - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": " {capacity}% {icon} ", - "format-full": "{icon}", - "format-plugged": " {capacity}% \uf0e7 ", - "format-alt": "{icon}", - "tooltip-format": "{capacity}%, about {time} left", - "format-icons": [" ", " ", " ", " "] - }, - "pulseaudio": { - "format": "{icon}", - "format-muted": "\uf6a9", - "format-icons": { - "headphone": "\uf025", - "default": ["\uf028"] - }, - "tooltip-format": "{volume}% {desc}", - "on-click": "pamixer -t" - }, - "bluetooth": { - "format": "{icon}", - "format-icons": ["", "󰤾", "󰥀", "󰥄", "󰥈"], - - "tooltip-format-off": "Bluetooth is off", - "tooltip-format-on": "Bluetooth is on", - - "format-connected": "{icon} {num_connections}", - "format-connected-battery": "{icon} {device_battery_percentage}%", - - "tooltip-format-connected": "{device_enumerate}", - "tooltip-format-enumerate-connected": "{device_alias}\t{device_battery_percentage}%", - - "on-click": "blueman-manager" - } -} diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 3dc16fd..087be07 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -1,7 +1,5 @@ { "layer": "top", - "style": "~/.config/waybar/style-4.css", - // "position": "bottom", "margin-left": 3, "margin-right": 3, "margin-top": 2, @@ -54,16 +52,6 @@ "min-length": 20, "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"] }, - "keyboard-state": { - "numlock": true, - "capslock": true, - "scrolllock": false, - "format": "{name} {icon}", - "format-icons": { - "locked": "\uf023", - "unlocked": "\uf3c1" - } - }, "custom/launcher": { "format": "", "tooltip": false, @@ -110,16 +98,16 @@ "exec": "wttrbar --location 'Ahmedabad'", "return-type": "json" }, - "clock": { - "format": "{:%I:%M %p • %a %d/%m}", + "format": "{:%I:%M %p || %a %d/%m}", "tooltip": true, "tooltip-format": "{calendar}" }, "custom/wallpaper": { "format": "\uf03e", "on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper", - "tooltip": false + "tooltip": false, + "on-click-right": "kitty -e ~/SideProjects/dotsh/mics/select-wallpaper.sh" }, "network": { "format-wifi": " {icon}", @@ -130,7 +118,7 @@ "tooltip-format-wifi": " {bandwidthDownBytes} |  {bandwidthUpBytes} | {essid}", "tooltip-format-disconnected": "Disconnected", "on-click": "exec ~/.config/rofi/wifi/wifi.sh", - "on-click-right": "alacritty -e nmtui" + "on-click-right": "kitty -e nmtui" }, "battery": { "states": { diff --git a/waybar/style-2.css b/waybar/style-2.css deleted file mode 100644 index 668fb41..0000000 --- a/waybar/style-2.css +++ /dev/null @@ -1,199 +0,0 @@ -@import 'mocha.css'; - -* { - font-family: JetBrains Mono Nerd Font; - min-height: 14px; - font-size: 12px; - border: none; - padding: 0; - margin: 0; - box-shadow: none; - text-shadow: none; - background-color: transparent; -} - -#custom-cava { - color: #8fbc8f; - border-left: 0px; - border-right: 0px; - padding: 6px; - font-family: 'bargraph'; - background: @raisin-black; -} -#cpu { - color: @beige; - padding: 0px 8px 0px 15px; - background: @raisin-black; -} - -#memory { - color: @beige; - padding: 0px 15px 0px 8px; - background: @raisin-black; -} - -#temperature.gpu { - padding: 0px 12px; - color: @celadon; - background: @raisin-black; -} - -/* General Styling */ -tooltip, -menu, -#workspaces, -#clock, -#pulseaudio, -#backlight, -#bluetooth, -#network, -#battery, -#custom-power { - background: @raisin-black; - padding: 7px 8px; - margin: 0; -} - -#workspaces { - background: @raisin-black; - margin: 0; - padding: 0; - font-weight: bold; - font-style: normal; - opacity: 1; - font-size: 16px; - color: #1e1; - border-radius: 6px 0px 0px 6px; -} - -#workspaces button { - padding: 0px 5px; - border-radius: 6px; - border: none; - color: #f5e0dc; - /* background-color: #1e1e2e; */ - transition: all 0.3s ease-in-out; - opacity: 0.4; -} - -#workspaces button.active { - color: #1e1e2e; - background: #cba6f7; - min-width: 20px; - opacity: 1; -} - -#workspaces button:hover { - color: #c3dee5; - background: #1e1e2e; - opacity: 1; - animation: none; -} - -#clock { - padding: 0 15px; - color: @beige; -} - -#custom-launcher { - font-size: 18px; - transition: none; - padding: 0px 10px; - background: @raisin-black; - color: rgba(137, 220, 235, 1); -} - -#custom-transparency { - font-size: 18px; - background: @raisin-black; - color: #94e2d5; - padding: 0px 14px; - /* margin-right: 2px; */ - /* border-radius: 0 6px 6px 0; */ -} - -#custom-wallpaper { - font-size: 20px; - font-family: 'Font Awesome 5 Free'; - padding: 0px 8px; - color: #f38ba8; - background: @raisin-black; -} - -#pulseaudio, -#backlight { - padding: 0 8px; - color: @beige; -} - -#bluetooth, -#network { - color: #cba6f7; -} - -#network.speed { - background: @raisin-black; - padding: 0px 6px; - min-width: 10px; - color: @beige; -} - -#bluetooth { - min-width: 20px; - padding: 0 10px; -} - -#network { - min-width: 30px; - padding: 0 7px 0 2px; - /* margin: 0 2px; */ - /* border-radius: 0 6px 6px 0; */ -} - -#battery { - color: @mint; - min-width: 30px; - padding-left: 5px; -} - -#battery.charging { - color: #33ae18; /* Text */ - background: @raisin-black; - border-radius: 0px 6px 6px 0px; -} - -#battery.good:not(.charging) { - color: #f8d589; - background: @raisin-black; - border-radius: 0px 6px 6px 0px; -} - -#battery.warning:not(.charging) { - color: #e0a858; /* Text */ - background: @raisin-black; - border-radius: 0px 6px 6px 0px; -} - -#battery.low:not(.charging) { - color: #d20f39; /* Text */ - background: @raisin-black; - border-radius: 0px 6px 6px 0px; -} - -#battery.critical:not(.charging) { - color: #d20f39; /* Text */ - background: @raisin-black; - animation-name: blink; - animation-duration: 0.75s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; - border-radius: 0px 6px 6px 0px; -} - -@keyframes blink { - to { - color: #d20f39; /* Red */ - background: #eff1f5; /* Text */ - } -} diff --git a/waybar/style-4.css b/waybar/style-4.css deleted file mode 100644 index 18c85df..0000000 --- a/waybar/style-4.css +++ /dev/null @@ -1,128 +0,0 @@ -@import 'mocha.css'; - -#waybar.top { - background: none; -} -#waybar.top > box.horizontal { - background: @raisin-black; - border-radius: 6pt; - margin: 0pt; - padding: 2pt; -} - -#workspaces { - margin-left: 6pt; -} -#workspaces button { - color: #585b70; -} -#workspaces button:not(:first-child) { - margin-left: 2pt; -} -#workspaces button.visible { - color: #89b4fa; -} -#workspaces button.active { - color: @vista-blue; -} -#workspaces button:hover, -#workspaces button:focus { - background: none; - border-color: transparent; - box-shadow: none; -} - -@keyframes blink { - to { - background-color: rgba(30, 34, 42, 0.5); - color: #cdd6f4; - } -} - -#battery { - color: #f9e2af; - margin-right: 6pt; -} - -#battery.full, -#battery.good, -#battery.charging, -#battery.plugged { - color: #a6e3a1; -} - -#battery.critical:not(.charging) { - color: #f38ba8; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -* { - font-family: JetBrains Mono Nerd Font; - margin: 0; - padding: 0; - font-size: 8.5pt; - font-weight: 400; - transition-property: background; - transition-duration: 0.5s; -} - -#cpu { - color: @beige; - padding: 0px 8px 0px 15px; - margin-left: 2px; -} - -#memory { - color: @beige; - padding: 0px 15px 0px 8px; -} - -#temperature.gpu { - padding: 0px 6px; - color: @celadon; -} - -#clock { - color: @beige; -} - -#custom-transparency { - font-size: 18px; - color: @periwinkle; - padding: 0px 6px; -} - -#custom-wallpaper { - font-size: 20px; - font-family: 'Font Awesome 5 Free'; - padding: 0px 6px; - color: @vista-blue; -} - -#network.speed { - color: @beige; -} - -#backlight { - color: @beige; -} - -#bluetooth, -#network { - color: #cba6f7; -} - -#pulseaudio { - color: @beige; - padding: 0 8px; -} - -tooltip { - background: #11111b; - color: #cdd6f4; - border-radius: 5pt; -} diff --git a/waybar/style_backup.css b/waybar/style_backup.css deleted file mode 100755 index 7c83933..0000000 --- a/waybar/style_backup.css +++ /dev/null @@ -1,226 +0,0 @@ -@import 'mocha.css'; - -:root { - --border-radius: 100px; -} - -/* reset all styles */ -* { - font-family: JetBrains Mono Nerd Font; - min-height: 18px; - font-size: 12px; - border: none; - border-radius: var(--border-radius); - padding: 0; - margin: 0; - box-shadow: none; - text-shadow: none; - background-color: transparent; -} - -#custom-weather { - /* margin-left: 6px; */ - padding: 0px 8px; - background: @raisin-black; - color: @beige; -} - -#keyboard-state { - background: @raisin-black; -} - -#cpu { - color: @beige; - padding: 0px 8px 0px 15px; - /* border-radius: 0px; */ - /* border-top-left-radius: 6px; */ - /* border-bottom-left-radius: 6px; */ - background: @raisin-black; - /* margin-left: 6px; */ -} - -#memory { - color: @beige; - padding: 0px 15px 0px 8px; - /* border-radius: 0px; */ - /* border-top-right-radius: 6px; */ - /* border-bottom-right-radius: 6px; */ - background: @raisin-black; - /* margin-right: 2px; */ -} - -#temperature.gpu { - padding: 0px 12px; - /* margin-right: 6px; */ - color: @celadon; - background: @raisin-black; -} - -/* general */ - -tooltip, -menu, -#workspaces, -#clock, -#pulseaudio, -#backlight, -#bluetooth, -#network, -#battery, -#custom-power { - background: @raisin-black; - padding-bottom: 7px; - padding-top: 7px; - margin: 0; -} - -tooltip { - border: 1px solid @beige; -} - -.modules-right, -.modules-center, -.modules-left { - padding: 0 5px; -} - -#custom-wallpaper { - font-size: 20px; - font-family: 'Font Awesome 5 Free'; - padding: 0px 8px; - /* margin-right: 4px; */ - color: #f38ba8; - background: @raisin-black; -} - -#workspaces { - background: #1e1e2e; - margin: 0; - padding: 0; - font-weight: bold; - font-style: normal; - opacity: 1; - font-size: 16px; - color: #1e1; -} - -#workspaces button { - /* padding: 0px 3px; */ - /* margin: 5px; */ - border-radius: 0px; - border: none; - min-width: 30px; - color: #f5e0dc; - background-color: #1e1e2e; - transition: all 0.3s ease-in-out; - opacity: 0.4; -} - -#workspaces button.active { - color: #1e1e2e; - background: #cba6f7; - min-width: 30px; - opacity: 1; -} - -#workspaces button:hover { - color: #c3dee5; - background: #1e1e2e; - opacity: 1; - animation: none; -} -#clock { - padding: 0 15px; - color: @beige; -} - -#custom-launcher { - font-size: 18px; - transition: none; - padding: 0px 10px; - /* margin-right: 6px; */ - background: @raisin-black; - color: rgba(137, 220, 235, 1); -} - -#custom-transparency { - font-size: 18px; - background: @raisin-black; - color: #94e2d5; - padding: 0px 14px; - /* margin-right: 6px; */ -} - -#pulseaudio, -#backlight { - padding: 0 8px; - /* margin: 0 2px; */ - color: @beige; -} - -#bluetooth, -#network { - color: #cba6f7; -} - -#network.speed { - background: @raisin-black; - padding: 0px 6px; - min-width: 10px; - color: @beige; -} - -#bluetooth { - min-width: 20px; - padding: 0 10px; - /* margin: 0 2px; */ -} -#network { - min-width: 30px; - padding: 0 7px 0 2px; - /* margin: 0 2px; */ -} -#battery { - color: @mint; - min-width: 30px; - padding-left: 5px; - /* margin: 0 2px; */ - padding-right: 5px; -} - -#battery.charging { - color: #eff1f5; /* Text */ - background: #40a02b; /* Green */ -} - -#battery.good:not(.charging) { - color: #f9e2af; /* Peach */ - background: #1e1e2e; /* Base */ -} - -#battery.warning:not(.charging) { - color: #eff1f5; /* Text */ - background: #df8e1d; /* Yellow */ -} - -#battery.low:not(.charging) { - color: #eff1f5; /* Text */ - background: #d20f39; /* Red */ -} - -#battery.critical:not(.charging) { - color: #eff1f5; /* Text */ - background: #d20f39; /* Red */ - animation-name: blink; - animation-duration: 0.75s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -@keyframes blink { - to { - color: #d20f39; /* Red */ - background: #eff1f5; /* Text */ - } -} diff --git a/zsh/.zshrc b/zsh/.zshrc index 96b2db1..5c4cd1d 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -16,7 +16,6 @@ zinit light zsh-users/zsh-autosuggestions zinit light Aloxaf/fzf-tab zinit light xylous/gitstatus # zinit ice wait'0' # Load asynchronously -# zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-history-substring-search @@ -58,10 +57,6 @@ cd_menu() { zle -N cd_menu bindkey '^L' cd_menu -zle -N cd_menu -bindkey '^L' cd_menu - - HISTSIZE=5001 HISTFILE=~/.zsh_history @@ -173,11 +168,8 @@ c() { cd "$1" && ls } -#fastfetch - autoload -U +X bashcompinit && bashcompinit complete -o nospace -C /usr/bin/terraform terraform complete -C '/usr/bin/aws_completer' aws export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" -