diff --git a/.bashrc b/.bashrc index 0c27b55..7554205 100755 --- a/.bashrc +++ b/.bashrc @@ -25,3 +25,5 @@ export SAL_USE_VCLPLUGIN=qt6 export TERM=xterm export PATH="$PATH:/home/adrien/.local/bin" + +wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16 -e diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 89e1cc1..a63b473 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -1,4 +1,3 @@ -spawn-at-startup "waybar" spawn-at-startup "swww-daemon" spawn-at-startup "wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16" diff --git a/.config/waybar/assets/experimental.png b/.config/waybar/assets/experimental.png deleted file mode 100644 index 6841c0e..0000000 Binary files a/.config/waybar/assets/experimental.png and /dev/null differ diff --git a/.config/waybar/assets/line.png b/.config/waybar/assets/line.png deleted file mode 100644 index cde5e2b..0000000 Binary files a/.config/waybar/assets/line.png and /dev/null differ diff --git a/.config/waybar/assets/main.png b/.config/waybar/assets/main.png deleted file mode 100644 index 23e0ae9..0000000 Binary files a/.config/waybar/assets/main.png and /dev/null differ diff --git a/.config/waybar/assets/zen.png b/.config/waybar/assets/zen.png deleted file mode 100644 index 0a98557..0000000 Binary files a/.config/waybar/assets/zen.png and /dev/null differ diff --git a/.config/waybar/config b/.config/waybar/config deleted file mode 100644 index bf0d267..0000000 --- a/.config/waybar/config +++ /dev/null @@ -1,132 +0,0 @@ -{ - "layer": "top", - "position": "top", - "reload_style_on_change": true, - "modules-left": ["custom/notification","clock","custom/pacman","tray"], - "modules-center": ["hyprland/workspaces"], - "modules-right": ["group/expand","bluetooth","network","battery"], - - - "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "active": "", - "default": "", - "empty": "" - }, - "persistent-workspaces": { - "*": [ 1,2,3,4,5 ] - } - }, - "custom/notification": { - "tooltip": false, - "format": "", - "on-click": "swaync-client -t -sw", - "escape": true - }, - "clock": { - "format": "{:%I:%M:%S %p} ", - "interval": 1, - "tooltip-format": "{calendar}", - "calendar": { - "format": { - "today": "{}" - } - }, - "actions": { - "on-click-right": "shift_down", - "on-click": "shift_up" - } - }, - "network": { - "format-wifi": "", - "format-ethernet":"", - "format-disconnected": "", - "tooltip-format-disconnected": "Error", - "tooltip-format-wifi": "{essid} ({signalStrength}%) ", - "tooltip-format-ethernet": "{ifname} 🖧 ", - "on-click": "kitty nmtui" - }, - "bluetooth": { - "format-on": "󰂯", - "format-off": "BT-off", - "format-disabled": "󰂲", - "format-connected-battery": "{device_battery_percentage}% 󰂯", - "format-alt": "{device_alias} 󰂯", - "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", - "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", - "tooltip-format-enumerate-connected": "{device_alias}\n{device_address}", - "tooltip-format-enumerate-connected-battery": "{device_alias}\n{device_address}\n{device_battery_percentage}%", - "on-click-right": "blueman-manager", - }, - "battery": { - "interval":30, - "states": { - "good": 95, - "warning": 30, - "critical": 20 - }, - "format": "{capacity}% {icon}", - "format-charging": "{capacity}% 󰂄", - "format-plugged": "{capacity}% 󰂄 ", - "format-alt": "{time} {icon}", - "format-icons": [ - "󰁻", - "󰁼", - "󰁾", - "󰂀", - "󰂂", - "󰁹" - ], - }, - "custom/pacman": { - "format": "󰅢 {}", - "interval": 30, - "exec": "checkupdates | wc -l", - "exec-if": "exit 0", - "on-click": "kitty sh -c 'yay -Syu; echo Done - Press enter to exit; read'; pkill -SIGRTMIN+8 waybar", - "signal": 8, - "tooltip": false, - }, - "custom/expand": { - "format": "", - "tooltip": false - }, - "custom/endpoint":{ - "format": "|", - "tooltip": false - }, - "group/expand": { - "orientation": "horizontal", - "drawer": { - "transition-duration": 600, - "transition-to-left": true, - "click-to-reveal": true - }, - "modules": ["custom/expand", "custom/colorpicker","cpu","memory","temperature","custom/endpoint"], - }, - "custom/colorpicker": { - "format": "{}", - "return-type": "json", - "interval": "once", - "exec": "~/.config/waybar/scripts/colorpicker.sh -j", - "on-click": "~/.config/waybar/scripts/colorpicker.sh", - "signal": 1 - }, - "cpu": { - "format": "󰻠", - "tooltip": true - }, - "memory": { - "format": "" - }, - "temperature": { - "critical-threshold": 80, - "format": "", - }, - "tray": { - "icon-size": 14, - "spacing": 10 - }, -} - diff --git a/.config/waybar/scripts/colorpicker.sh b/.config/waybar/scripts/colorpicker.sh deleted file mode 100755 index 569e678..0000000 --- a/.config/waybar/scripts/colorpicker.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -check() { - command -v "$1" 1>/dev/null -} - - - -loc="$HOME/.cache/colorpicker" -[ -d "$loc" ] || mkdir -p "$loc" -[ -f "$loc/colors" ] || touch "$loc/colors" - -limit=10 - -[[ $# -eq 1 && $1 = "-l" ]] && { - cat "$loc/colors" - exit -} - -[[ $# -eq 1 && $1 = "-j" ]] && { - text="$(head -n 1 "$loc/colors")" - - mapfile -t allcolors < <(tail -n +2 "$loc/colors") - # allcolors=($(tail -n +2 "$loc/colors")) - tooltip=" COLORS\n\n" - - tooltip+="-> $text \n" - for i in "${allcolors[@]}"; do - tooltip+=" $i \n" - done - - cat <", "tooltip":"$tooltip"} -EOF - - exit -} - -check hyprpicker || { - notify "hyprpicker is not installed" - exit -} -killall -q hyprpicker -color=$(hyprpicker) - -check wl-copy && { - echo "$color" | sed -z 's/\n//g' | wl-copy -} - -prevColors=$(head -n $((limit - 1)) "$loc/colors") -echo "$color" >"$loc/colors" -echo "$prevColors" >>"$loc/colors" -sed -i '/^$/d' "$loc/colors" -source ~/.cache/wal/colors.sh && notify-send "Color Picker" "This color has been selected: $color" -i $wallpaper -pkill -RTMIN+1 waybar diff --git a/.config/waybar/scripts/refresh.sh b/.config/waybar/scripts/refresh.sh deleted file mode 100755 index eff9047..0000000 --- a/.config/waybar/scripts/refresh.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# Check if waybar is running -if pgrep -x "waybar" > /dev/null; then - # If running, kill the waybar process - pkill -x "waybar" -else - # If not running, start waybar - waybar & -fi - - diff --git a/.config/waybar/scripts/select.sh b/.config/waybar/scripts/select.sh deleted file mode 100755 index 5415c7d..0000000 --- a/.config/waybar/scripts/select.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -WAYBAR_DIR="$HOME/.config/waybar" -STYLECSS="$WAYBAR_DIR/style.css" -CONFIG="$WAYBAR_DIR/config" -ASSETS="$WAYBAR_DIR/assets" -THEMES="$WAYBAR_DIR/themes" -menu() { - find "${ASSETS}" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" \) | awk '{print "img:"$0}' -} -main() { - choice=$(menu | wofi -c ~/.config/wofi/waybar -s ~/.config/wofi/style-waybar.css --show dmenu --prompt " Select Waybar (Scroll with Arrows)" -n) - selected_wallpaper=$(echo "$choice" | sed 's/^img://') - echo $selected_wallpaper - if [[ "$selected_wallpaper" == "$ASSETS/experimental.png" ]]; then - cat $THEMES/experimental/style-experimental.css > $STYLECSS - cat $THEMES/experimental/config-experimental > $CONFIG - pkill waybar && waybar - elif [[ "$selected_wallpaper" == "$ASSETS/main.png" ]]; then - cat $THEMES/default/style-default.css > $STYLECSS - cat $THEMES/default/config-default > $CONFIG - pkill waybar && waybar - elif [[ "$selected_wallpaper" == "$ASSETS/line.png" ]]; then - cat $THEMES/line/style-line.css > $STYLECSS - cat $THEMES/line/config-line > $CONFIG - pkill waybar && waybar - elif [[ "$selected_wallpaper" == "$ASSETS/zen.png" ]]; then - cat $THEMES/zen/style-zen.css > $STYLECSS - cat $THEMES/zen/config-zen > $CONFIG - pkill waybar && waybar - fi - -} -main diff --git a/.config/waybar/style.css b/.config/waybar/style.css deleted file mode 100644 index 504d788..0000000 --- a/.config/waybar/style.css +++ /dev/null @@ -1,167 +0,0 @@ -@import url('../../.cache/wal/colors-waybar.css'); - -* { - font-size:15px; - font-family: "CodeNewRoman Nerd Font Propo"; -} -window#waybar{ - all:unset; -} -.modules-left { - padding:7px; - margin:10 0 5 10; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -.modules-center { - padding:7px; - margin:10 0 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -.modules-right { - padding:7px; - margin: 10 10 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -tooltip { - background:@background; - color: @color7; -} -#clock:hover, #custom-pacman:hover, #custom-notification:hover,#bluetooth:hover,#network:hover,#battery:hover, #cpu:hover,#memory:hover,#temperature:hover{ - transition: all .3s ease; - color:@color9; -} -#custom-notification { - padding: 0px 5px; - transition: all .3s ease; - color:@color7; -} -#clock{ - padding: 0px 5px; - color:@color7; - transition: all .3s ease; -} -#custom-pacman{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#workspaces { - padding: 0px 5px; -} -#workspaces button { - all:unset; - padding: 0px 5px; - color: alpha(@color9,.4); - transition: all .2s ease; -} -#workspaces button:hover { - color:rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#workspaces button.empty { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .2); -} -#workspaces button.empty:hover { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.empty.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#bluetooth{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#network{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#battery{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - - -} -#battery.charging { - color: #26A65B; -} - -#battery.warning:not(.charging) { - color: #ffbe61; -} - -#battery.critical:not(.charging) { - color: #f53c3c; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} -#group-expand{ - padding: 0px 5px; - transition: all .3s ease; -} -#custom-expand{ - padding: 0px 5px; - color:alpha(@foreground,.2); - text-shadow: 0px 0px 2px rgba(0, 0, 0, .7); - transition: all .3s ease; -} -#custom-expand:hover{ - color:rgba(255,255,255,.2); - text-shadow: 0px 0px 2px rgba(255, 255, 255, .5); -} -#custom-colorpicker{ - padding: 0px 5px; -} -#cpu,#memory,#temperature{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#custom-endpoint{ - color:transparent; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1); - -} -#tray{ - padding: 0px 5px; - transition: all .3s ease; - -} -#tray menu * { - padding: 0px 5px; - transition: all .3s ease; -} - -#tray menu separator { - padding: 0px 5px; - transition: all .3s ease; -} diff --git a/.config/waybar/themes/default/config-default b/.config/waybar/themes/default/config-default deleted file mode 100755 index bf0d267..0000000 --- a/.config/waybar/themes/default/config-default +++ /dev/null @@ -1,132 +0,0 @@ -{ - "layer": "top", - "position": "top", - "reload_style_on_change": true, - "modules-left": ["custom/notification","clock","custom/pacman","tray"], - "modules-center": ["hyprland/workspaces"], - "modules-right": ["group/expand","bluetooth","network","battery"], - - - "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "active": "", - "default": "", - "empty": "" - }, - "persistent-workspaces": { - "*": [ 1,2,3,4,5 ] - } - }, - "custom/notification": { - "tooltip": false, - "format": "", - "on-click": "swaync-client -t -sw", - "escape": true - }, - "clock": { - "format": "{:%I:%M:%S %p} ", - "interval": 1, - "tooltip-format": "{calendar}", - "calendar": { - "format": { - "today": "{}" - } - }, - "actions": { - "on-click-right": "shift_down", - "on-click": "shift_up" - } - }, - "network": { - "format-wifi": "", - "format-ethernet":"", - "format-disconnected": "", - "tooltip-format-disconnected": "Error", - "tooltip-format-wifi": "{essid} ({signalStrength}%) ", - "tooltip-format-ethernet": "{ifname} 🖧 ", - "on-click": "kitty nmtui" - }, - "bluetooth": { - "format-on": "󰂯", - "format-off": "BT-off", - "format-disabled": "󰂲", - "format-connected-battery": "{device_battery_percentage}% 󰂯", - "format-alt": "{device_alias} 󰂯", - "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", - "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", - "tooltip-format-enumerate-connected": "{device_alias}\n{device_address}", - "tooltip-format-enumerate-connected-battery": "{device_alias}\n{device_address}\n{device_battery_percentage}%", - "on-click-right": "blueman-manager", - }, - "battery": { - "interval":30, - "states": { - "good": 95, - "warning": 30, - "critical": 20 - }, - "format": "{capacity}% {icon}", - "format-charging": "{capacity}% 󰂄", - "format-plugged": "{capacity}% 󰂄 ", - "format-alt": "{time} {icon}", - "format-icons": [ - "󰁻", - "󰁼", - "󰁾", - "󰂀", - "󰂂", - "󰁹" - ], - }, - "custom/pacman": { - "format": "󰅢 {}", - "interval": 30, - "exec": "checkupdates | wc -l", - "exec-if": "exit 0", - "on-click": "kitty sh -c 'yay -Syu; echo Done - Press enter to exit; read'; pkill -SIGRTMIN+8 waybar", - "signal": 8, - "tooltip": false, - }, - "custom/expand": { - "format": "", - "tooltip": false - }, - "custom/endpoint":{ - "format": "|", - "tooltip": false - }, - "group/expand": { - "orientation": "horizontal", - "drawer": { - "transition-duration": 600, - "transition-to-left": true, - "click-to-reveal": true - }, - "modules": ["custom/expand", "custom/colorpicker","cpu","memory","temperature","custom/endpoint"], - }, - "custom/colorpicker": { - "format": "{}", - "return-type": "json", - "interval": "once", - "exec": "~/.config/waybar/scripts/colorpicker.sh -j", - "on-click": "~/.config/waybar/scripts/colorpicker.sh", - "signal": 1 - }, - "cpu": { - "format": "󰻠", - "tooltip": true - }, - "memory": { - "format": "" - }, - "temperature": { - "critical-threshold": 80, - "format": "", - }, - "tray": { - "icon-size": 14, - "spacing": 10 - }, -} - diff --git a/.config/waybar/themes/default/style-default.css b/.config/waybar/themes/default/style-default.css deleted file mode 100755 index 504d788..0000000 --- a/.config/waybar/themes/default/style-default.css +++ /dev/null @@ -1,167 +0,0 @@ -@import url('../../.cache/wal/colors-waybar.css'); - -* { - font-size:15px; - font-family: "CodeNewRoman Nerd Font Propo"; -} -window#waybar{ - all:unset; -} -.modules-left { - padding:7px; - margin:10 0 5 10; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -.modules-center { - padding:7px; - margin:10 0 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -.modules-right { - padding:7px; - margin: 10 10 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -tooltip { - background:@background; - color: @color7; -} -#clock:hover, #custom-pacman:hover, #custom-notification:hover,#bluetooth:hover,#network:hover,#battery:hover, #cpu:hover,#memory:hover,#temperature:hover{ - transition: all .3s ease; - color:@color9; -} -#custom-notification { - padding: 0px 5px; - transition: all .3s ease; - color:@color7; -} -#clock{ - padding: 0px 5px; - color:@color7; - transition: all .3s ease; -} -#custom-pacman{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#workspaces { - padding: 0px 5px; -} -#workspaces button { - all:unset; - padding: 0px 5px; - color: alpha(@color9,.4); - transition: all .2s ease; -} -#workspaces button:hover { - color:rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#workspaces button.empty { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .2); -} -#workspaces button.empty:hover { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.empty.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#bluetooth{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#network{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#battery{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - - -} -#battery.charging { - color: #26A65B; -} - -#battery.warning:not(.charging) { - color: #ffbe61; -} - -#battery.critical:not(.charging) { - color: #f53c3c; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} -#group-expand{ - padding: 0px 5px; - transition: all .3s ease; -} -#custom-expand{ - padding: 0px 5px; - color:alpha(@foreground,.2); - text-shadow: 0px 0px 2px rgba(0, 0, 0, .7); - transition: all .3s ease; -} -#custom-expand:hover{ - color:rgba(255,255,255,.2); - text-shadow: 0px 0px 2px rgba(255, 255, 255, .5); -} -#custom-colorpicker{ - padding: 0px 5px; -} -#cpu,#memory,#temperature{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#custom-endpoint{ - color:transparent; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1); - -} -#tray{ - padding: 0px 5px; - transition: all .3s ease; - -} -#tray menu * { - padding: 0px 5px; - transition: all .3s ease; -} - -#tray menu separator { - padding: 0px 5px; - transition: all .3s ease; -} diff --git a/.config/waybar/themes/experimental/config-experimental b/.config/waybar/themes/experimental/config-experimental deleted file mode 100755 index bf0d267..0000000 --- a/.config/waybar/themes/experimental/config-experimental +++ /dev/null @@ -1,132 +0,0 @@ -{ - "layer": "top", - "position": "top", - "reload_style_on_change": true, - "modules-left": ["custom/notification","clock","custom/pacman","tray"], - "modules-center": ["hyprland/workspaces"], - "modules-right": ["group/expand","bluetooth","network","battery"], - - - "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "active": "", - "default": "", - "empty": "" - }, - "persistent-workspaces": { - "*": [ 1,2,3,4,5 ] - } - }, - "custom/notification": { - "tooltip": false, - "format": "", - "on-click": "swaync-client -t -sw", - "escape": true - }, - "clock": { - "format": "{:%I:%M:%S %p} ", - "interval": 1, - "tooltip-format": "{calendar}", - "calendar": { - "format": { - "today": "{}" - } - }, - "actions": { - "on-click-right": "shift_down", - "on-click": "shift_up" - } - }, - "network": { - "format-wifi": "", - "format-ethernet":"", - "format-disconnected": "", - "tooltip-format-disconnected": "Error", - "tooltip-format-wifi": "{essid} ({signalStrength}%) ", - "tooltip-format-ethernet": "{ifname} 🖧 ", - "on-click": "kitty nmtui" - }, - "bluetooth": { - "format-on": "󰂯", - "format-off": "BT-off", - "format-disabled": "󰂲", - "format-connected-battery": "{device_battery_percentage}% 󰂯", - "format-alt": "{device_alias} 󰂯", - "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", - "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", - "tooltip-format-enumerate-connected": "{device_alias}\n{device_address}", - "tooltip-format-enumerate-connected-battery": "{device_alias}\n{device_address}\n{device_battery_percentage}%", - "on-click-right": "blueman-manager", - }, - "battery": { - "interval":30, - "states": { - "good": 95, - "warning": 30, - "critical": 20 - }, - "format": "{capacity}% {icon}", - "format-charging": "{capacity}% 󰂄", - "format-plugged": "{capacity}% 󰂄 ", - "format-alt": "{time} {icon}", - "format-icons": [ - "󰁻", - "󰁼", - "󰁾", - "󰂀", - "󰂂", - "󰁹" - ], - }, - "custom/pacman": { - "format": "󰅢 {}", - "interval": 30, - "exec": "checkupdates | wc -l", - "exec-if": "exit 0", - "on-click": "kitty sh -c 'yay -Syu; echo Done - Press enter to exit; read'; pkill -SIGRTMIN+8 waybar", - "signal": 8, - "tooltip": false, - }, - "custom/expand": { - "format": "", - "tooltip": false - }, - "custom/endpoint":{ - "format": "|", - "tooltip": false - }, - "group/expand": { - "orientation": "horizontal", - "drawer": { - "transition-duration": 600, - "transition-to-left": true, - "click-to-reveal": true - }, - "modules": ["custom/expand", "custom/colorpicker","cpu","memory","temperature","custom/endpoint"], - }, - "custom/colorpicker": { - "format": "{}", - "return-type": "json", - "interval": "once", - "exec": "~/.config/waybar/scripts/colorpicker.sh -j", - "on-click": "~/.config/waybar/scripts/colorpicker.sh", - "signal": 1 - }, - "cpu": { - "format": "󰻠", - "tooltip": true - }, - "memory": { - "format": "" - }, - "temperature": { - "critical-threshold": 80, - "format": "", - }, - "tray": { - "icon-size": 14, - "spacing": 10 - }, -} - diff --git a/.config/waybar/themes/experimental/style-experimental.css b/.config/waybar/themes/experimental/style-experimental.css deleted file mode 100755 index 070b878..0000000 --- a/.config/waybar/themes/experimental/style-experimental.css +++ /dev/null @@ -1,182 +0,0 @@ -@import url('../../.cache/wal/colors-waybar.css'); -* { - font-size:15px; - font-family: "CodeNewRoman Nerd Font Propo"; -} -window#waybar{ - all:unset; -} -.modules-left { - padding:7px; - margin:10 0 5 10; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -.modules-center { - padding:7px; - margin:10 0 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); - min-width: 150.5px; -} -.modules-right { - padding:7px; - margin: 10 10 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -tooltip { - background:@background; - color: @color7; -} -#clock:hover, #custom-pacman:hover, #custom-notification:hover,#bluetooth:hover,#network:hover,#battery:hover, #cpu:hover,#memory:hover,#temperature:hover{ - transition: all .3s ease; - color:@color9; -} -#custom-notification { - padding: 0px 5px; - transition: all .3s ease; - color:@color7; -} -#clock{ - padding: 0px 5px; - color:@color7; - transition: all .3s ease; -} -#custom-pacman{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} - -#workspaces { - padding: 0px 5px; - text-shadow:none; -} -#workspaces button { - all:unset; - margin: 0px 3px; - padding: 0px 2px; - color:rgba(0,0,0,0); - text-shadow:none; - background: @color2; - border-radius: 50%; - transition: all .3s; - min-width: 15px; -} -#workspaces button:hover { - color:rgba(0,0,0,0); - border: none; - background: @color1; -} -#workspaces button.active { - border: none; - padding: 0px 2px; - border-radius:10px; - background: @color1; - min-width: 30px; -} -#workspaces button.active:hover{ - background: @color2; -} -#workspaces button.empty { - color: transparent; - border: none; - background: alpha(@background,.5) ; - -} -#workspaces button.empty:hover { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); -} -#workspaces button.empty.active { - color: rgba(0,0,0,0); - border: none; - text-shadow: none; - background: @color1; -} -#workspaces button.empty.active:hover{ - background: @color2; -} -#bluetooth{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#network{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#battery{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - - -} -#battery.charging { - color: #26A65B; -} - -#battery.warning:not(.charging) { - color: #ffbe61; -} - -#battery.critical:not(.charging) { - color: #f53c3c; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} -#group-expand{ - padding: 0px 5px; - transition: all .3s ease; -} -#custom-expand{ - padding: 0px 5px; - color:alpha(@foreground,.2); - text-shadow: 0px 0px 2px rgba(0, 0, 0, .7); - transition: all .3s ease; -} -#custom-expand:hover{ - color:rgba(255,255,255,.2); - text-shadow: 0px 0px 2px rgba(255, 255, 255, .5); -} -#custom-colorpicker{ - padding: 0px 5px; -} -#cpu,#memory,#temperature{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#custom-endpoint{ - color:transparent; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1); - -} -#tray{ - padding: 0px 5px; - transition: all .3s ease; - -} -#tray menu * { - padding: 0px 5px; - transition: all .3s ease; -} - -#tray menu separator { - padding: 0px 5px; - transition: all .3s ease; -} diff --git a/.config/waybar/themes/line/config-line b/.config/waybar/themes/line/config-line deleted file mode 100644 index 6b96758..0000000 --- a/.config/waybar/themes/line/config-line +++ /dev/null @@ -1,136 +0,0 @@ -{ - "layer": "top", - "position": "top", - "margin-left": 10, - "margin-right": 10, - "margin-top": 7, - "margin-bottom": 0, - "reload_style_on_change": true, - "modules-left": ["custom/notification","clock","custom/pacman","tray"], - "modules-center": ["hyprland/workspaces"], - "modules-right": ["group/expand","bluetooth","network","battery"], - - - "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "active": "", - "default": "", - "empty": "" - }, - "persistent-workspaces": { - "*": [ 1,2,3,4,5 ] - } - }, - "custom/notification": { - "tooltip": false, - "format": "", - "on-click": "swaync-client -t -sw", - "escape": true - }, - "clock": { - "format": "{:%I:%M:%S %p} ", - "interval": 1, - "tooltip-format": "{calendar}", - "calendar": { - "format": { - "today": "{}" - } - }, - "actions": { - "on-click-right": "shift_down", - "on-click": "shift_up" - } - }, - "network": { - "format-wifi": "", - "format-ethernet":"", - "format-disconnected": "", - "tooltip-format-disconnected": "Error", - "tooltip-format-wifi": "{essid} ({signalStrength}%) ", - "tooltip-format-ethernet": "{ifname} 🖧 ", - "on-click": "kitty nmtui" - }, - "bluetooth": { - "format-on": "󰂯", - "format-off": "BT-off", - "format-disabled": "󰂲", - "format-connected-battery": "{device_battery_percentage}% 󰂯", - "format-alt": "{device_alias} 󰂯", - "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", - "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", - "tooltip-format-enumerate-connected": "{device_alias}\n{device_address}", - "tooltip-format-enumerate-connected-battery": "{device_alias}\n{device_address}\n{device_battery_percentage}%", - "on-click-right": "blueman-manager", - }, - "battery": { - "interval":30, - "states": { - "good": 95, - "warning": 30, - "critical": 20 - }, - "format": "{capacity}% {icon}", - "format-charging": "{capacity}% 󰂄", - "format-plugged": "{capacity}% 󰂄 ", - "format-alt": "{time} {icon}", - "format-icons": [ - "󰁻", - "󰁼", - "󰁾", - "󰂀", - "󰂂", - "󰁹" - ], - }, - "custom/pacman": { - "format": "󰅢 {}", - "interval": 30, - "exec": "checkupdates | wc -l", - "exec-if": "exit 0", - "on-click": "kitty sh -c 'yay -Syu; echo Done - Press enter to exit; read'; pkill -SIGRTMIN+8 waybar", - "signal": 8, - "tooltip": false, - }, - "custom/expand": { - "format": "", - "tooltip": false - }, - "custom/endpoint":{ - "format": "|", - "tooltip": false - }, - "group/expand": { - "orientation": "horizontal", - "drawer": { - "transition-duration": 600, - "transition-to-left": true, - "click-to-reveal": true - }, - "modules": ["custom/expand", "custom/colorpicker","cpu","memory","temperature","custom/endpoint"], - }, - "custom/colorpicker": { - "format": "{}", - "return-type": "json", - "interval": "once", - "exec": "~/.config/waybar/scripts/colorpicker.sh -j", - "on-click": "~/.config/waybar/scripts/colorpicker.sh", - "signal": 1 - }, - "cpu": { - "format": "󰻠", - "tooltip": true - }, - "memory": { - "format": "" - }, - "temperature": { - "critical-threshold": 80, - "format": "", - }, - "tray": { - "icon-size": 14, - "spacing": 10 - }, -} - diff --git a/.config/waybar/themes/line/style-line.css b/.config/waybar/themes/line/style-line.css deleted file mode 100644 index 40406d9..0000000 --- a/.config/waybar/themes/line/style-line.css +++ /dev/null @@ -1,149 +0,0 @@ - -@import url('../../.cache/wal/colors-waybar.css'); - -* { - font-size:15px; - font-family: "CodeNewRoman Nerd Font Propo"; -} -window#waybar{ - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -tooltip { - background:@background; - color: @color7; -} -#clock:hover, #custom-pacman:hover, #custom-notification:hover,#bluetooth:hover,#network:hover,#battery:hover, #cpu:hover,#memory:hover,#temperature:hover{ - transition: all .3s ease; - color:@color9; -} -#custom-notification { - padding: 0px 5px 0 10; - transition: all .3s ease; - color:@color7; -} -#clock{ - padding: 0px 5px; - color:@color7; - transition: all .3s ease; -} -#custom-pacman{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#workspaces { - padding: 7px 5px; -} -#workspaces button { - all:unset; - padding: 0px 5px; - color: alpha(@color9,.4); - transition: all .2s ease; -} -#workspaces button:hover { - color:rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#workspaces button.empty { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .2); -} -#workspaces button.empty:hover { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.empty.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#bluetooth{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#network{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#battery{ - padding: 0px 10px 0 5; - transition: all .3s ease; - color:@color7; - - -} -#battery.charging { - color: #26A65B; -} - -#battery.warning:not(.charging) { - color: #ffbe61; -} - -#battery.critical:not(.charging) { - color: #f53c3c; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} -#group-expand{ - padding: 0px 5px; - transition: all .3s ease; -} -#custom-expand{ - padding: 0px 5px; - color:alpha(@foreground,.2); - text-shadow: 0px 0px 2px rgba(0, 0, 0, .7); - transition: all .3s ease; -} -#custom-expand:hover{ - color:rgba(255,255,255,.2); - text-shadow: 0px 0px 2px rgba(255, 255, 255, .5); -} -#custom-colorpicker{ - padding: 0px 5px; -} -#cpu,#memory,#temperature{ - padding: 0px 5px; - transition: all .3s ease; - color:@color7; - -} -#custom-endpoint{ - color:transparent; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1); - -} -#tray{ - padding: 0px 5px; - transition: all .3s ease; - -} -#tray menu * { - padding: 0px 5px; - transition: all .3s ease; -} - -#tray menu separator { - padding: 0px 5px; - transition: all .3s ease; -} diff --git a/.config/waybar/themes/zen/config-zen b/.config/waybar/themes/zen/config-zen deleted file mode 100755 index feba2f9..0000000 --- a/.config/waybar/themes/zen/config-zen +++ /dev/null @@ -1,20 +0,0 @@ -{ - "layer": "top", - "position": "top", - "reload_style_on_change": true, - "modules-center": ["hyprland/workspaces"], - - - "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "active": "", - "default": "", - "empty": "" - }, - "persistent-workspaces": { - "*": [ 1,2,3,4,5 ] - } - } -} - diff --git a/.config/waybar/themes/zen/style-zen.css b/.config/waybar/themes/zen/style-zen.css deleted file mode 100755 index 5f9b400..0000000 --- a/.config/waybar/themes/zen/style-zen.css +++ /dev/null @@ -1,52 +0,0 @@ -@import url('../../.cache/wal/colors-waybar.css'); - -* { - font-size:15px; - font-family: "CodeNewRoman Nerd Font Propo"; -} -window#waybar{ - all:unset; -} -.modules-center { - padding:7px; - margin:10 0 5 0; - border-radius:10px; - background: alpha(@background,.6); - box-shadow: 0px 0px 2px rgba(0, 0, 0, .6); -} -#workspaces { - padding: 0px 5px; -} -#workspaces button { - all:unset; - padding: 0px 5px; - color: alpha(@color9,.4); - transition: all .2s ease; -} -#workspaces button:hover { - color:rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} -#workspaces button.empty { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .2); -} -#workspaces button.empty:hover { - color: rgba(0,0,0,0); - border: none; - text-shadow: 0px 0px 1.5px rgba(0, 0, 0, .5); - transition: all 1s ease; -} -#workspaces button.empty.active { - color: @color9; - border: none; - text-shadow: 0px 0px 2px rgba(0, 0, 0, .5); -} diff --git a/.config/wofi/wallpaper.sh b/.config/wofi/wallpaper.sh index 2eff572..e52bb4a 100755 --- a/.config/wofi/wallpaper.sh +++ b/.config/wofi/wallpaper.sh @@ -8,10 +8,8 @@ main() { choice=$(menu | wofi -c ~/.config/wofi/wallpaper -s ~/.config/wofi/style-wallpaper.css --show dmenu --prompt "Select Wallpaper:" -n) selected_wallpaper=$(echo "$choice" | sed 's/^img://') swww img "$selected_wallpaper" --transition-type any --transition-fps 60 --transition-duration .5 - wal -i "$selected_wallpaper" -n --cols16 + wal -i "$selected_wallpaper" -n --cols16 -e pywalfox update source ~/.cache/wal/colors.sh && cp -r $wallpaper ~/Pictures/Wallpapers/pywallpaper.jpg } main - -