From 54218677ff30fd3aad2957a70a1c99b480de3586 Mon Sep 17 00:00:00 2001
From: Chris Cochrun <chris@cochrun.xyz>
Date: Fri, 9 Sep 2022 05:09:25 -0500
Subject: [PATCH] updating

---
 README.org                       |  2 ++
 flake.lock                       | 18 +++++++++---------
 scripts/batcurrent               |  7 +++++++
 scripts/kderofi-rbw              |  2 +-
 scripts/rofi-plasma-settings.sh  |  2 +-
 system/kaladin/configuration.nix |  2 ++
 system/syl/configuration.nix     |  2 ++
 7 files changed, 24 insertions(+), 11 deletions(-)
 create mode 100755 scripts/batcurrent

diff --git a/README.org b/README.org
index 87ba42b..291567f 100644
--- a/README.org
+++ b/README.org
@@ -380,6 +380,8 @@ plasma5Packages.qt5ct
 lxappearance
 spotdl
 kdenlive
+# natron
+digikam
 rubberband
 texlive.combined.scheme-full
 wlroots
diff --git a/flake.lock b/flake.lock
index b1379e8..8ba7a7b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -6,11 +6,11 @@
         "nixpkgs": "nixpkgs"
       },
       "locked": {
-        "lastModified": 1662258656,
-        "narHash": "sha256-blJsMTlJPtj6hvHRJ22ZI25AO3tCsivcTW1+H7W/js8=",
+        "lastModified": 1662694070,
+        "narHash": "sha256-QExchB6abtMlrIibrtokCcLC6lpr2goZD1mmUrKBD1A=",
         "owner": "nix-community",
         "repo": "emacs-overlay",
-        "rev": "4c4dfc55e6bde89634ce6c2a706cd903eefe4474",
+        "rev": "71739f7fe9ea259e82facd98930b6300cb340279",
         "type": "github"
       },
       "original": {
@@ -42,11 +42,11 @@
         "utils": "utils"
       },
       "locked": {
-        "lastModified": 1661824092,
-        "narHash": "sha256-nSWLWytlXbeLrx5A+r5Pso7CvVrX5EgmIIXW/EXvPHQ=",
+        "lastModified": 1662717397,
+        "narHash": "sha256-syEbuNepU1RJMVBxPzv52MpqE0CRHm4rEj7J1g55ON8=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "5bd66dc6cd967033489c69d486402b75d338eeb6",
+        "rev": "f9f4c8e1e77c7447db5f7edd6b8d343b4c864550",
         "type": "github"
       },
       "original": {
@@ -64,11 +64,11 @@
         "wlroots": "wlroots"
       },
       "locked": {
-        "lastModified": 1662325684,
-        "narHash": "sha256-T4W5fnN8E7kbCu/jshwCxiIoEioZRApkX+mshsieSoo=",
+        "lastModified": 1662670949,
+        "narHash": "sha256-VB/34YMiW9mL6sdEAnYOqi1sjOiJcu8ZmQx3R8PI2iI=",
         "owner": "vaxerski",
         "repo": "Hyprland",
-        "rev": "3dd514a4529c3c22d227235af55c4d4d771dcfe0",
+        "rev": "928158bbfb906bd871738d60610d85634d1f8c7e",
         "type": "github"
       },
       "original": {
diff --git a/scripts/batcurrent b/scripts/batcurrent
new file mode 100755
index 0000000..e9374fe
--- /dev/null
+++ b/scripts/batcurrent
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+echo - | awk "{printf \"%.1f\", \
+$(( \
+  $(cat /sys/class/power_supply/BAT1/current_now) * \
+  $(cat /sys/class/power_supply/BAT1/voltage_now) \
+)) / 1000000000000 }" ; echo " W "
diff --git a/scripts/kderofi-rbw b/scripts/kderofi-rbw
index 39ef7f9..930748d 100755
--- a/scripts/kderofi-rbw
+++ b/scripts/kderofi-rbw
@@ -41,7 +41,7 @@ if [ $XDG_SESSION_TYPE = "x11" ]; then
              # done
           )
 else
-    SECRET=$(list_passwords | rofi -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
+    SECRET=$(list_passwords | rofi -no-lazy-grab -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
 fi
 
 # Ask whether pass, user or both are required
diff --git a/scripts/rofi-plasma-settings.sh b/scripts/rofi-plasma-settings.sh
index 8b7a413..ba8e81b 100755
--- a/scripts/rofi-plasma-settings.sh
+++ b/scripts/rofi-plasma-settings.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-systemsettings5 --list | rg - | awk '{print $1}' | rofi -dmenu | xargs -r systemsettings5
+systemsettings5 --list | rg - | awk '{print $1}' | rofi -dmenu -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | xargs -r systemsettings5
diff --git a/system/kaladin/configuration.nix b/system/kaladin/configuration.nix
index b311ffc..b6e4212 100644
--- a/system/kaladin/configuration.nix
+++ b/system/kaladin/configuration.nix
@@ -277,6 +277,8 @@
     lxappearance
     spotdl
     kdenlive
+    # natron
+    digikam
     rubberband
     texlive.combined.scheme-full
     wlroots
diff --git a/system/syl/configuration.nix b/system/syl/configuration.nix
index 8f022ee..985e9e9 100644
--- a/system/syl/configuration.nix
+++ b/system/syl/configuration.nix
@@ -290,6 +290,8 @@
     lxappearance
     spotdl
     kdenlive
+    # natron
+    digikam
     rubberband
     texlive.combined.scheme-full
     wlroots