aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-22 21:36:14 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-22 21:36:14 -0500
commit225d8c9781dd29e9dd7b3b6edb1ec0f706236c5f (patch)
treeba78fda25d97255f731e514ad6f1ab9e900d91e6
parentc6a72fb6a2958c5128c28a5f01ff885c1808a2b5 (diff)
downloadrivercfg-225d8c9781dd29e9dd7b3b6edb1ec0f706236c5f.tar.gz
rivercfg-225d8c9781dd29e9dd7b3b6edb1ec0f706236c5f.tar.xz
Fix typo in screenshot command and fix kshrc not being loaded
-rw-r--r--readme.md21
-rwxr-xr-xriver/init2
-rwxr-xr-xwaylandrc1
3 files changed, 23 insertions, 1 deletions
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..e364057
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,21 @@
+# River window manager configuration
+
+Configures riverwm, foot, swaylock, waybar and a couple of other bits.
+
+## Assumptions:
+
+ * My main [dotfiles](https://git.riedstra.dev/mitch/dotfiles/about/) are installed.
+ * Default shell is set to `oksh`. Bash and other shells probably work but are
+ untested
+ * Fedora 39
+
+
+Ideally cloned down to `~/scm/wl/rivercfg`, where you can run `./fedora.sh`
+from the directory and it'll setup everything. This includes fetching the latest
+copy of Zig and compiling river from source code.
+
+Once the command finishes without error you should be able to select `wlcustom`
+from the login manager ( gdm, sddm, etc )
+
+See `~/.waylandrc` and the [wlcustom](https://git.riedstra.dev/wl/wlcustom) repo
+for more information on customizing the session, environment variables, etc.
diff --git a/river/init b/river/init
index 3d6c905..8797716 100755
--- a/river/init
+++ b/river/init
@@ -168,7 +168,7 @@ riverctl map normal Super D spawn bemenu-run
riverctl map normal Super B spawn 'pkill -SIGUSR1 waybar'
riverctl focus-follows-cursor normal
-riverctl map normal Super+Shift P spawn 'grim /tmp/screenshot_$(date +S).png'
+riverctl map normal Super+Shift P spawn 'grim /tmp/screenshot_$(date +%S).png'
riverctl map normal Super+Shift+Control P spawn 'grim -g "$(slurp)" /tmp/screenshot_$(date +%S).png'
riverctl map normal Super P spawn dpw-menu
diff --git a/waylandrc b/waylandrc
index 08ea7dc..303bf56 100755
--- a/waylandrc
+++ b/waylandrc
@@ -11,6 +11,7 @@ export XDG_CURRENT_DESKTOP=river
export QT_QPA_PLATFORMTHEME=qt5ct
. ~/.kshrc
+export ENV=$HOME/.kshrc
export BEMENU_OPTS="--fn 'IBM 3270 14' --tb '#3B4252' --tf '#8FBCBB' --cf '#E5E9F0' --nb '#2e3440' --ab '#3b4252' --nf '#e5e9f0' --af '#e5e9f0' --fb '#2e3440' --ff '#a3be8c' --hb '#2e3440' --hf '#a3be8c' "