Updated
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
# -*- conf -*-
|
# -*- conf -*-
|
||||||
|
|
||||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
shell=/bin/fish
|
||||||
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
# login-shell=no
|
# login-shell=no
|
||||||
|
|
||||||
# app-id=foot
|
app-id=foot
|
||||||
title=Terminal
|
title=Terminal
|
||||||
# locked-title=no
|
# locked-title=no
|
||||||
|
|
||||||
font=Roboto Mono:size=10
|
font=JetBrainsMono NF:size=12
|
||||||
# font-bold=<bold variant of regular font>
|
# font-bold=<bold variant of regular font>
|
||||||
# font-italic=<italic variant of regular font>
|
# font-italic=<italic variant of regular font>
|
||||||
# font-bold-italic=<bold+italic variant of regular font>
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
@@ -65,7 +65,7 @@ dpi-aware=no
|
|||||||
# alternate-scroll-mode=yes
|
# alternate-scroll-mode=yes
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
alpha=1.0
|
alpha=0.8
|
||||||
foreground=ffffff
|
foreground=ffffff
|
||||||
background=000000
|
background=000000
|
||||||
regular0=000000 # black
|
regular0=000000 # black
|
||||||
|
|||||||
248
waybar/config
Executable file → Normal file
248
waybar/config
Executable file → Normal file
@@ -1,52 +1,198 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top", // Waybar at top layer
|
||||||
"modules-left": ["river/tags"],
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
"modules-center": ["river/window"],
|
"height": 34, // Waybar height (to be removed for auto height)
|
||||||
"modules-right": ["tray", "battery", "pulseaudio","cpu", "temperature" ,"clock"],
|
// "width": 1280, // Waybar width
|
||||||
"pulseaudio": {
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
"tooltip": false,
|
// Choose the order of the modules
|
||||||
"scroll-step": 5,
|
"modules-left": ["hyprland/workspaces", "idle_inhibitor", "pulseaudio", "backlight", "network", "custom/updates"],
|
||||||
"format": "{icon} {volume}%",
|
"modules-center": ["hyprland/window"],
|
||||||
"format-muted": "婢 0%",
|
"modules-right": ["bluetooth", "cpu", "memory", "temperature", "battery", "tray", "clock"],
|
||||||
"on-click":"amixer -D pulse Master 1+ toggle",
|
// Modules configuration
|
||||||
"scroll-step": 5,
|
"hyprland/workspaces": {
|
||||||
"format-icons": {
|
"disable-scroll": true,
|
||||||
"default": ["", "", ""]
|
"on-click": "activate",
|
||||||
}
|
// "all-outputs": false,
|
||||||
},
|
// "format": "{name}: {icon}",
|
||||||
"temperature": {
|
"format": "{name}",
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
"on-scroll-up": "hyprctl dispatch workspace m-1 > /dev/null",
|
||||||
"format": " {temperatureC}°C"
|
"on-scroll-down": "hyprctl dispatch workspace m+1 > /dev/null",
|
||||||
},
|
"format-icons": {
|
||||||
"river/window": {
|
"1": "",
|
||||||
"format": "{}",
|
"2": "",
|
||||||
"max-length": 90
|
"3": "",
|
||||||
},
|
"4": "",
|
||||||
"battery": {
|
"5": "",
|
||||||
"states": {
|
"urgent": "",
|
||||||
"good": 100,
|
"focused": "",
|
||||||
"warning": 30,
|
"default": ""
|
||||||
"critical": 20
|
}
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"keyboard-state": {
|
||||||
"format-charging": "{icon} {capacity}%",
|
"numlock": false,
|
||||||
"format-plugged": "{icon} {capacity}%",
|
"capslock": false,
|
||||||
"format-alt": "{time} {icon}",
|
"format": "{name} {icon}",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": {
|
||||||
},
|
"locked": "",
|
||||||
"tray":{
|
"unlocked": ""
|
||||||
"icon-size":18,
|
}
|
||||||
"show-passive-items":true,
|
},
|
||||||
"spacing": 10,
|
"hyprland/window": {
|
||||||
"reverse-direction": true
|
"max-length": 50,
|
||||||
},
|
"separate-outputs": true
|
||||||
"clock": {
|
},
|
||||||
"interval": 60,
|
"sway/mode": {
|
||||||
"format": "{:%H:%M}",
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
"max-length": 25
|
},
|
||||||
},
|
"sway/scratchpad": {
|
||||||
"cpu": {
|
"format": "{icon} {count}",
|
||||||
"interval": 10,
|
"show-empty": false,
|
||||||
"format": "{usage}% - {avg_frequency}Ghz",
|
"format-icons": ["", ""],
|
||||||
}
|
"tooltip": true,
|
||||||
}
|
"tooltip-format": "{app}: {title}"
|
||||||
|
},
|
||||||
|
"mpd": {
|
||||||
|
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
||||||
|
"format-disconnected": "Disconnected ",
|
||||||
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||||
|
"unknown-tag": "N/A",
|
||||||
|
"interval": 2,
|
||||||
|
"consume-icons": {
|
||||||
|
"on": " "
|
||||||
|
},
|
||||||
|
"random-icons": {
|
||||||
|
"off": "<span color=\"#f53c3c\"></span> ",
|
||||||
|
"on": " "
|
||||||
|
},
|
||||||
|
"repeat-icons": {
|
||||||
|
"on": " "
|
||||||
|
},
|
||||||
|
"single-icons": {
|
||||||
|
"on": "1 "
|
||||||
|
},
|
||||||
|
"state-icons": {
|
||||||
|
"paused": "",
|
||||||
|
"playing": ""
|
||||||
|
},
|
||||||
|
"tooltip-format": "MPD (connected)",
|
||||||
|
"tooltip-format-disconnected": "MPD (disconnected)"
|
||||||
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
// "icon-size": 21,
|
||||||
|
"spacing": 0
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
// "timezone": "America/New_York",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": "{usage}% ",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": "{}% "
|
||||||
|
},
|
||||||
|
"temperature": {
|
||||||
|
// "thermal-zone": 2,
|
||||||
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
// "format-critical": "{temperatureC}°C {icon}",
|
||||||
|
"format": "{temperatureC}°C {icon}",
|
||||||
|
"format-icons": ["", "", ""]
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
// "device": "acpi_video1",
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
// "good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{capacity}% {icon}",
|
||||||
|
"format-charging": "{capacity}% ⚡",
|
||||||
|
"format-plugged": "{capacity}% ",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
// "format-good": "", // An empty format will hide the module
|
||||||
|
// "format-full": "",
|
||||||
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery#bat2": {
|
||||||
|
"bat": "BAT2"
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"format-wifi": "{essid} ",
|
||||||
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
"format-disconnected": "Disconnected ⚠",
|
||||||
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 10, // %, can be a float
|
||||||
|
"format": "{volume}%{icon} {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {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": "pavucontrol"
|
||||||
|
},
|
||||||
|
"bluetooth": {
|
||||||
|
"format": " {status} ",
|
||||||
|
"format-disabled": "", // an empty format will hide the module
|
||||||
|
"format-connected": " {device_alias} ",
|
||||||
|
"tooltip-format": "{device_alias} ",
|
||||||
|
"tooltip-format-connected": " {device_alias} ",
|
||||||
|
"tooltip-format-enumerate-connected": "{device_alias} "
|
||||||
|
},
|
||||||
|
"custom/notification": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format": "{} {icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"notification": "<span foreground='red'><sup></sup></span> ",
|
||||||
|
"none": "",
|
||||||
|
"dnd-notification": "<span foreground='red'><sup></sup></span> ",
|
||||||
|
"dnd-none": "",
|
||||||
|
"inhibited-notification": "<span foreground='red'><sup></sup></span> ",
|
||||||
|
"inhibited-none": "",
|
||||||
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span> ",
|
||||||
|
"dnd-inhibited-none": ""
|
||||||
|
},
|
||||||
|
"return-type": "json",
|
||||||
|
"exec-if": "which swaync-client",
|
||||||
|
"exec": "swaync-client -swb",
|
||||||
|
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||||
|
"on-click-right": "swaync-client -d -sw",
|
||||||
|
"escape": true
|
||||||
|
},
|
||||||
|
"custom/updates": {
|
||||||
|
"format": "{} {icon}",
|
||||||
|
"return-type": "json",
|
||||||
|
"format-icons": {
|
||||||
|
"has-updates": "",
|
||||||
|
"updated": ""
|
||||||
|
},
|
||||||
|
"exec-if": "which waybar-module-pacman-updates",
|
||||||
|
"exec": "waybar-module-pacman-updates"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
214
waybar/style.css
214
waybar/style.css
@@ -1,148 +1,98 @@
|
|||||||
|
@define-color base00 #ff0000;
|
||||||
|
@define-color base01 #1a1a1a;
|
||||||
|
@define-color base02 #363636;
|
||||||
|
@define-color base03 #ffffff;
|
||||||
|
@define-color base04 #cfac78;
|
||||||
|
@define-color base05 #cfac78;
|
||||||
|
@define-color base06 #e8e8e8;
|
||||||
|
@define-color base07 #f8f8f8;
|
||||||
|
@define-color base08 #ab4642;
|
||||||
|
@define-color base09 #dc9656;
|
||||||
|
@define-color base0A #f7ca88;
|
||||||
|
@define-color base0B #a1b56c;
|
||||||
|
@define-color base0C #86c1b9;
|
||||||
|
@define-color base0D #7cafc2;
|
||||||
|
@define-color base0E #ba8baf;
|
||||||
|
@define-color base0F #a16946;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
transition: none;
|
||||||
border-radius: 0;
|
box-shadow: none;
|
||||||
font-family: "JetbrainsMono Nerd Font";
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
#waybar {
|
||||||
background: none;
|
font-family: 'Source Code Pro', sans-serif;
|
||||||
|
font-size: 1.2em;
|
||||||
|
font-weight: 400;
|
||||||
|
color: @base04;
|
||||||
|
background: @base01;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.hidden {
|
#workspaces {
|
||||||
opacity: 0.2;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#workspaces button {
|
||||||
margin-top: 6px;
|
margin: 4px 0;
|
||||||
padding-left: 10px;
|
padding: 0 4px;
|
||||||
padding-right: 10px;
|
color: @base05;
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
background: #2e3440;
|
|
||||||
color: #d8dee9;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#tags {
|
#workspaces button.visible {
|
||||||
margin-top: 6px;
|
|
||||||
margin-right: 12px;
|
|
||||||
margin-left: 12px;
|
|
||||||
font-size: 4px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#tags button {
|
#workspaces button.active {
|
||||||
transition: none;
|
border-radius: 4px;
|
||||||
color: #4c566a;
|
background-color: #8c4b00;
|
||||||
background: transparent;
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#tags button.occupied {
|
#workspaces button.urgent {
|
||||||
transition: none;
|
color: rgba(238, 46, 36, 1);
|
||||||
color: #a3be8c;
|
|
||||||
background: transparent;
|
|
||||||
font-size: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tags button.focused {
|
|
||||||
color: #81a1c1;
|
|
||||||
border-bottom: 2px solid #81a1c1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tags button:hover {
|
|
||||||
transition: none;
|
|
||||||
box-shadow: inherit;
|
|
||||||
text-shadow: inherit;
|
|
||||||
color: #81a1c1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature {
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-left: 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
padding: 0 10px;
|
|
||||||
color: #a3be8c;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-left: 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
padding: 0 10px;
|
|
||||||
color: #a3be8c;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cpu {
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-left: 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
padding: 0 10px;
|
|
||||||
color: #a3be8c;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-left: 12px;
|
|
||||||
margin-right: 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
padding: 0 10px;
|
|
||||||
color: #a3be8c;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery {
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-left: 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
padding: 10px 10px;
|
|
||||||
color: #a3be8c;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
background-color: #d8dee9;
|
|
||||||
color: #2e3440;
|
|
||||||
animation-name: blink;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-timing-function: linear;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
background-color: #bf616a;
|
|
||||||
color: #d8dee9;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight {
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-left: 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: none;
|
|
||||||
padding: 10px 10px;
|
|
||||||
color: #88c0d0;
|
|
||||||
background: #2e3440;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
margin-top: 6px;
|
margin: 4px 4px 4px 4px;
|
||||||
margin-right: 12px;
|
border-radius: 4px;
|
||||||
border-radius: 5px;
|
background-color: @base02;
|
||||||
padding-left: 10px;
|
}
|
||||||
padding-right: 10px;
|
|
||||||
color: #d8dee9;
|
#tray * {
|
||||||
background: #2e3440;
|
padding: 0 6px;
|
||||||
}
|
border-left: 1px solid @base00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray *:first-child {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode, #battery, #cpu, #memory, #bluetooth, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-updates, #custom-weather, #custom-mail, #clock, #temperature {
|
||||||
|
margin: 4px 2px;
|
||||||
|
padding: 0 6px;
|
||||||
|
background-color: @base02;
|
||||||
|
border-radius: 4px;
|
||||||
|
min-width: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
color: @base0F;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.bluetooth {
|
||||||
|
color: @base0C;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 4px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
color: @base0F;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
font-size: 0.9em;
|
||||||
|
font-weight: 400;
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user