From 769a769150ab6b62838547f41a308cd1a6186e0a Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 20 Sep 2023 08:42:47 -0500 Subject: [PATCH] small fixes --- home/modules/hyprland.nix | 2 ++ modules/emacs.nix | 1 + scripts/mailpass | 2 +- scripts/screenshot | 2 +- scripts/startup.sh | 1 - 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 00244c8..26e22c4 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -237,6 +237,8 @@ in exec-once = jellyfin-mpv-shim exec-once = hyprctl setcursor phinger-cursors-light 24 exec-once = swayidle -w timeout 300 'swaylock -S --effect-blur 20x3 --fade-in 1 --effect-vignette 0.5:1 --grace 60' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -S --effect-blur 20x3 --effect-vignette 0.5:1' + exec-once = eww open ${if laptop then "bar0" else "bar1"} + exec-once = sleep 3 && swww img /home/chris/pics/wallpapers/nixorange.webp -t grow --transition-bezier .14,0,.14,.99 ''; }; } diff --git a/modules/emacs.nix b/modules/emacs.nix index cdd97f6..be9dab6 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -13,6 +13,7 @@ with lib; pdf-tools consult-eglot org + bluetooth melpaPackages.org-roam melpaPackages.org-ql melpaPackages.dired-sidebar diff --git a/scripts/mailpass b/scripts/mailpass index f3df48e..f8393f9 100755 --- a/scripts/mailpass +++ b/scripts/mailpass @@ -1,3 +1,3 @@ #!/bin/sh -rbw get --full 'Office 365' | rg 'sylemail' | awk '{print $2}' \ No newline at end of file +rbw get --full 'Office 365' | rg 'apppass' | awk '{print $2}' diff --git a/scripts/screenshot b/scripts/screenshot index e936f14..42fa544 100755 --- a/scripts/screenshot +++ b/scripts/screenshot @@ -43,7 +43,7 @@ elif [ "$choice" == "clipboard" ]; then echo 'saved to clipboard' elif [ "$choice" == "filesave" ]; then - mv /tmp/$timestamp.png ~/Pictures/$timestamp.png + mv /tmp/$timestamp.png ~/pics/$timestamp.png echo 'saved to ~/Pictures/'$timestamp'.png' fi diff --git a/scripts/startup.sh b/scripts/startup.sh index 4747b9a..5869fbc 100755 --- a/scripts/startup.sh +++ b/scripts/startup.sh @@ -12,4 +12,3 @@ rbw-agent & emacs --daemon & nextcloud --background & batmon & -swww img /home/chris/Pictures/wallpapers/nixorange.webp -t grow --transition-bezier .14,0,.14,.99