Add .config/waybar/_modules/dualsense-notifier.sh

Add .config/waybar/_modules/storage.sh
Add .config/waybar/_modules/wittr.sh
Add .config/waybar/dracula/colors.css
Add .config/waybar/dracula/config
Add .config/waybar/dracula/style.css
Add .config/waybar/geo/config
Add .config/waybar/geo/weather.sh
Add .config/waybar/geo/style.css
Add .config/waybar/jinks/bak.css
Add .config/waybar/jinks/colors.css
Add .config/waybar/jinks/config
Add .config/waybar/jinks/style.css
Add .config/waybar/siren/config
Add .config/waybar/siren/style.css
Add .config/waybar/sway/config
Add .config/waybar/sway/config.save
Add .config/waybar/sway/style.css
This commit is contained in:
Jinks 2025-01-02 03:08:16 +01:00
parent 9fc7bf8ecb
commit c2f4366fd0
18 changed files with 2122 additions and 0 deletions

View file

@ -0,0 +1,81 @@
@import url("./colors.css");
* {
border: none;
border-radius: 0;
font-family: InputSans Nerd Font;
font-size: 12px;
min-height: 0;
}
window#waybar {
opacity: 0.9;
background: transparent;
color: @foreground;
border-bottom: 2px solid @background;
}
#workspaces {
margin-top: 0px;
margin-left: 0px;
margin-bottom: 0;
border-radius: 26px;
background: @background;
transition: none;
}
#workspaces button {
padding: 0 10px;
background: transparent;
color: @foreground;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.active {
/*background-image: linear-gradient(0deg, @purple, @selection);*/
background-image: -gtk-gradient (linear,
0.5 0, 0.5 1,
color-stop(0.2, #313c54),
color-stop(1, #556892)
);
}
#workspaces button.urgent {
background-image: linear-gradient(0deg, @red, @background-darker);
}
#taskbar button.active {
background-image: linear-gradient(0deg, @selection, @background-darker);
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#network,
#pulseaudio,
#wireplumber,
#bluetooth,
#tray,
#idle_inhibitor,
#mpris,
#keyboard-state,
#battery,
#custom-swaync,
#custom-storage,
#custom-power
{
padding: 0 7px;
opacity: 0.75;
background: @background;
}
#temperature.critical {
color: @red;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: @red;
}

View file

@ -0,0 +1,12 @@
@define-color background-darker rgba(30, 31, 41, 230);
@define-color background #282a36;
@define-color selection #44475a;
@define-color foreground #f8f8f2;
@define-color comment #6272a4;
@define-color cyan #8be9fd;
@define-color green #50fa7b;
@define-color orange #ffb86c;
@define-color pink #ff79c6;
@define-color purple #bd93f9;
@define-color red #ff5555;
@define-color yellow #f1fa8c;

View file

