home/gui/sway | formating, remove call to wlsunset
This commit is contained in:
parent
a5101235e6
commit
684e78190b
1 changed files with 15 additions and 9 deletions
|
|
@ -1,4 +1,12 @@
|
||||||
{ inputs, pkgs, hostname, outputs, config, osConfig, ... }: {
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
hostname,
|
||||||
|
outputs,
|
||||||
|
config,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
xdg.configFile."sway/config".text = ''
|
xdg.configFile."sway/config".text = ''
|
||||||
# For ${osConfig.networking.hostName}
|
# For ${osConfig.networking.hostName}
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
|
|
@ -317,7 +325,6 @@
|
||||||
exec myterm
|
exec myterm
|
||||||
exec headset-charge-indicator.py
|
exec headset-charge-indicator.py
|
||||||
exec blueberry-tray
|
exec blueberry-tray
|
||||||
exec wlsunset -l 29.74 -L -95.77
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
@ -340,9 +347,8 @@
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 20;
|
height = 20;
|
||||||
spacing = 0;
|
spacing = 0;
|
||||||
modules-left =
|
modules-left = ["sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal"];
|
||||||
[ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ];
|
modules-center = [];
|
||||||
modules-center = [ ];
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"idle_inhibitor"
|
"idle_inhibitor"
|
||||||
"custom/toggle-sink"
|
"custom/toggle-sink"
|
||||||
|
|
@ -392,8 +398,8 @@
|
||||||
on-click = "~/bin/control-music --pause";
|
on-click = "~/bin/control-music --pause";
|
||||||
interval = 5;
|
interval = 5;
|
||||||
};
|
};
|
||||||
"sway/window" = { icon-size = 10; };
|
"sway/window" = {icon-size = 10;};
|
||||||
"sway/mode" = { format = ''<span style="italic">{}</span>''; };
|
"sway/mode" = {format = ''<span style="italic">{}</span>'';};
|
||||||
"idle_inhibitor" = {
|
"idle_inhibitor" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
|
|
@ -419,7 +425,7 @@
|
||||||
format = "cpu: {usage}%";
|
format = "cpu: {usage}%";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
memory = { format = "mem: {}%"; };
|
memory = {format = "mem: {}%";};
|
||||||
temperature = {
|
temperature = {
|
||||||
critical-threshold = 80;
|
critical-threshold = 80;
|
||||||
format = "{temperatureC}°C {icon}";
|
format = "{temperatureC}°C {icon}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue