aboutsummaryrefslogtreecommitdiff
path: root/Common/waybar
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2024-01-23 11:13:18 +0100
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2024-01-23 11:13:18 +0100
commit72efe134f645a5212f875c153dd8db4a64cbe968 (patch)
treed23229285071bf381515657b94919852ebf426c9 /Common/waybar
parente33d5f8d10d34e5a3a4bb292015961dd574f4c93 (diff)
downloaddotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.tar.gz
dotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.zip
changes
Diffstat (limited to 'Common/waybar')
-rw-r--r--Common/waybar/config177
-rw-r--r--Common/waybar/style.bar.css250
l---------Common/waybar/style.css1
-rw-r--r--Common/waybar/style.rounded.css258
-rw-r--r--Common/waybar/style.segmented.css255
l---------Common/waybar/waybar1
6 files changed, 0 insertions, 942 deletions
diff --git a/Common/waybar/config b/Common/waybar/config
deleted file mode 100644
index 1f720dd..0000000
--- a/Common/waybar/config
+++ /dev/null
@@ -1,177 +0,0 @@
-{
- // "layer": "top", // Waybar at top layer
- // "position": "bottom", // Waybar position (top|bottom|left|right)
- //"height": 0, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
- "spacing": 0, // Gaps between modules (4px)
- // Choose the order of the modules
- "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
- "modules-center": ["clock"],
- "modules-right": ["temperature", "mpd", "cpu", "memory", "idle_inhibitor", "sway/language", "pulseaudio", "battery", "battery#bat2", "tray"],
- // Modules configuration
- "sway/workspaces": {
- //"disable-scroll": true,
- //"all-outputs": true,
- //"format": "{name}: {icon}",
- //"format-icons": {
- // "1": "",
- // "2": "",
- // "3": "",
- // "4": "",
- // "5": "",
- // "urgent": "",
- // "focused": "",
- // "default": ""
- //}
- },
- "keyboard-state": {
- "numlock": true,
- "capslock": true,
- "format": "{name} {icon}",
- "format-icons": {
- "locked": "",
- "unlocked": ""
- }
- },
- "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-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- // "icon-size": 21,
- "spacing": 10
- },
- "clock": {
- // "timezone": "America/New_York",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "format-alt": "{:%Y-%m-%d}"
- },
- "cpu": {
- "format-critical": " {usage}%",
- "format": "",
- "tooltip": false,
- "on-click": "gnome-system-monitor",
- "states": {
- "critical": 90,
- },
- },
- "memory": {
- "format-critical": " {}%",
- "format": "",
- "on-click": "gnome-system-monitor",
- "states": {
- "critical": 90,
- },
- },
- "temperature": {
- // "thermal-zone": 2,
- // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
- "critical-threshold": 80,
- "format-critical": "{icon} {temperatureC}°C",
- "format": "",
- "format-icons": ["", "", ""]
- },
- "backlight": {
- // "device": "acpi_video1",
- "format": "{percent}% {icon}",
- "format-icons": ["", "", "", "", "", "", "", "", ""]
- },
- "battery": {
- "states": {
- "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "{icon} {capacity}%",
- "format-charging": " {capacity}%",
- "format-plugged": " {capacity}%",
- "format-alt": "{icon} {time}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
- "format-icons": ["", "", "", "", ""],
- "full-at": 99
- },
- "battery#bat2": {
- "bat": "BAT2"
- },
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "{essid} ({signalStrength}%) ",
- "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": 1, // %, can be a float
- "format": "{icon} {volume}% {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"
- },
- "custom/media": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 40,
- "format-icons": {
- "spotify": "",
- "default": "🎜"
- },
- "escape": true,
- "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
- // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
- }
-}
-
diff --git a/Common/waybar/style.bar.css b/Common/waybar/style.bar.css
deleted file mode 100644
index 6da031f..0000000
--- a/Common/waybar/style.bar.css
+++ /dev/null
@@ -1,250 +0,0 @@
-* {
- border: none;
- border-radius: 0;
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
- font-size: 13px;
- min-height: 0;
-}
-
-window#waybar {
- background-color: rgba(43, 48, 59, 1.5);
- /* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
- border-bottom: 0px solid rgba(100, 114, 125, 0.0);
- color: #ffffff;
- transition-property: background-color;
- transition-duration: .5s;
-}
-
-window#waybar.hidden {
- opacity: 0.2;
-}
-
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
-window#waybar.termite {
- background-color: #3F3F3F;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
-#workspaces button {
- padding: 0 5px;
- padding-top: 4px;
- background-color: transparent;
- color: #ffffff;
- border-bottom: 3px solid transparent;
-}
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-#workspaces button:hover {
- background: rgba(0, 0, 0, 0.2);
- box-shadow: inherit;
- border-bottom: 3px solid #ffffff;
-}
-
-#workspaces button.focused {
- background-color: #64727D;
- /* border-bottom: 3px solid #ffffff; */
-}
-
-#workspaces button.urgent {
- background-color: #eb4d4b;
-}
-
-#mode {
- background-color: #64727D;
- /* border-bottom: 3px solid #ffffff; */
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#temperature,
-#backlight,
-#network,
-#pulseaudio,
-#custom-media,
-#tray,
-#mode,
-#language,
-#idle_inhibitor,
-#mpd {
- padding: 0 10px;
- margin: 5px 0px;
- color: #ffffff;
- border-radius: 20px;
-}
-
-#clock {
- /* background-color: #64727D; */
-}
-
-#battery {
- /* background-color: #ffffff; */
- /* color: #000000; */
-}
-
-#battery.charging {
- animation-name: blink-charge;
- animation-duration: 5.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-#battery.warning {
- animation-name: blink-warn;
- animation-duration: 3.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-@keyframes blink-charge {
- to {
- background-color: #007820;
- }
-}
-
-@keyframes blink-warn {
- to {
- background-color: #ff9142;
- }
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
-}
-
-@keyframes blink-critical {
- to {
- background-color: #f53c3c;
- }
-}
-
-#battery.critical:not(.charging) {
- background-color: #f53c3c;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-label:focus {
- background-color: #000000;
-}
-
-#memory,
-#cpu {
- /* color: #000000; */
-}
-
-#memory.critical,
-#cpu.critical {
- animation-name: blink-critical;
- animation-duration: 1.2s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-#backlight {
- background-color: #90b1b1;
-}
-
-#network {
- /* background-color: #2980b9; */
-}
-
-#network.disconnected {
- background-color: #f53c3c;
-}
-
-#pulseaudio {
- /* background-color: #f1c40f; */
- /* color: #000000; */
-}
-
-#pulseaudio.muted {
- /* background-color: #90b1b1; */
- /* color: #2a5c45; */
-}
-
-#custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
-}
-
-#custom-media.custom-spotify {
- background-color: #66cc99;
-}
-
-#custom-media.custom-vlc {
- background-color: #ffa000;
-}
-
-#temperature {
- font-size: 0;
- margin: 0;
- padding: 0;
-}
-
-#temperature.critical {
- background-color: #eb4d4b;
-}
-
-#language {
-}
-
-#tray {
- background: rgba(0, 0, 0, 0.4);
- border-radius: 0;
- margin: 0;
-}
-
-#idle_inhibitor {
- /* background-color: #2d3436; */
- border-radius: 20px;
- padding: 0 5px;
- margin: 4px 0px;
-}
-
-#idle_inhibitor.activated {
- background-color: #ecf0f1;
- color: #2d3436;
-}
-
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
diff --git a/Common/waybar/style.css b/Common/waybar/style.css
deleted file mode 120000
index 57019b0..0000000
--- a/Common/waybar/style.css
+++ /dev/null
@@ -1 +0,0 @@
-style.segmented.css \ No newline at end of file
diff --git a/Common/waybar/style.rounded.css b/Common/waybar/style.rounded.css
deleted file mode 100644
index 9e4b812..0000000
--- a/Common/waybar/style.rounded.css
+++ /dev/null
@@ -1,258 +0,0 @@
-* {
- border: none;
- border-radius: 0;
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
- font-size: 13px;
- min-height: 0;
-}
-
-window#waybar {
- background-color: rgba(0, 0, 0, 0);
- /* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
- color: #ffffff;
- transition-property: background-color;
- transition-duration: .5s;
-}
-
-window#waybar.hidden {
- opacity: 0.0;
-}
-
-.modules-left,
-.modules-center,
-.modules-right {
- margin: 4px 4px 0px 4px;
- background-color: rgba(43, 48, 59, 1.5);
- border-radius: 20px;
-}
-
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
-window#waybar.termite {
- background-color: #3F3F3F;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
-#workspaces button {
- padding: 0 5px;
- padding-top: 4px;
- padding-bottom: 4px;
- background-color: transparent;
- color: #ffffff;
- border-radius: 0;
-}
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-#workspaces button:hover {
- background: rgba(255, 255, 255, 0.2);
- box-shadow: inherit;
-}
-
-#workspaces button.focused {
- background: rgba(255, 255, 255, 0.1);
- /* border-bottom: 3px solid #ffffff; */
-}
-
-#workspaces button.urgent {
- background-color: #eb4d4b;
-}
-
-#mode {
- background-color: #64727D;
- /* border-bottom: 3px solid #ffffff; */
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#temperature,
-#backlight,
-#network,
-#pulseaudio,
-#custom-media,
-#tray,
-#mode,
-#language,
-#idle_inhibitor,
-#mpd {
- padding: 0 10px;
- margin: 0;
- color: #ffffff;
- border-radius: 20px;
-}
-
-#clock {
- /* background-color: #64727D; */
-}
-
-#battery {
- /* background-color: #ffffff; */
- /* color: #000000; */
- border-radius: 20px 0 0 20px;
-}
-
-#battery.charging {
- animation-name: blink-charge;
- animation-duration: 5.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-#battery.warning {
- animation-name: blink-warn;
- animation-duration: 3.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-@keyframes blink-charge {
- to {
- background-color: #007820;
- }
-}
-
-@keyframes blink-warn {
- to {
- background-color: #ff9142;
- }
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
-}
-
-@keyframes blink-critical {
- to {
- background-color: #f53c3c;
- }
-}
-
-#battery.critical:not(.charging) {
- background-color: #f53c3c;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-label:focus {
- background-color: #000000;
-}
-
-#memory,
-#cpu {
- /* color: #000000; */
-}
-
-#memory.critical,
-#cpu.critical {
- animation-name: blink-critical;
- animation-duration: 1.2s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-#backlight {
- background-color: #90b1b1;
-}
-
-#network {
- /* background-color: #2980b9; */
-}
-
-#network.disconnected {
- background-color: #f53c3c;
-}
-
-#pulseaudio {
- /* background-color: #f1c40f; */
- /* color: #000000; */
-}
-
-#pulseaudio.muted {
- /* background-color: #90b1b1; */
- /* color: #2a5c45; */
-}
-
-#custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
-}
-
-#custom-media.custom-spotify {
- background-color: #66cc99;
-}
-
-#custom-media.custom-vlc {
- background-color: #ffa000;
-}
-
-#temperature {
- font-size: 0;
- margin: 0;
- padding: 0;
-}
-
-#temperature.critical {
- background-color: #eb4d4b;
-}
-
-#language {
-}
-
-#tray {
- background: rgba(0, 0, 0, 0.4);
- border-radius: 0 20px 20px 0;
- margin: 0;
-}
-
-#idle_inhibitor {
- /* background-color: #2d3436; */
- /* border-radius: 20px; */
- /* padding: 0 5px; */
- /* margin: 4px 0px; */
-}
-
-#idle_inhibitor.activated {
- background-color: #ecf0f1;
- color: #2d3436;
-}
-
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
diff --git a/Common/waybar/style.segmented.css b/Common/waybar/style.segmented.css
deleted file mode 100644
index 9d994ca..0000000
--- a/Common/waybar/style.segmented.css
+++ /dev/null
@@ -1,255 +0,0 @@
-* {
- border: none;
- border-radius: 0;
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
- font-size: 12px;
- min-height: 0;
-}
-
-window#waybar {
- background-color: rgba(43, 48, 59, 1.5);
- /* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
- border-bottom: 0px solid rgba(100, 114, 125, 0.0);
- color: #ffffff;
- transition-property: background-color;
- transition-duration: .5s;
-}
-
-window#waybar.hidden {
- opacity: 0.2;
-}
-
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
-window#waybar.termite {
- background-color: #3F3F3F;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
-#workspaces button {
- padding: 0 5px;
- padding-top: 4px;
- background-color: transparent;
- color: #ffffff;
- border-bottom: 3px solid transparent;
-}
-
-#workspaces button.focused {
- /* background-color: #64727D; */
- /* border-bottom: 3px solid #ffffff; */
- border-bottom: 3px solid #64727D;
-}
-
-#workspaces button.urgent {
- background-color: #eb4d4b;
-}
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-#workspaces button:hover {
- background: rgba(0, 0, 0, 0.2);
- box-shadow: inherit;
- border-bottom: 3px solid #ffffff;
-}
-
-#mode {
- background-color: #64727D;
- /* border-bottom: 3px solid #ffffff; */
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#temperature,
-#backlight,
-#network,
-#pulseaudio,
-#custom-media,
-#tray,
-#mode,
-#language,
-#idle_inhibitor,
-#mpd {
- padding: 0 10px;
- margin: 5px 0px;
- color: #ffffff;
- /* border-radius: 20px; */
-}
-
-#battery {
- margin-right: 5px;
-}
-
-#clock {
- /* background-color: #64727D; */
-}
-
-#battery {
- /* background-color: #ffffff; */
- /* color: #000000; */
-}
-
-#battery.charging {
- animation-name: blink-charge;
- animation-duration: 5.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-#battery.warning {
- animation-name: blink-warn;
- animation-duration: 3.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-@keyframes blink-charge {
- to {
- background-color: #007820;
- }
-}
-
-@keyframes blink-warn {
- to {
- background-color: #ff9142;
- }
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
-}
-
-@keyframes blink-critical {
- to {
- background-color: #f53c3c;
- }
-}
-
-#battery.critical:not(.charging) {
- background-color: #f53c3c;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-label:focus {
- background-color: #000000;
-}
-
-#memory,
-#cpu {
- /* color: #000000; */
-}
-
-#memory.critical,
-#cpu.critical {
- animation-name: blink-critical;
- animation-duration: 1.2s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-#backlight {
- background-color: #90b1b1;
-}
-
-#network {
- /* background-color: #2980b9; */
-}
-
-#network.disconnected {
- background-color: #f53c3c;
-}
-
-#pulseaudio {
- /* background-color: #f1c40f; */
- /* color: #000000; */
-}
-
-#pulseaudio.muted {
- /* background-color: #90b1b1; */
- /* color: #2a5c45; */
-}
-
-#custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
-}
-
-#custom-media.custom-spotify {
- background-color: #66cc99;
-}
-
-#custom-media.custom-vlc {
- background-color: #ffa000;
-}
-
-#temperature {
- font-size: 0;
- margin: 0;
- padding: 0;
-}
-
-#temperature.critical {
- background-color: #eb4d4b;
-}
-
-#language {
-}
-
-#tray {
- background: rgba(0, 0, 0, 0.4);
- border-radius: 0;
- margin: 0;
-}
-
-#idle_inhibitor {
- /* background-color: #2d3436; */
- border-radius: 20px;
- padding: 0 5px;
- margin: 4px 0px;
-}
-
-#idle_inhibitor.activated {
- background-color: #ecf0f1;
- color: #2d3436;
-}
-
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
diff --git a/Common/waybar/waybar b/Common/waybar/waybar
deleted file mode 120000
index b0bda03..0000000
--- a/Common/waybar/waybar
+++ /dev/null
@@ -1 +0,0 @@
-/home/jakob/_code/dotfiles/Common/waybar \ No newline at end of file