summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dropdowntoggle2
-rwxr-xr-x.local/bin/makewall7
-rw-r--r--.local/share/applications/text.desktop2
3 files changed, 5 insertions, 6 deletions
diff --git a/.local/bin/dropdowntoggle b/.local/bin/dropdowntoggle
index 11f5521..e1f98fb 100755
--- a/.local/bin/dropdowntoggle
+++ b/.local/bin/dropdowntoggle
@@ -24,7 +24,7 @@ case "$TERMINAL" in
;;
*foot)
classflag="-a"
- titleflag="-T"
+ titleflag="--title"
cmdflag="-e"
esac
diff --git a/.local/bin/makewall b/.local/bin/makewall
index 9edd3c2..991fa11 100755
--- a/.local/bin/makewall
+++ b/.local/bin/makewall
@@ -1,12 +1,11 @@
#!/bin/sh
-# NOTE: (for wayland migration)
-# wlr-randr --json | jq -r '.[] | select(.enabled) | .name'
-
wallDir="$XDG_CONFIG_HOME/wallpapers"
+# Reset any existing wallpapers
+killall swaybg
+
# Acquire the list of connected displays
-# displays=$(xrandr | grep " connected" | sed 's/^\([a-Z,0-9,-]*\).*/\1/')
displays="$(wlr-randr --json | jq -r '.[] | select(.enabled) | .name')"
echo "$displays"
diff --git a/.local/share/applications/text.desktop b/.local/share/applications/text.desktop
index 41ee05f..948407b 100644
--- a/.local/share/applications/text.desktop
+++ b/.local/share/applications/text.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Type=Application
Name=Text editor
-Exec=/usr/local/bin/st -e nvim %u
+Exec=/usr/bin/foot -e nvim %u