I think, It's Final
This commit is contained in:
parent
500aecaea1
commit
c3efcd63a3
289 changed files with 32892 additions and 2 deletions
175
waybar/.config/waybar/config.jsonc
Normal file
175
waybar/.config/waybar/config.jsonc
Normal file
|
@ -0,0 +1,175 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"margin-left": 8,
|
||||
"margin-right": 8,
|
||||
"margin-top": 4,
|
||||
"margin-bottom": 2,
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"hyprland/workspaces",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature"
|
||||
],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"hyprland/window",
|
||||
"custom/update",
|
||||
"custom/wallpaper",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"battery"
|
||||
],
|
||||
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/rofi/launchers/type-4/launcher.sh"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": false,
|
||||
"sort-by-name": true,
|
||||
"format": " {icon} ",
|
||||
"format-icons": {
|
||||
"active": "●",
|
||||
"default": "○"
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": 6
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{usage}% <span font='Font Awesome 6 Free-Solid'>\uf2db</span>",
|
||||
"on-click": "kitty btop"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"format": "{percentage}% <span font='Font Awesome 5 Free'>\uf538</span>",
|
||||
"on-click": "kitty btop",
|
||||
"tooltip-format": "{used}/{total} GiB"
|
||||
},
|
||||
"custom/update": {
|
||||
"interval": 86000,
|
||||
"format": "{}",
|
||||
"exec": "~/.config/waybar/scripts/check-updates.sh",
|
||||
"on-click": "kitty yay",
|
||||
"tooltip": false
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"scrolllock": false,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "\uf023",
|
||||
"unlocked": "\uf3c1"
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"timezone": "Asia/Kolkata",
|
||||
"tooltip": false,
|
||||
"format": "{:%a, %d/%m | %H:%M}"
|
||||
},
|
||||
"custom/weather": {
|
||||
"format": "{}°C",
|
||||
"tooltip": false,
|
||||
"interval": 3600,
|
||||
"exec": "wttrbar --location 'Surat'",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/wallpaper": {
|
||||
"format": "\uf03e",
|
||||
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
|
||||
"tooltip": false
|
||||
},
|
||||
"temperature": {
|
||||
"interval": 1,
|
||||
"thermal-zone": 6,
|
||||
"critical-threshold": 80,
|
||||
"format-critical": "{temperatureC}°C <span font='Font Awesome 5 Free'></span>",
|
||||
"format": "{temperatureC}°C <span font='Font Awesome 5 Free'></span>",
|
||||
"tooltip": false
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span font='Font Awesome 5 Free'>{icon}</span>",
|
||||
"format-muted": "<span font='Font Awesome 5 Free'>\uf6a9</span>",
|
||||
"format-icons": {
|
||||
"headphone": "\uf025",
|
||||
"default": "\uf028"
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{volume%} | {desc}",
|
||||
"on-click": "pamixer -t"
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["☼"],
|
||||
"tooltip-format": "{percent}%",
|
||||
"tooltip": true
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "{icon}",
|
||||
"format-icons": ["", "", "", ""],
|
||||
"format-ethernet": "",
|
||||
"format-linked": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format-wifi": "{essid}\n{signalStrength}\n{ifname}\n{gwaddr}",
|
||||
"tooltip-format-ethernet": " {ifname}",
|
||||
"tooltip-disconnected": "Disconnected",
|
||||
"on-click": "~/.config/rofi/wifi.sh"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"format-connected": "",
|
||||
"format-connected-battery": " {device_battery_percentage}",
|
||||
"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}\t{device_address}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 100,
|
||||
"warning": 40,
|
||||
"low": 20,
|
||||
"critical": 7
|
||||
},
|
||||
"interval": 1,
|
||||
"format": "{capacity}% <span font='Font Awesome 5 Free'>{icon}</span>",
|
||||
"format-charging": "{capacity}% <span font='Font Awesome 5 Free'>\uf0e7</span>",
|
||||
"format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"]
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{class}",
|
||||
"rewrite": {
|
||||
"(.*) - Mozilla Firefox": " $1", // Firefox icon from Nerd Fonts
|
||||
"(.*) - zsh": " [$1]", // Terminal icon from Nerd Fonts
|
||||
"(.*) - Visual Studio Code": " $1", // VS Code icon
|
||||
"(.*) - LibreOffice Writer": " $1", // Document icon
|
||||
"(.*) - LibreOffice Calc": " $1", // Spreadsheet icon
|
||||
"(.*) - VLC media player": " $1", // Music icon
|
||||
"(.*) - GIMP": " $1", // GIMP icon
|
||||
"(.*) - Inkscape": " $1", // Drawing icon
|
||||
"(.*) - Spotify": " $1", // Spotify icon
|
||||
"(.*) - Discord": "ﭮ $1", // Discord icon
|
||||
"(.*) - Telegram": " $1", // Telegram icon
|
||||
"(.*) - Evince": " $1", // PDF document icon
|
||||
"(.*) - Nautilus": " $1" // File manager icon
|
||||
},
|
||||
"icon": true,
|
||||
"icon-size": 20
|
||||
},
|
||||
"custom/powerctl": {
|
||||
"tooltip": false,
|
||||
"format": "\uf011",
|
||||
"on-click": "~/.config/rofi/powermenu/type-5/powermenu.sh"
|
||||
}
|
||||
}
|
13
waybar/.config/waybar/mocha.css
Normal file
13
waybar/.config/waybar/mocha.css
Normal file
|
@ -0,0 +1,13 @@
|
|||
:root {
|
||||
--base: #3c3836; /* Base background color */
|
||||
--text: #ebdbb2; /* Text color */
|
||||
--green: #b8bb26; /* Green */
|
||||
--red: #fb4934; /* Red */
|
||||
--lavender: #d5c4a1; /* Lavender */
|
||||
--flamingo: #ea6a6a; /* Flamingo */
|
||||
--mauve: #c79dff; /* Mauve */
|
||||
--blue: #83a598; /* Blue */
|
||||
--rosewater: #f5e0dc; /* Rosewater */
|
||||
--yellow: #fabd2f; /* Yellow */
|
||||
--peach: #f2b5d4; /* Peach */
|
||||
}
|
14
waybar/.config/waybar/scripts/change-wallpaper.sh
Executable file
14
waybar/.config/waybar/scripts/change-wallpaper.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
# !/usr/bash
|
||||
|
||||
if [ $(pgrep -c hyprpaper) -ne 0 ] ; then
|
||||
hyprctl hyprpaper unload all
|
||||
killall hyprpaper
|
||||
fi
|
||||
|
||||
TARGET="/home/archer/Downloads/wallpaper"
|
||||
WALLPAPER=$( find $TARGET -type f -regex '.*\.\(jpg\|jpeg\|png\|webp\)' | shuf -n 1 )
|
||||
|
||||
echo "preload = $WALLPAPER" > /home/archer/.config/hypr/hyprpaper.conf
|
||||
echo "wallpaper = eDP-1, $WALLPAPER" >> /home/archer/.config/hypr/hyprpaper.conf
|
||||
echo "splash = off" >> /home/archer/.config/hypr/hyprpaper.conf
|
||||
echo "ipc = off" >> /home/archer/.config/hypr/hyprpaper.conf
|
17
waybar/.config/waybar/scripts/check-updates.sh
Executable file
17
waybar/.config/waybar/scripts/check-updates.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
# !/usr/bash
|
||||
|
||||
sleep 60s
|
||||
|
||||
PACMAN_UPDATES_COUNT=$( checkupdates | wc -l)
|
||||
|
||||
sleep 30s
|
||||
|
||||
AUR_UPDATES_COUNT=$(pacman -Qm | aur vercmp | wc -l)
|
||||
|
||||
sleep 30s
|
||||
|
||||
TOTAL_UPDATES_COUNT=$((PACMAN_UPDATES_COUNT+AUR_UPDATES_COUNT))
|
||||
|
||||
if [ $TOTAL_UPDATES_COUNT -gt 0 ] ; then
|
||||
echo -e "\uf019"
|
||||
fi
|
0
waybar/.config/waybar/scripts/network.sh
Normal file
0
waybar/.config/waybar/scripts/network.sh
Normal file
11
waybar/.config/waybar/scripts/toggle-brightness.sh
Executable file
11
waybar/.config/waybar/scripts/toggle-brightness.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
# !/usr/bash
|
||||
|
||||
CURRENT_BRIGHTNESS=$( brightnessctl -m | awk -F, '{print $4}' | tr -d % )
|
||||
OLD_BRIGHTNESS=$( cat /etc/xdg/waybar/scripts/old-brightness.txt )
|
||||
|
||||
if [ "$CURRENT_BRIGHTNESS" -ne 1 ] ; then
|
||||
echo "$CURRENT_BRIGHTNESS" > /etc/xdg/waybar/scripts/old-brightness.txt;
|
||||
brightnessctl set 1%;
|
||||
else
|
||||
brightnessctl set "$OLD_BRIGHTNESS"%;
|
||||
fi
|
214
waybar/.config/waybar/style.css
Normal file
214
waybar/.config/waybar/style.css
Normal file
|
@ -0,0 +1,214 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
font-family: 'JetbrainsMono Nerd Font Mono';
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(30, 30, 46, 0.9);
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#window {
|
||||
color: white;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 30px;
|
||||
margin-right: 4px;
|
||||
padding: 0px 16px;
|
||||
transition: none;
|
||||
color: rgba(137, 220, 235, 1);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding: 2px 10px;
|
||||
margin-right: 2px;
|
||||
background: rgba(203, 166, 247, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px;
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #f38ba8;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
padding: 0px 16px;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
#memory {
|
||||
padding: 0px 16px;
|
||||
color: #cdd6f4; /* Text */
|
||||
}
|
||||
|
||||
#custom-update {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
color: #b4befe; /* Lavender */
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 16px;
|
||||
margin-right: 8px;
|
||||
color: #f38ba8; /* Flamingo */
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0px 16px;
|
||||
margin-right: 4px;
|
||||
color: #eff1f5; /* Text */
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
padding: 0px 8px;
|
||||
color: #eff1f5; /* Text */
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
font-size: 20px;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
margin-right: 4px;
|
||||
color: #f38ba8; /* Mauve */
|
||||
}
|
||||
|
||||
#temperature {
|
||||
padding: 0px 16px;
|
||||
margin-right: 8px;
|
||||
color: #89b4fa; /* Blue */
|
||||
}
|
||||
|
||||
#temperature.gpu {
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
padding: 0px 16px;
|
||||
padding-left: 0px;
|
||||
margin-right: 8px;
|
||||
color: #89b4fa; /* Blue */
|
||||
}
|
||||
|
||||
#temperature.critical,
|
||||
#temperature.gpu.critical {
|
||||
color: #d20f39; /* Red */
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
font-size: 18px;
|
||||
padding: 0px 8px;
|
||||
color: #a6e3a1; /* Rosewater */
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
padding: 0px 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
font-size: 22px;
|
||||
padding: 0px 8px;
|
||||
padding-left: 2px;
|
||||
color: #a6e3a1; /* Rosewater */
|
||||
}
|
||||
|
||||
#network {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-size: 18px;
|
||||
padding: 0px 16px;
|
||||
color: #f9e2af; /* Yellow */
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 16px;
|
||||
margin-right: 8px;
|
||||
color: #f9e2af; /* Yellow */
|
||||
}
|
||||
|
||||
#battery {
|
||||
padding: 0px 6px;
|
||||
padding-right: 16px;
|
||||
color: #fab387; /* Peach */
|
||||
}
|
||||
|
||||
#battery:hover {
|
||||
background: white;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
padding: 0px 16px;
|
||||
color: #eff1f5; /* Text */
|
||||
background: #40a02b; /* Green */
|
||||
}
|
||||
|
||||
#battery.good:not(.charging) {
|
||||
color: #fab387; /* 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 */
|
||||
}
|
||||
}
|
||||
|
||||
#custom-powerctl {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 16px;
|
||||
color: #40a02b; /* Green */
|
||||
background: #1e1e2e; /* Base */
|
||||
}
|
||||
|
||||
button:hover,
|
||||
#cpu:hover,
|
||||
#memory:hover,
|
||||
#custom-update:hover,
|
||||
#keyboard-state:hover,
|
||||
#clock:hover,
|
||||
#custom-weather:hover,
|
||||
#custom-wallpaper:hover,
|
||||
#temperature:hover,
|
||||
#pulseaudio:hover,
|
||||
#backlight:hover,
|
||||
#network:hover,
|
||||
#bluetooth:hover,
|
||||
#battery:hover,
|
||||
#custom-powerctl:hover {
|
||||
background: #313244; /* Slightly lighter shade for hover */
|
||||
box-shadow: 0 0 10px rgba(50, 50, 93, 0.25), 0 0 20px rgba(0, 0, 0, 0.25);
|
||||
color: #eff1f5; /* Brighten text color on hover */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue