Removed waybar and new terminal use theme
This commit is contained in:
parent
f57dde1200
commit
0b05a4d13b
2
.bashrc
2
.bashrc
@ -25,3 +25,5 @@ export SAL_USE_VCLPLUGIN=qt6
|
|||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
export PATH="$PATH:/home/adrien/.local/bin"
|
export PATH="$PATH:/home/adrien/.local/bin"
|
||||||
|
|
||||||
|
wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16 -e
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
spawn-at-startup "waybar"
|
|
||||||
spawn-at-startup "swww-daemon"
|
spawn-at-startup "swww-daemon"
|
||||||
spawn-at-startup "wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16"
|
spawn-at-startup "wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.4 KiB |
@ -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": "<tt>{calendar}</tt>",
|
|
||||||
"calendar": {
|
|
||||||
"format": {
|
|
||||||
"today": "<span color='#fAfBfC'><b>{}</b></span>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"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
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -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="<b> COLORS</b>\n\n"
|
|
||||||
|
|
||||||
tooltip+="-> <b>$text</b> <span color='$text'></span> \n"
|
|
||||||
for i in "${allcolors[@]}"; do
|
|
||||||
tooltip+=" <b>$i</b> <span color='$i'></span> \n"
|
|
||||||
done
|
|
||||||
|
|
||||||
cat <<EOF
|
|
||||||
{ "text":"<span color='$text'></span>", "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
|
|
||||||
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
@ -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
|
|
||||||
@ -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;
|
|
||||||
}
|
|
||||||
@ -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": "<tt>{calendar}</tt>",
|
|
||||||
"calendar": {
|
|
||||||
"format": {
|
|
||||||
"today": "<span color='#fAfBfC'><b>{}</b></span>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"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
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -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;
|
|
||||||
}
|
|
||||||
@ -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": "<tt>{calendar}</tt>",
|
|
||||||
"calendar": {
|
|
||||||
"format": {
|
|
||||||
"today": "<span color='#fAfBfC'><b>{}</b></span>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"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
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -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;
|
|
||||||
}
|
|
||||||
@ -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": "<tt>{calendar}</tt>",
|
|
||||||
"calendar": {
|
|
||||||
"format": {
|
|
||||||
"today": "<span color='#fAfBfC'><b>{}</b></span>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"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
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -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;
|
|
||||||
}
|
|
||||||
@ -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 ]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -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);
|
|
||||||
}
|
|
||||||
@ -8,10 +8,8 @@ main() {
|
|||||||
choice=$(menu | wofi -c ~/.config/wofi/wallpaper -s ~/.config/wofi/style-wallpaper.css --show dmenu --prompt "Select Wallpaper:" -n)
|
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://')
|
selected_wallpaper=$(echo "$choice" | sed 's/^img://')
|
||||||
swww img "$selected_wallpaper" --transition-type any --transition-fps 60 --transition-duration .5
|
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
|
pywalfox update
|
||||||
source ~/.cache/wal/colors.sh && cp -r $wallpaper ~/Pictures/Wallpapers/pywallpaper.jpg
|
source ~/.cache/wal/colors.sh && cp -r $wallpaper ~/Pictures/Wallpapers/pywallpaper.jpg
|
||||||
}
|
}
|
||||||
main
|
main
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user