mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
updated waybar
& pyprland
configs
changelog: - added `privacy` module for waybar - added `systemd-failed-units` module for waybar - added `toggle_special` plugin for pyprland - added `shortcuts_menu` plugin for pyprland - deleted spical workspaces configs for scratchpads in hyprland - added additional keybinding for color picker - fixed pavucontrol - deleted microphone indicator from top-right icons in waybar
This commit is contained in:
@@ -164,8 +164,8 @@
|
||||
"group/misc": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"pulseaudio#microphone_indicator",
|
||||
"custom/webcam",
|
||||
"privacy",
|
||||
"custom/recording",
|
||||
"custom/geo",
|
||||
"custom/media",
|
||||
@@ -176,19 +176,26 @@
|
||||
],
|
||||
},
|
||||
|
||||
"pulseaudio#microphone_indicator": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"tooltip-format": "microphone on",
|
||||
},
|
||||
|
||||
"custom/webcam": {
|
||||
"interval": 1,
|
||||
"exec": "fish -c check_webcam",
|
||||
"return-type": "json",
|
||||
},
|
||||
|
||||
"privacy": {
|
||||
"icon-spacing": 1,
|
||||
"icon-size": 12,
|
||||
"transition-duration": 250,
|
||||
"modules": [
|
||||
{
|
||||
"type": "audio-in",
|
||||
},
|
||||
{
|
||||
"type": "screenshare",
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
"custom/recording": {
|
||||
"interval": 1,
|
||||
"exec-if": "pgrep wl-screenrec",
|
||||
@@ -267,6 +274,7 @@
|
||||
"format-en": "🇺🇸 ENG (US)",
|
||||
"format-uk": "🇺🇦 UKR",
|
||||
"format-ru": "🇷🇺 RUS",
|
||||
"keyboard-name": "at-translated-set-2-keyboard",
|
||||
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next",
|
||||
},
|
||||
|
||||
@@ -298,7 +306,7 @@
|
||||
"margin-top": 10,
|
||||
"margin-bottom": 10,
|
||||
"modules-left": ["wlr/taskbar"],
|
||||
"modules-center": ["cpu", "memory", "disk", "temperature", "battery", "backlight", "pulseaudio"],
|
||||
"modules-center": ["cpu", "memory", "disk", "temperature", "battery", "backlight", "pulseaudio", "systemd-failed-units"],
|
||||
"modules-right": ["tray"],
|
||||
|
||||
// Modules Config
|
||||
@@ -445,5 +453,9 @@
|
||||
"reverse-mouse-scrolling": true,
|
||||
"on-click": "pavucontrol",
|
||||
},
|
||||
|
||||
"systemd-failed-units": {
|
||||
"format": "✗ {nr_failed}",
|
||||
},
|
||||
},
|
||||
]
|
||||
|
@@ -202,19 +202,22 @@ window.top_bar .modules-center {
|
||||
margin-right: 2;
|
||||
}
|
||||
|
||||
#custom-media {}
|
||||
|
||||
#custom-media.Paused {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
#pulseaudio.microphone_indicator {
|
||||
color: @pink;
|
||||
margin-right: 4;
|
||||
}
|
||||
|
||||
#custom-webcam {
|
||||
color: @maroon;
|
||||
margin-right: 3;
|
||||
}
|
||||
|
||||
#privacy-item.screenshare {
|
||||
color: @peach;
|
||||
margin-right: 5;
|
||||
}
|
||||
|
||||
#privacy-item.audio-in {
|
||||
color: @pink;
|
||||
margin-right: 4;
|
||||
}
|
||||
|
||||
@@ -428,4 +431,8 @@ window.left_bar .modules-center {
|
||||
|
||||
#pulseaudio.high {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
#systemd-failed-units {
|
||||
color: @red;
|
||||
}
|
Reference in New Issue
Block a user