mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02:49 +00:00
3c8c93d774
This commit adds a new widget for the bar: A Microphone widget. It is disabled by default and can can be enabled with AudioInput: true. Implements a flyin as well. https://github.com/scorpion-26/gBar/issues/5 for the ping
66 lines
2.2 KiB
Text
66 lines
2.2 KiB
Text
# Example configuration.
|
|
# Everything after '#' is ignored
|
|
# Format of the variables:
|
|
# [variable]: [value]
|
|
# Whitespaces are ignored in the following locations:
|
|
# - Before the variable
|
|
# - After the ':'
|
|
# - After the value
|
|
|
|
# The CPU sensor to use
|
|
CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
|
|
|
|
# The command to execute on suspend
|
|
SuspendCommand: ~/.config/scripts/sys.sh suspend
|
|
|
|
# The command to execute on lock
|
|
LockCommand: ~/.config/scripts/sys.sh lock
|
|
|
|
# The command to execute on exit
|
|
ExitCommand: killall Hyprland
|
|
|
|
# The folder, where the battery sensors reside
|
|
BatteryFolder: /sys/class/power_supply/BAT1
|
|
|
|
# Overrides the icon of the nth (in this case the first) workspace
|
|
# WorkspaceSymbol-1:
|
|
|
|
# The default symbol for the workspaces
|
|
DefaultWorkspaceSymbol:
|
|
|
|
# Scroll through the workspaces of the current monitor instead of all workspaces
|
|
WorkspaceScrollOnMonitor: true
|
|
|
|
# When true: Scroll up -> Next workspace instead of previous workspace. Analogous with scroll down
|
|
WorkspaceScrollInvert: false
|
|
|
|
# Forces the time to be centered.
|
|
# This can cause issues, if there is not enough space on screen (e.g. when opening the text)
|
|
CenterTime: true
|
|
|
|
# Adds a audio input(aka. microphone) widget
|
|
AudioInput: false
|
|
|
|
# Sets the audio slider to be on reveal (Just like the sensors) when true. Only affects the bar.
|
|
AudioRevealer: false
|
|
|
|
# Sets the rate of change of the slider on each scroll. In Percent
|
|
AudioScrollSpeed: 5
|
|
|
|
# The network adapter to use. You can query /sys/class/net for all possible values
|
|
NetworkAdapter: eno1
|
|
|
|
# Disables the network widget when set to false
|
|
NetworkWidget: true
|
|
|
|
# These set the range for the network widget. The widget changes colors at six intervals:
|
|
# - Below Min...Bytes ("under")
|
|
# - Between ]0%;25%]. 0% = Min...Bytes; 100% = Max...Bytes ("low")
|
|
# - Between ]25%;50%]. 0% = Min...Bytes; 100% = Max...Bytes ("mid-low")
|
|
# - Between ]50%;75%]. 0% = Min...Bytes; 100% = Max...Bytes ("mid-high")
|
|
# - Between ]75%;100%]. 0% = Min...Bytes; 100% = Max...Bytes ("high")
|
|
# - Above Max...Bytes ("over")
|
|
MinDownloadBytes: 0
|
|
MaxDownloadBytes: 10485760 # 10 * 1024 * 1024 = 10 MiB
|
|
MinUploadBytes: 0
|
|
MaxUploadBytes: 5242880 # 5 * 1024 * 1024 = 5 MiB
|