@ -0,0 +1,262 @@
{
"layer": "bottom", // (top|bottom|overlay)
"position": "top", // (top|bottom|left|right)
"height": 16, // leave blank for a dynamic value
"spacing": 0, // Gaps between modules
"fixed-center": false,
"modules-left": [
"hyprland/workspaces",
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"custom/swaync",
"idle_inhibitor",
"cpu",
"memory",
"temperature#cpu",
"temperature#gpu",
"custom/storage",
"network",
"bluetooth",
"battery",
"pulseaudio",
"tray",
"clock",
"custom/weather",
"custom/power",
],
// Module Config
"hyprland/workspaces": {
"format": "{id}",
"smooth-scrolling-threshold": 1.0,
"on-scroll-up": "hyprctl dispatch workspace m-1",
"on-scroll-down": "hyprctl dispatch workspace m+1",
"on-click": "activate"
},
"hyprland/window": {
"max-length": 200,
"on-scroll-up": "hyprctl dispatch workspace m-1",
"on-scroll-down": "hyprctl dispatch workspace m+1",
"separate-outputs": true
},
"tray": {
"icon-size": 15,
"spacing": 4
},
"custom/swaync": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "<span foreground='red'> </span>",
"none": " ",
"dnd-notification": "<span foreground='red'> </span>",
"dnd-none": " ",
"inhibited-notification": "<span foreground='red'> </span>",
"inhibited-none": " ",
"dnd-inhibited-notification": "<span foreground='red'> </span>",
"dnd-inhibited-none": " "
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"cpu": {
"format": " {max_frequency}GHz | {usage}%" ,
},
"memory": {
"format": "󰮌 {}%",
"on-click": "missioncenter"
},
"temperature#gpu": {
"hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:03.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/hwmon",
"input-filename": "temp2_input",
"critical-threshold": 110,
"interval": 5,
"format": "{icon} {temperatureC}°C",
"format-icons": [
"", // Icon: temperature-empty
"", // Icon: temperature-quarter
"", // Icon: temperature-half
"", // Icon: temperature-three-quarters
"" // Icon: temperature-full
],
"tooltip": true
},
"temperature#cpu": {
"hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:18.3/hwmon/",
"input-filename": "temp1_input",
"critical-threshold": 90,
"interval": 5,
"format": "{icon} {temperatureC}°C",
"format-icons": [
"", // Icon: temperature-empty
"", // Icon: temperature-quarter
"", // Icon: temperature-half
"", // Icon: temperature-three-quarters
"" // Icon: temperature-full
],
"tooltip": true,
"on-click": "xsensors"
},
"custom/storage": {
"format": " {}",
"format-alt": "{percentage}% ",
"format-alt-click": "click-right",
"return-type": "json",
"interval": 60,
"exec": "~/.config/waybar/_modules/storage.sh"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-ethernet": "󰌗 {bandwidthUpBytes} {bandwidthDownBytes}",
"format-wifi": " {bandwidthUpBytes} {bandwidthDownBytes}",
"tooltip-format": "[{ipaddr}/{cidr}] {ifname} via {gwaddr}",
"tooltip-format-wifi": "{essid} {frequency}MHz\nStrength: {signaldBm}dBm ({signalStrength}%)\n[{ipaddr}/{cidr}] {ifname} via {gwaddr}",
"format-linked": "󰌗 {ifname} (No IP)",
"format-disconnected": "⚠ Disconnected",
"interval": 10,
"on-click": "nm-connection-editor",
"on-click-right": "rfkill toggle wlan"
},
"battery": {
"interval": 2,
"states": {
"good": 85,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "󱐋 {capacity}%",
"format-plugged": " {capacity}%",
"format-icons": [
"", "", "", "", ""
]
},
"bluetooth": {
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
"format-on": "",
"format-off": "",
"format-disabled": "󰂲", // an empty format will hide the module
"format-connected": " 󰾰 {num_connections}",
"tooltip-format": "{controller_alias}\t[{controller_address}]",
"tooltip-format-connected": "{controller_alias}\t[{controller_address}]\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t[{device_address}]",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t {device_battery_percentage}%\t[{device_address}]",
"on-click": "blueman-manager",
"on-click-right": "rfkill toggle bluetooth"
},
"wireplumber": {
"format": "{icon} {volume}%",
"format-muted": "󰖁 MUTE",
"on-click": "pulsecontrol",
"format-icons": ["󰕿", "󰖀", "󰕾"]
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": " {icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": "{icon} 󰖁 {format_source}",
"format-muted": "󰖁 {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["󰕿", "󰖀", "󰕾"]
},
"on-click": "pulsecontrol"
},
"clock": {
"format": " {:%H:%M %Z}",
"tooltip-format": "<big>{:%B %d %Y}</big>\n<tt>{calendar}</tt>",
"format-alt": " {:%a, %d %b, W%V %Y} ",
"calendar": {
"mode" : "month",
"weeks-pos" : "right",
"format": {
"months": "<span color='#475060'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"on-click-right": "gsimplecal"
},
"custom/power": {
"format": "",
"tooltip": false,
"on-click": "wlogout"
},
"custom/weather": {
"exec": "~/.config/waybar/_modules/wittr.sh",
"return-type": "json",
"format": "{}",
"tooltip": true,
"interval": 900
},
// Unused modules
// "keyboard-state": {
// "numlock": true,
// "capslock": true,
// "format": "{name} {icon}",
// "format-icons": {
// "locked": "",
// "unlocked": ""
// }
// },
// "disk": {
// "format": " {percentage_used}%",
// "tooltip-format": "{used} of {total} on {path}",
// "path": "/"
// },
// "mpris": {
// "format": "{player_icon} {artist} - {title}",
// "format-paused": "{status_icon} {artist} - {title}",
// "player-icons": {
// "default": "⏵",
// "mpv": "󰝚"
// },
// "status-icons": {
// "paused": "⏯"
// },
// "ignored-players": ["firefox"]
// },
}

View file

@ -0,0 +1,108 @@
* {
border: none;
font-family: InputSans Nerd Font;
font-size: 12px;
color: #ffffff;
border-radius: 20px;
}
window {
/*font-weight: bold;*/
}
window#waybar {
background: rgba(0, 0, 0, 0);
}
/*-----module groups----*/
.modules-left {
margin: 1px 0 1px 5px;
background-color: #282a36;
}
.modules-center {
background-color: rgba(0,43,51,0.85);
background: rgba(0, 0, 0, 0);
margin: 2px 0 0 0;
}
.modules-right {
background-color: rgba(0,43,51,0.85);
margin: 1px 10px 1px 0;
}
/*-----modules indv----*/
#workspaces button {
margin: -5px 0;
padding: 0px 5px;
background-color: transparent;
}
#workspaces button:hover {
box-shadow: inherit;
background-color: #44475a;
}
#workspaces button.active {
box-shadow: inherit;
background-image: -gtk-gradient (linear,
0.5 0, 0.5 1,
color-stop(0.2, #313c54),
color-stop(1, #556892)
);
}
#workspaces button.urgent {
box-shadow: inherit;
background-image: -gtk-gradient (linear,
0.5 0, 0.5 1,
color-stop(0.2, #313c54),
color-stop(1, #eb4d4b)
);
}
#clock,
#battery,
#cpu,
#memory,
#temperature,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#custom-power,
#custom-menu,
#idle_inhibitor {
padding: 0 10px;
}
#mode {
color: #cc3436;
font-weight: bold;
}
#custom-power {
background-color: rgba(0,119,179,0.6);
border-radius: 100px;
margin: 0px 5px;
padding: 1px 1px 1px 6px;
}
/*-----Indicators----*/
#idle_inhibitor.activated {
color: #2dcc36;
}
#pulseaudio.muted {
color: #cc3436;
}
#battery.charging {
color: #2dcc36;
}
#battery.warning:not(.charging) {
color: #e6e600;
}
#battery.critical:not(.charging) {
color: #cc3436;
}
#temperature.critical {
color: #cc3436;
}
/*-----Colors----*/
/*
*rgba(0,85,102,1),#005566 --> Indigo(dye)
*rgba(0,43,51,1),#002B33 --> Dark Green
*rgba(0,153,153,1),#009999 --> Persian Green
*
*/