From 225d8c9781dd29e9dd7b3b6edb1ec0f706236c5f Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Mon, 22 Jan 2024 21:36:14 -0500 Subject: Fix typo in screenshot command and fix kshrc not being loaded --- readme.md | 21 +++++++++++++++++++++ river/init | 2 +- waylandrc | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 readme.md 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' " -- cgit v1.2.3