Compare commits
No commits in common. "84c114b045dfb41e9b6a474715e32f1273ab6e52" and "c34216eb52a5ea72e6146bf0d15318b5847829e1" have entirely different histories.
84c114b045
...
c34216eb52
26
flake.lock
26
flake.lock
|
@ -144,11 +144,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720056646,
|
"lastModified": 1719864345,
|
||||||
"narHash": "sha256-BymcV4HWtx2VFuabDCM4/nEJcfivCx0S02wUCz11mAY=",
|
"narHash": "sha256-e4Pw+30vFAxuvkSTaTypd9zYemB/QlWcH186dsGT+Ms=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "64679cd7f318c9b6595902b47d4585b1d51d5f9e",
|
"rev": "544a80a69d6e2da04e4df7ec8210a858de8c7533",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -299,11 +299,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720045378,
|
"lastModified": 1719992360,
|
||||||
"narHash": "sha256-lmE7B+QXw7lWdBu5GQlUABSpzPk3YBb9VbV+IYK5djk=",
|
"narHash": "sha256-SRq0ZRkqagqpMGVf4z9q9CIWRbPYjO7FTqSJyWh7nes=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "0a30138c694ab3b048ac300794c2eb599dc40266",
|
"rev": "36e2f9da91ce8b63a549a47688ae60d47c50de4b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -352,11 +352,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720092067,
|
"lastModified": 1719949580,
|
||||||
"narHash": "sha256-ebMlTz4wm+Md5BkCk6uGcRUvOvyjtc4bENvVSO5jrBI=",
|
"narHash": "sha256-HDZpI+/LR4fh6TCqByoZrP5/cN3iSiDO0JqG/yKWDWQ=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "0a6e83005f1910b5c1ec78476fcffc05af47833a",
|
"rev": "8bb75a223db3ea9471d05d74fbed3328334a9f78",
|
||||||
"revCount": 4906,
|
"revCount": 4904,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
|
@ -645,11 +645,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720031269,
|
"lastModified": 1719848872,
|
||||||
"narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
|
"narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
|
"rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -37,22 +37,27 @@
|
||||||
(metric
|
(metric
|
||||||
:label ""
|
:label ""
|
||||||
:value volume
|
:value volume
|
||||||
|
:onchange "pamixer --set-volume {}"
|
||||||
)
|
)
|
||||||
(metric
|
(metric
|
||||||
:label ""
|
:label ""
|
||||||
:value {EWW_BATTERY.total_avg}
|
:value {EWW_BATTERY.total_avg}
|
||||||
|
:onchange ""
|
||||||
)
|
)
|
||||||
(metric
|
(metric
|
||||||
:label ""
|
:label ""
|
||||||
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
|
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
|
||||||
|
:onchange ""
|
||||||
)
|
)
|
||||||
(metric
|
(metric
|
||||||
:label ""
|
:label ""
|
||||||
:value {EWW_RAM.used_mem_perc}
|
:value {EWW_RAM.used_mem_perc}
|
||||||
|
:onchange ""
|
||||||
)
|
)
|
||||||
(metric
|
(metric
|
||||||
:label ""
|
:label ""
|
||||||
:value {EWW_CPU.avg}
|
:value {EWW_CPU.avg}
|
||||||
|
:onchange ""
|
||||||
)
|
)
|
||||||
time
|
time
|
||||||
)
|
)
|
||||||
|
@ -98,7 +103,7 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(defwidget metric [label value]
|
(defwidget metric [label value onchange]
|
||||||
(box
|
(box
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:class "metric"
|
:class "metric"
|
||||||
|
@ -110,14 +115,16 @@
|
||||||
(scale
|
(scale
|
||||||
:min 0
|
:min 0
|
||||||
:max 100
|
:max 100
|
||||||
|
:active {onchange != ""}
|
||||||
:value value
|
:value value
|
||||||
|
:onchange onchange
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(defpoll volume
|
(defpoll volume
|
||||||
:interval "1s"
|
:interval "1s"
|
||||||
"wpctl get-volume @DEFAULT_AUDIO_SINK@ | tr -dc '0-9' | sed 's/^0*//'"
|
"pamixer --get-volume"
|
||||||
)
|
)
|
||||||
|
|
||||||
(defpoll time
|
(defpoll time
|
||||||
|
|
|
@ -117,10 +117,10 @@ in {
|
||||||
", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.light} -U 5"
|
", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.light} -U 5"
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
", XF86AudioMute, exec, ${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
", XF86AudioMute, exec, ${lib.getExe pkgs.pamixer} --sink 0 -t"
|
||||||
", XF86AudioRaiseVolume, exec, ${pkgs.wireplumber}/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+"
|
", XF86AudioRaiseVolume, exec, ${lib.getExe pkgs.pamixer} -i 5"
|
||||||
", XF86AudioLowerVolume, exec, ${pkgs.wireplumber}/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-"
|
", XF86AudioLowerVolume, exec, ${lib.getExe pkgs.pamixer} -d 5"
|
||||||
", XF86AudioMicMute, exec, ${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
", XF86AudioMicMute, exec, ${lib.getExe pkgs.pamixer} --source 0 -t"
|
||||||
", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause"
|
", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause"
|
||||||
", XF86AudioStop, exec, ${lib.getExe pkgs.playerctl} stop"
|
", XF86AudioStop, exec, ${lib.getExe pkgs.playerctl} stop"
|
||||||
", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} next"
|
", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} next"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
pwgen # password generator
|
pwgen # password generator
|
||||||
rsync # better scp
|
rsync # better scp
|
||||||
socat # socket cat
|
socat # socket cat
|
||||||
sysz # tui for systemctl
|
sysz # better systemctl
|
||||||
xdg-utils
|
xdg-utils
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue