diff --git a/config/anyrun/config.ron b/config/anyrun/config.ron index 80f32ccb..5e6b8fc3 100644 --- a/config/anyrun/config.ron +++ b/config/anyrun/config.ron @@ -20,7 +20,7 @@ Config( // Layer shell layer: Background, Bottom, Top, Overlay layer: Overlay, - + // Hide the plugin info panel hide_plugin_info: false, @@ -36,10 +36,12 @@ Config( // List of plugins to be loaded by default, can be specified with a relative path to be loaded from the // `/plugins` directory or with an absolute path to just load the file the path points to. plugins: [ - "librandr.so", + "libhyprwin.so", + "librink.so", "libapplications.so", "libshell.so", // "libsymbols.so", "libtranslate.so", + "librandr.so", ], ) diff --git a/config/anyrun/plugins/libhyprwin.so b/config/anyrun/plugins/libhyprwin.so index 0c8e0524..26c6e894 100755 Binary files a/config/anyrun/plugins/libhyprwin.so and b/config/anyrun/plugins/libhyprwin.so differ diff --git a/config/waybar/config b/config/waybar/config new file mode 100644 index 00000000..411499c4 --- /dev/null +++ b/config/waybar/config @@ -0,0 +1,138 @@ +{ + "output": "DP-2", + "layer": "top", // Waybar at top layer + "position": "bottom", // Waybar position (top|bottom|left|right) + "height": 30, // Waybar height (to be removed for auto height) + // "width": 10, // Waybar width + "spacing": 4, // Gaps between modules (4px) + // Choose the order of the modules + // "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], + "modules-left": ["hyprland/workspaces","hyprland/submap"], + "modules-center": [], + "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "clock", "tray"], + // 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": "" + // } + // }, + "hyprland/submap": { + "format": "✌️ {}", + "max-length": 8, + "tooltip": false + }, + "hyprland/workspaces": { + "active-only": true, + "all-outputs": true, + "format": "{name}: {icon}", + "format-icons": { + "1": "", + "2": "", + "3": "", + "5": "", + "10": "", + "active": "☢", + "default": "" + }, + "persistent-workspaces": { + "DP-3": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] + } + }, + "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": " ", + "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": "{:%Y %B}\n{calendar}", + "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": ["", "", ""] + }, + "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": "{volume}% {icon} {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" + }, +} +