diff --git a/Droidnix/README.org b/Droidnix/README.org index 1d4ef35e0..ef37ecc36 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -2667,8 +2667,127 @@ in } #+END_SRC +** =.config/waybar/config= +These are the config files for waybar +#+BEGIN_SRC conf :tangle generated/.config/waybar/config :noweb tangle :mkdirp yes :eval never-html +{ + "layer": "top", + "height": 34, + + //"modules-left": ["hyprland/window"], + + "modules-center": ["hyprland/workspaces" ], + + "modules-right": [ + "idle_inhibitor", + "pulseaudio", + "network", + // "cpu", + // "memory", + // "temperature", + "battery", + "tray", + "clock", + "custom/notifications", + ], + + /* + "custom/notifications": { + "tooltip": false, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "format": "{icon}", + "format-icons": { + "notification": "", + "none": "", + "dnd-notification": "󰂠", + "dnd-none": "󰪓", + }, + "on-click": "swaync-client -t", + "on-click-right": "swaync-client -d", + "on-click-middle": "swaync-client -dn", + }, +*/ + + "idle_inhibitor": { + "tooltip": true, + "format": "{icon}", + "format-icons": { + "activated": "  ", + "deactivated": " 󰒲 ", + }, + "tooltip-format-activated": "Staying awake", + "tooltip-format-deactivated": "Might sleep....", + }, + + "pulseaudio": { + "format": "{volume}% {icon}", + "format-bluetooth": "{volume}% {icon}", + "format-muted": "", + "format-icons": { + "headphones": "", + "headset": "", + "phone": "", + "portable": "", + "default": ["", ""], + }, + "on-click": "pavucontrol", + }, + + "network": { + "format-wifi": " ({bandwidthDownBits})", + "format-ethernet": " ({bandwidthDownBits})", + "format-disconnected": "Disconnected ⚠", + "tooltip-format-wifi": "{essid} ({signalStrength}%)", + "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", + "on-click": "impala", + "on-click-right": "nm-connection-editor", + }, + + "cpu": { + "format": "{usage}%  ", + "tooltip": false, + }, + + "memory": { + "format": "{percentage}%  ", + }, + + "temperature": { + "format": "{temperatureC}°C ", + "tooltip": false, + }, + + "tray": { + "spacing": 10, + "icon-size": 14, + }, + + "clock": { + "format": "{:%a, %d %b %Y - %H:%M}", + "tooltip": false, + "on-click": "flatpak run eu.betterbird.Betterbird -calendar", + }, + + "battery": { + "bat": "BAT0", + "states": { + "good": 95, + "warning": 30, + "critical": 15, + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% 󰂄", + "format-plugged": "{capacity}%  ", + "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "], + }, +} + +#+END_SRC + ** =.config/waybar/style.css= -These are the config files for .config/waybar +These are the config files for waybar #+BEGIN_SRC css :tangle generated/.config/waybar/style.css :noweb tangle :mkdirp yes :eval never-html /* --- Hyprland palette (ported) --- */ @define-color base rgba(30, 30, 46, 1.0); /* 1e1e2eff */ @@ -2899,7 +3018,7 @@ window#waybar { #+END_SRC ** =.config/waypaper/config.ini= -These are the config files for .config/waypaper +These are the config files for waypaper #+BEGIN_SRC conf :tangle generated/.config/waypaper/config.ini :noweb tangle :mkdirp yes :eval never-html [Settings] language = en diff --git a/Droidnix/generated/.config/waybar/config b/Droidnix/generated/.config/waybar/config new file mode 100644 index 000000000..fe8d7a754 --- /dev/null +++ b/Droidnix/generated/.config/waybar/config @@ -0,0 +1,113 @@ +{ + "layer": "top", + "height": 34, + + //"modules-left": ["hyprland/window"], + + "modules-center": ["hyprland/workspaces" ], + + "modules-right": [ + "idle_inhibitor", + "pulseaudio", + "network", + // "cpu", + // "memory", + // "temperature", + "battery", + "tray", + "clock", + "custom/notifications", + ], + + /* + "custom/notifications": { + "tooltip": false, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "format": "{icon}", + "format-icons": { + "notification": "", + "none": "", + "dnd-notification": "󰂠", + "dnd-none": "󰪓", + }, + "on-click": "swaync-client -t", + "on-click-right": "swaync-client -d", + "on-click-middle": "swaync-client -dn", + }, +*/ + + "idle_inhibitor": { + "tooltip": true, + "format": "{icon}", + "format-icons": { + "activated": "  ", + "deactivated": " 󰒲 ", + }, + "tooltip-format-activated": "Staying awake", + "tooltip-format-deactivated": "Might sleep....", + }, + + "pulseaudio": { + "format": "{volume}% {icon}", + "format-bluetooth": "{volume}% {icon}", + "format-muted": "", + "format-icons": { + "headphones": "", + "headset": "", + "phone": "", + "portable": "", + "default": ["", ""], + }, + "on-click": "pavucontrol", + }, + + "network": { + "format-wifi": " ({bandwidthDownBits})", + "format-ethernet": " ({bandwidthDownBits})", + "format-disconnected": "Disconnected ⚠", + "tooltip-format-wifi": "{essid} ({signalStrength}%)", + "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", + "on-click": "impala", + "on-click-right": "nm-connection-editor", + }, + + "cpu": { + "format": "{usage}%  ", + "tooltip": false, + }, + + "memory": { + "format": "{percentage}%  ", + }, + + "temperature": { + "format": "{temperatureC}°C ", + "tooltip": false, + }, + + "tray": { + "spacing": 10, + "icon-size": 14, + }, + + "clock": { + "format": "{:%a, %d %b %Y - %H:%M}", + "tooltip": false, + "on-click": "flatpak run eu.betterbird.Betterbird -calendar", + }, + + "battery": { + "bat": "BAT0", + "states": { + "good": 95, + "warning": 30, + "critical": 15, + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% 󰂄", + "format-plugged": "{capacity}%  ", + "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "], + }, +}