Duplicate sericea configs into hyprland

This commit is contained in:
2024-08-27 13:39:37 -05:00
parent 11beb9b182
commit 9783051217
22 changed files with 1514 additions and 0 deletions

View File

@@ -0,0 +1,130 @@
[{
"id": "top",
"name": "top",
"layer": "top",
"height": 40,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["tray"],
"sway/workspaces": {
"all-outputs": false,
"disable-scroll": true,
"persistent-workspaces": {
"1": ["eDP-1", "DP-1"],
"2": ["eDP-1", "DP-1"],
"3": ["eDP-1", "DP-1"],
"4": ["eDP-1", "DP-1"],
"5": ["eDP-1", "DP-1"],
"6": ["eDP-1", "DP-1"],
"7": ["eDP-1", "DP-1"],
"8": ["eDP-1", "DP-2"],
"9": ["eDP-1", "DP-2"],
"10": ["eDP-1", "DP-2"],
"11": ["eDP-1", "DP-2"]
}
},
"sway/window": {
},
"tray": {
"icon-size": 16,
"spacing": 10
}
},
{
"id": "bottom",
"name": "bottom",
"layer": "top",
"position": "bottom",
"height": 40,
"modules-left": ["gamemode", "custom/backup", "battery", "temperature", "cpu", "memory", "network"],
"modules-center": [],
"modules-right": ["mpris", "pulseaudio", "backlight", "idle_inhibitor", "clock"],
"clock": {
"format": "{:%a %b %d %I:%M %p}",
"tooltip": false
},
"network": {
"interval": 5,
"format": " {bandwidthUpBytes}  {bandwidthDownBytes}",
"format-disconnected": ""
},
"battery": {
"states": {
"good": 100,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "{icon} {capacity}%",
"format-plugged": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""]
},
"backlight": {
"format": " {percent}%"
},
"idle_inhibitor": {
"format": ""
},
"gamemode": {
"format": "{glyph}",
"glyph": "",
"use-icon": false,
"icon-spacing": 0,
"icon-size": 0
},
"pulseaudio": {
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-icons": {
"default": ["", "", ""]
},
"on-scroll-up": "/usr/libexec/sway/volume-helper --limit 100 --increase 5",
"on-scroll-down": "/usr/libexec/sway/volume-helper --limit 100 --decrease 5",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle && /usr/libexec/sway/volume-helper"
},
"cpu": {
"interval": 3,
"format": " {usage}%",
"states": {
"critical": 90,
"warning": 80,
"regular": 50
}
},
"memory": {
"interval": 5,
"format": " {percentage}% <span font-size=\"7pt\">{swapPercentage}%</span>",
"states": {
"critical": 90,
"warning": 80,
"regular": 50
}
},
"temperature": {
"format": " {temperatureC}°",
"critical-threshold": 80
},
"mpris": {
"interval": 1,
"artist-len": 30,
"album-len": 30,
"title-len": 40,
"format": "{player_icon} - {dynamic}",
"ignored-players": [
"firefox"
],
"player-icons": {
"default": "♫"
},
"status-icons": {
"playing": "⏵",
"paused": "⏸",
"stopped": "⏹"
}
},
"custom/backup": {
"interval": 60,
"format": "",
"exec": "systemctl is-failed backup.service"
}
}]

View File

@@ -0,0 +1,178 @@
/*
* style.css
* Copyright (C) 2021 Vintage Salt
*
* Distributed under terms of the MIT license.
*/
* {
border: none;
border-radius: 0;
font-family: "IBM Plex Sans", "Font Awesome 6 Free", sans-serif;
font-size: 13px;
}
window#waybar {
background: #282828;
}
window#waybar.top {
background: linear-gradient(0deg, rgba(40,40,40,0) 0%, rgba(40,40,40,1) 80%);
}
window#waybar.bottom {
background: linear-gradient(180deg, rgba(40,40,40,0) 0%, rgba(40,40,40,1) 80%);
}
/* swaywm stuff */
#workspaces {
}
#workspaces button {
/* Any random button */
background: transparent;
color: #a89984;
padding: 0 0.9em;
}
#workspaces button:hover {
/* A button that is currently being hovered over by the mouse cursor */
/* This comes with free transitions */
box-shadow: inherit;
text-shadow: inherit;
background-color: #504945;
}
#workspaces button.visible {
color: #282828;
background: #504945;
font-weight: bold;
}
#workspaces button.focused {
color: #282828;
background: #83a598;
font-weight: bold;
}
#workspaces button.urgent {
color: #fabd2f;
font-weight: bold;
}
#workspaces button.persistent {
color: #504945;
}
#mode {
background: #fb4934;
color: #ebdbb2;
padding: 0 1em;
}
/* widgets */
#window {
color: #ebdbb2;
}
#pulseaudio {
padding: 0 1em;
color: #ebdbb2;
}
#pulseaudio.muted {
border-top: 4px solid #fb4934;
border-bottom: 4px solid #282828;
}
#tray {
padding: 0 1em;
}
#mpris {
padding: 0 1em;
}
#mpris.playing {
color: #d3869b;
}
#mpris.paused, #mpris.stopped {
color: #504945;
}
#network {
padding: 0 1em;
color: #504945;
}
#network.disconnected {
color: #fb4934;
}
#idle_inhibitor {
padding: 0 1em;
}
#idle_inhibitor.deactivated {
color: #504945;
}
#idle_inhibitor.activated {
color: #ebdbb2;
}
#backlight {
padding: 0 1em;
color: #ebdbb2;
}
#gamemode {
padding: 0 1em;
color: #504945;
}
#gamemode.running {
color: #b8bb26;
}
/* Memory */
#memory {
padding: 0 1em;
color: #504945;
}
#memory.critical {
color: #fb4934;
}
#memory.warning {
color: #fabd2f;
}
#memory.regular {
color: #ebdbb2;
}
/* CPU */
#cpu {
padding: 0 1em;
color: #504945;
}
#cpu.critical {
color: #fb4934;
}
#cpu.warning {
color: #fabd2f;
}
#cpu.regular {
color: #ebdbb2;
}
/* Battery */
#battery {
padding: 0 1em;
}
#battery.charging {
color: #b8bb26;
}
#battery.good {
color: #504945;
}
#battery.discharging.warning {
color: #fabd2f;
}
#battery.discharging.critical {
color: #fb4934;
}
#clock {
color: #ebdbb2;
padding: 0 1em;
}
/* Temperature*/
#temperature {
padding: 0 1em;
color: #504945;
}
#temperature.critical {
color: #fb4934;
}
/* Custom modules */
#custom-backup {
color: #fb4934;
padding: 0 1em;
}