diff --git a/modules/applications/browser.nix b/modules/applications/browser.nix index c03ebd8..8040ff0 100644 --- a/modules/applications/browser.nix +++ b/modules/applications/browser.nix @@ -152,9 +152,9 @@ install_url = "https://addons.mozilla.org/firefox/downloads/file/3729287/gruvboxgruvboxgruvboxgruvboxgr-1.0.xpi"; installation_mode = "force_installed"; }; - "trackmenot@mrl.nyu.edu" = { + "trackmenot@mrl.nyu.edu" = { # stopped working for some reason install_url = "https://addons.mozilla.org/firefox/downloads/latest/trackmenot/latest.xpi"; - installation_mode = "force_installed"; + installation_mode = "blocked"; }; "{446900e4-71c2-419f-a6a7-df9c091e268b}" = { install_url = "https://addons.mozilla.org/firefox/downloads/file/4749958/bitwarden_password_manager-latest.xpi"; @@ -162,7 +162,7 @@ }; "@crw-extension-firefox" = { install_url = "https://addons.mozilla.org/firefox/downloads/file/4790089/consumer_rights_wiki-latest.xpi"; - installation_mode = "force_installed"; + installation_mode = "blocked"; }; "archivebox@tjhorner.dev" = { install_url = "https://addons.mozilla.org/firefox/downloads/file/4820668/archivebox_exporter-latest.xpi"; diff --git a/modules/utilities/communicationAndNotification.nix b/modules/utilities/communicationAndNotification.nix index 48373d5..955811c 100644 --- a/modules/utilities/communicationAndNotification.nix +++ b/modules/utilities/communicationAndNotification.nix @@ -9,6 +9,7 @@ self.packages.${pkgs.system}.custom-gitnotify # checks if git is set up self.packages.${pkgs.system}.custom-checkKdrive # check if kdrive is set up with rclone zoom-us + telegram-desktop ]; }; perSystem = {pkgs, ...}: { diff --git a/other/hyprland/hyprland.lua b/other/hyprland/hyprland.lua index abf9846..0da47a8 100644 --- a/other/hyprland/hyprland.lua +++ b/other/hyprland/hyprland.lua @@ -937,8 +937,32 @@ hl.on("hyprland.start", function() hl.exec_cmd("rm -rf ~/.cache/cliphist/ && wl-paste --type text --watch cliphist store & wl-paste --type image --watch cliphist store") -- hl.exec_cmd("custom-batterynotify") -- hl.exec_cmd("custom-batterywarning") - hl.exec_cmd("awww img WALLPAPER/PATH/PLACEHOLDER") - hl.exec_cmd("awww-daemon") +-- hl.exec_cmd("awww img WALLPAPER/PATH/PLACEHOLDER") +-- hl.exec_cmd("awww-daemon") +-- Fix the order things are launched + hl.exec_cmd([[ + ( + for i in $(seq 1 50); do + if pgrep -x awww-daemon >/dev/null; then + break + fi + sleep 0.2 + done + + for i in $(seq 1 50); do + if awww query >/dev/null 2>&1; then + awww img -t none "WALLPAPER/PATH/PLACEHOLDER" + exit $? + fi + sleep 0.2 + done + + echo "awww was not ready after 10 seconds" \ + >> "$HOME/.cache/awww-startup.log" + ) & + ]]) + +hl.exec_cmd("awww-daemon") hl.exec_cmd("custom-checkKdrive && custom-mountkdrive") hl.exec_cmd("custom-mountEpflDrive") hl.exec_cmd("custom-gitnotify")