Compare commits
2 commits
466dbad9de
...
68f2cd8fec
Author | SHA1 | Date | |
---|---|---|---|
Tigor Hutasuhut | 68f2cd8fec | ||
Tigor Hutasuhut | 8a22df1081 |
|
@ -163,7 +163,7 @@ in
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
];
|
];
|
||||||
wayland.windowManager.hyprland.settings.exec-once = [
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
"sleep 2 && waybar"
|
"sleep 5 && waybar"
|
||||||
"wl-paste --watch cliphist store"
|
"wl-paste --watch cliphist store"
|
||||||
];
|
];
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
let
|
let
|
||||||
cfg = config.profile.slack;
|
cfg = config.profile.slack;
|
||||||
autostartScript = pkgs.writeShellScriptBin "slack.sh" ''
|
autostartScript = pkgs.writeShellScriptBin "slack.sh" ''
|
||||||
|
# do not autostart on weekend
|
||||||
|
if [ "$(date +%u)" -gt 5 ]; then exit 0; fi
|
||||||
|
|
||||||
sleep 10; until ${pkgs.unixtools.ping}/bin/ping -c 1 1.1.1.1; do sleep 1; done; slack
|
sleep 10; until ${pkgs.unixtools.ping}/bin/ping -c 1 1.1.1.1; do sleep 1; done; slack
|
||||||
'';
|
'';
|
||||||
inherit (lib.meta) getExe;
|
inherit (lib.meta) getExe;
|
||||||
|
|
Loading…
Reference in a new issue