feat: ricing
This commit is contained in:
2
hypr/.config/hypr/hyprpaper.conf
Normal file
2
hypr/.config/hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
preload = ~/wallpapers/camp.jpg
|
||||||
|
wallpaper = DP-1, ~/wallpapers/camp.jpg
|
||||||
@@ -1,196 +1,140 @@
|
|||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top",
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
"position": "top",
|
||||||
"height": 34, // Waybar height (to be removed for auto height)
|
"spacing": 0,
|
||||||
// "width": 1280, // Waybar width
|
"height": 34,
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"modules-left": [
|
||||||
// Choose the order of the modules
|
"custom/logo",
|
||||||
"modules-left": ["hyprland/workspaces", "idle_inhibitor", "pulseaudio", "backlight", "network", "custom/updates"],
|
"hyprland/workspaces"
|
||||||
"modules-center": ["hyprland/window"],
|
],
|
||||||
"modules-right": ["hyprland/submap", "hyprland/language", "cpu", "memory", "temperature", "battery", "tray", "clock"],
|
"modules-center": [
|
||||||
// Modules configuration
|
"clock"
|
||||||
"hyprland/workspaces": {
|
],
|
||||||
"disable-scroll": true,
|
"modules-right": [
|
||||||
"on-click": "activate",
|
"tray",
|
||||||
// "all-outputs": false,
|
"memory",
|
||||||
// "format": "{name}: {icon}",
|
"network",
|
||||||
"format": "{name}",
|
"wireplumber",
|
||||||
"on-scroll-up": "hyprctl dispatch workspace m-1 > /dev/null",
|
"battery",
|
||||||
"on-scroll-down": "hyprctl dispatch workspace m+1 > /dev/null",
|
"custom/power"
|
||||||
"format-icons": {
|
],
|
||||||
"1": "",
|
"wlr/taskbar": {
|
||||||
"2": "",
|
"format": "{icon}",
|
||||||
"3": "",
|
"on-click": "activate",
|
||||||
"4": "",
|
"on-click-right": "fullscreen",
|
||||||
"5": "",
|
"icon-theme": "WhiteSur",
|
||||||
"urgent": "",
|
"icon-size": 25,
|
||||||
"focused": "",
|
"tooltip-format": "{title}"
|
||||||
"default": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"keyboard-state": {
|
|
||||||
"numlock": false,
|
|
||||||
"capslock": false,
|
|
||||||
"format": "{name} {icon}",
|
|
||||||
"format-icons": {
|
|
||||||
"locked": "",
|
|
||||||
"unlocked": ""
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"hyprland/window": {
|
"hyprland/workspaces": {
|
||||||
"max-length": 50,
|
"on-click": "activate",
|
||||||
"separate-outputs": true
|
|
||||||
},
|
|
||||||
"hyprland/language": {
|
|
||||||
"format": "{}",
|
|
||||||
"max-length": 18
|
|
||||||
},
|
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"sway/scratchpad": {
|
|
||||||
"format": "{icon} {count}",
|
|
||||||
"show-empty": false,
|
|
||||||
"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": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"default": "",
|
||||||
"deactivated": ""
|
"1": "1",
|
||||||
|
"2": "2",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4",
|
||||||
|
"5": "5",
|
||||||
|
"6": "6",
|
||||||
|
"7": "7",
|
||||||
|
"8": "8",
|
||||||
|
"9": "9",
|
||||||
|
"active": "",
|
||||||
|
"urgent": ""
|
||||||
|
},
|
||||||
|
"persistent-workspaces": {
|
||||||
|
"1": [],
|
||||||
|
"2": [],
|
||||||
|
"3": [],
|
||||||
|
"4": [],
|
||||||
|
"5": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"memory": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {}%",
|
||||||
|
"max-length": 10
|
||||||
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
// "icon-size": 21,
|
"spacing": 10
|
||||||
"spacing": 0
|
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
// "timezone": "America/New_York",
|
"tooltip-format": "{calendar}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"format-alt": " {:%a, %d %b %Y}",
|
||||||
"format-alt": "{:%Y-%m-%d}"
|
"format": " {:%I:%M %p}"
|
||||||
},
|
|
||||||
"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": {
|
"network": {
|
||||||
// "interface": "wlan0", // (Optional) To force the use of this interface
|
"format-wifi" : "{icon}",
|
||||||
// "format-wifi": "{essid} ",
|
"format-icons": ["","","","",""],
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
"format-ethernet": "",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"format-alt" : "",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-disconnected" : "",
|
||||||
"format-disconnected": "Disconnected ⚠",
|
"tooltip-format-wifi": "{icon} {essid}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
"tooltip-format-ethernet": " {ifname}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||||
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
|
"on-click": "~/.config/rofi/wifi/wifi.sh &",
|
||||||
|
"on-click-right": "~/.config/rofi/wifi/wifinew.sh &",
|
||||||
|
"interval": 5,
|
||||||
|
"nospacing": 1,
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"wireplumber": {
|
||||||
// "scroll-step": 10, // %, can be a float
|
"format": "{icon}",
|
||||||
"format": "{volume}%{icon} {format_source}",
|
"format-bluetooth": "",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"nospacing": 1,
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
"tooltip-format": "Volume : {volume}%",
|
||||||
"format-muted": " {format_source}",
|
"format-muted": "",
|
||||||
"format-source": "{volume}% ",
|
|
||||||
"format-source-muted": "",
|
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
"hands-free": "",
|
"default": ["","",""]
|
||||||
"headset": "",
|
|
||||||
"phone": "",
|
|
||||||
"portable": "",
|
|
||||||
"car": "",
|
|
||||||
"default": ["", "", ""]
|
|
||||||
},
|
},
|
||||||
"on-click": "wiremix"
|
"on-click": "pamixer -t",
|
||||||
|
"scroll-step": 1
|
||||||
},
|
},
|
||||||
"custom/notification": {
|
"custom/logo": {
|
||||||
|
"format": " ",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"format": "{} {icon}",
|
"on-click": "~/.config/rofi/launchers/misc/launcher.sh &"
|
||||||
"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": {
|
"battery": {
|
||||||
"format": "{} {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"return-type": "json",
|
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"has-updates": "",
|
"charging": [
|
||||||
"updated": ""
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"exec-if": "which waybar-module-pacman-updates",
|
"format-full": "Charged ",
|
||||||
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300 --tooltip-align-columns 'Source Code Pro' --color-semver-updates F15D22,FFCE51,73C48F,48B9C7,88807C"
|
"interval": 5,
|
||||||
|
"states": {
|
||||||
|
"warning": 20,
|
||||||
|
"critical": 10
|
||||||
|
},
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "~/.config/rofi/powermenu/type-2/powermenu.sh &"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,104 +1,133 @@
|
|||||||
@define-color base00 #181818;
|
|
||||||
@define-color base01 #2b2e37;
|
|
||||||
@define-color base02 #3b3e47;
|
|
||||||
@define-color base03 #585858;
|
|
||||||
@define-color base04 #b8b8b8;
|
|
||||||
@define-color base05 #d8d8d8;
|
|
||||||
@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;
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
transition: none;
|
border: none;
|
||||||
box-shadow: none;
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
font-family: JetBrainsMono Nerd Font;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#waybar {
|
window#waybar {
|
||||||
font-family: 'Source Code Pro', sans-serif;
|
background-color: #181825;
|
||||||
font-size: 1.2em;
|
transition-property: background-color;
|
||||||
font-weight: 400;
|
transition-duration: 0.5s;
|
||||||
color: @base04;
|
}
|
||||||
background: @base01;
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin: 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
margin: 4px 0;
|
|
||||||
padding: 0 4px;
|
|
||||||
color: @base05;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.visible {
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active {
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: @base02;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.urgent {
|
|
||||||
color: rgba(238, 46, 36, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
|
||||||
margin: 4px 4px 4px 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: @base02;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray * {
|
|
||||||
padding: 0 6px;
|
|
||||||
border-left: 1px solid @base00;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray *:first-child {
|
|
||||||
border-left: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode, #battery, #cpu, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-updates, #custom-weather, #custom-mail, #clock, #temperature, #language{
|
|
||||||
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;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#temperature.critical {
|
#workspaces button {
|
||||||
color: @base0F;
|
all: initial;
|
||||||
|
/* Remove GTK theme values (waybar #1351) */
|
||||||
|
min-width: 0;
|
||||||
|
/* Fix weird spacing in materia (waybar #450) */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
padding: 6px 18px;
|
||||||
|
margin: 6px 3px;
|
||||||
|
border-radius: 4px;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
color: #cdd6f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#workspaces button.active {
|
||||||
font-size: 0.9em;
|
color: #1e1e2e;
|
||||||
font-weight: 400;
|
background-color: #cdd6f4;
|
||||||
font-family: sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#language {
|
#workspaces button:hover {
|
||||||
font-size: 0.9em;
|
box-shadow: inherit;
|
||||||
font-weight: 500;
|
text-shadow: inherit;
|
||||||
letter-spacing: -1px;
|
color: #1e1e2e;
|
||||||
|
background-color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory,
|
||||||
|
#custom-power,
|
||||||
|
#battery,
|
||||||
|
#backlight,
|
||||||
|
#wireplumber,
|
||||||
|
#network,
|
||||||
|
#clock,
|
||||||
|
#tray {
|
||||||
|
border-radius: 4px;
|
||||||
|
margin: 6px 3px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
color: #181825;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-power {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-logo {
|
||||||
|
padding-right: 7px;
|
||||||
|
padding-left: 7px;
|
||||||
|
margin-left: 5px;
|
||||||
|
font-size: 15px;
|
||||||
|
border-radius: 8px 0px 0px 8px;
|
||||||
|
color: #1793d1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
background-color: #fab387;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.warning,
|
||||||
|
#battery.critical,
|
||||||
|
#battery.urgent {
|
||||||
|
background-color: #ff0000;
|
||||||
|
color: #FFFF00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging {
|
||||||
|
background-color: #a6e3a1;
|
||||||
|
color: #181825;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
background-color: #fab387;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber {
|
||||||
|
background-color: #f9e2af;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
background-color: #94e2d5;
|
||||||
|
padding-right: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
font-family: JetBrainsMono Nerd Font;
|
||||||
|
background-color: #cba6f7;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-power {
|
||||||
|
background-color: #f2cdcd;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: #131822;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip label {
|
||||||
|
padding: 5px;
|
||||||
|
background-color: #131822;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user