mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: make syncthingtray wait for tray
This commit is contained in:
parent
220451e8ac
commit
7b22970507
8 changed files with 62 additions and 49 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
secrets/keys/pubring.kbx
|
||||
secrets/keys/private-keys-v1.d/
|
||||
result
|
||||
*.~undo-tree~
|
||||
|
|
|
|||
|
|
@ -5527,6 +5527,7 @@ Mostly used to install some compilers and lsp's that I want to have available wh
|
|||
# pinentry
|
||||
dbus
|
||||
swaylock-effects
|
||||
syncthingtray-minimal
|
||||
|
||||
# secure boot
|
||||
sbctl
|
||||
|
|
@ -5666,22 +5667,22 @@ Do not touch this.
|
|||
folders = {
|
||||
"Default Folder" = {
|
||||
path = "/home/swarsel/Sync";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "default";
|
||||
};
|
||||
"Obsidian" = {
|
||||
path = "/home/swarsel/Nextcloud/Obsidian";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "yjvni-9eaa7";
|
||||
};
|
||||
"Org" = {
|
||||
path = "/home/swarsel/Nextcloud/Org";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "a7xnl-zjj3d";
|
||||
};
|
||||
"Vpn" = {
|
||||
path = "/home/swarsel/Vpn";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "hgp9s-fyq3p";
|
||||
};
|
||||
};
|
||||
|
|
@ -6603,7 +6604,6 @@ This holds packages that I can use as provided, or with small modifications (as
|
|||
# gnome.gnome-clocks
|
||||
# wlogout
|
||||
# jdiskreport
|
||||
syncthingtray
|
||||
# monitor
|
||||
|
||||
#keychain
|
||||
|
|
@ -6951,6 +6951,10 @@ As for the `home.sessionVariables`, it should be noted that environment variable
|
|||
source = ../../../programs/git/.gitmessage;
|
||||
target = ".gitmessage";
|
||||
};
|
||||
"swayidle/config" = {
|
||||
source = ../../../programs/swayidle/config;
|
||||
target = ".config/swayidle/config";
|
||||
};
|
||||
};
|
||||
|
||||
#+end_src
|
||||
|
|
@ -8342,7 +8346,7 @@ Currently, I am too lazy to explain every option here, but most of it is very se
|
|||
}
|
||||
|
||||
exec systemctl --user import-environment
|
||||
|
||||
exec swayidle -w
|
||||
|
||||
|
||||
${swayfxSettings}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,6 @@
|
|||
# gnome.gnome-clocks
|
||||
# wlogout
|
||||
# jdiskreport
|
||||
syncthingtray
|
||||
# monitor
|
||||
|
||||
#keychain
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ in
|
|||
}
|
||||
|
||||
exec systemctl --user import-environment
|
||||
|
||||
exec swayidle -w
|
||||
|
||||
|
||||
${swayfxSettings}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,10 @@ _:
|
|||
source = ../../../programs/git/.gitmessage;
|
||||
target = ".gitmessage";
|
||||
};
|
||||
"swayidle/config" = {
|
||||
source = ../../../programs/swayidle/config;
|
||||
target = ".config/swayidle/config";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
# pinentry
|
||||
dbus
|
||||
swaylock-effects
|
||||
syncthingtray-minimal
|
||||
|
||||
# secure boot
|
||||
sbctl
|
||||
|
|
|
|||
|
|
@ -21,22 +21,22 @@ _:
|
|||
folders = {
|
||||
"Default Folder" = {
|
||||
path = "/home/swarsel/Sync";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "default";
|
||||
};
|
||||
"Obsidian" = {
|
||||
path = "/home/swarsel/Nextcloud/Obsidian";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "yjvni-9eaa7";
|
||||
};
|
||||
"Org" = {
|
||||
path = "/home/swarsel/Nextcloud/Org";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "a7xnl-zjj3d";
|
||||
};
|
||||
"Vpn" = {
|
||||
path = "/home/swarsel/Vpn";
|
||||
devices = [ "sync (@oracle) magicant" ];
|
||||
devices = [ "sync (@oracle)" "magicant" ];
|
||||
id = "hgp9s-fyq3p";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
4
programs/swayidle/config
Normal file
4
programs/swayidle/config
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
timeout 300 'swaylock -f --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.2 --daemonize '
|
||||
timeout 600 'swaymsg "output * power off"'
|
||||
after-resume 'swaymsg "output * power on"'
|
||||
before-sleep 'swaylock -f --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.2 --daemonize -'
|
||||
Loading…
Add table
Add a link
Reference in a new issue