diff --git a/.config/sway/config b/.config/sway/config
index 6e18e81..ebe6ea0 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,5 +1,6 @@
#font 'JetBrainsMono NF' 9
-font 'JetBrainsMono Nerd Font Mono' 9
+#font 'JetBrainsMono Nerd Font Mono' 9
+font 'JetBrainsMonoNFM-Regular' 9
### Variables
#set $mod Mod1
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index c97fa55..15df8ab 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -1,65 +1,24 @@
// -*- mode: jsonc -*-
{
- // "layer": "top", // Waybar at top layer
- // "position": "bottom", // Waybar position (top|bottom|left|right)
- //"height": 10, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
"spacing": 2, // Gaps between modules (4px)
- // Choose the order of the modules
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/scratchpad",
- "custom/media",
"sway/window"
],
//"modules-center": [
//"sway/window"
//],
"modules-right": [
- "mpd",
- //"custom/audio_idle_inhibitor",
+ //"mpd",
"pulseaudio",
- "network",
- //"power-profiles-daemon",
- //"cpu",
- //"memory",
- //"temperature",
- //"backlight",
- //"keyboard-state",
- //"sway/language",
+ //"network",
"battery",
- //"battery#bat2",
"clock",
"tray"
//"custom/power"
],
- // Modules configuration
- // "sway/workspaces": {
- // "disable-scroll": true,
- // "all-outputs": true,
- // "warp-on-scroll": false,
- // "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": "{}"
},
@@ -70,42 +29,6 @@
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
- "mpd": {
- "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title} ⸨{songPosition}|{queueLength}⸩% ",
- "format-alt": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩% ",
- "format-disconnected": "Disconnected ",
- //"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
- "format-stopped": "",
- //"unknown-tag": "N/A",
- "unknown-tag": "",
- "interval": 5,
- "consume-icons": {
- "on": " "
- },
- "random-icons": {
- "off": " ",
- "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,
@@ -121,26 +44,6 @@
//"format": "{:%R %p %Y-%m-%d}",
//"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,
@@ -172,18 +75,19 @@
},
"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-wifi": "{essid} ({signalStrength}%) ",
+ //"format-ethernet": "{ipaddr}/{cidr} ",
+ //"tooltip-format": "{ifname} via {gwaddr} ",
+ //"format-linked": "{ifname} (No IP) ",
+ //"format-disconnected": "Disconnected ⚠",
+ "format-disconnected": "Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
+ "format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
+ "format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
@@ -209,29 +113,5 @@
"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
- },
- "custom/power": {
- "format" : "⏻ ",
- "tooltip": false,
- "menu": "on-click",
- "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
- "menu-actions": {
- "shutdown": "shutdown",
- "reboot": "reboot",
- "suspend": "systemctl suspend",
- "hibernate": "systemctl hibernate"
- }
- },
- "custom/audio_idle_inhibitor": {
- "format": "{icon} ",
- "exec": "sway-audio-idle-inhibit --dry-print-both-waybar",
- "exec-if": "which sway-audio-idle-inhibit",
- "return-type": "json",
- "format-icons": {
- "output": "",
- "input": "",
- "output-input": " ",
- "none": ""
- }
- }
+ }
}
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 9204eba..e1ecc95 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -1,8 +1,10 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
/*font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; */
- font-family: "JetBrainsMono NF";
- font-size: 13px;
+ /*font-family: "JetBrainsMono NF";*/
+ font-family: "JetBrainsMonoNFM-Regular";
+ font-size: 14px;
+ font-weight: bold;
}
window#waybar {