From 131af604b097d406127b3158982521877c1983ca Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:56:38 -0400 Subject: [PATCH] better comments --- configs/river/init | 62 ++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/configs/river/init b/configs/river/init index 706507f..84a3ad9 100755 --- a/configs/river/init +++ b/configs/river/init @@ -1,38 +1,42 @@ #!/bin/sh -# try to be obvious -TERMINAL="alacritty" -BROWSER1="firefox-developer-edition" -BROWSER2="chromium" -EMAIL="thunderbird" -RUN="fuzzel" -CHAT1="caprine --enable-features=UseOzonePlatform --ozone-platform=wayland" # with wayland hack -CHAT2="telegram-desktop" -DISCORD="discord --enable-features=UseOzonePlatform --ozone-platform=wayland" # with wayland hack -GAME1="steam-native" -GAME2="lutris" -MUSIC="spotify-launcher" -IMG="gimp" - -# startup +# Startup waybar & swaybg -i ~/.cache/wal/bg & mako & -# set keybinds -riverctl map normal Super Return spawn "$TERMINAL" -riverctl map normal Super W spawn "$BROWSER1" -riverctl map normal Super+Shift W spawn "$BROWSER2" -riverctl map normal Super E spawn "$EMAIL" -riverctl map normal Super R spawn "$RUN" -riverctl map normal Super C spawn "$CHAT1" -riverctl map normal Super+Shift C spawn "$CHAT2" -riverctl map normal Super D spawn "$DISCORD" -riverctl map normal Super G spawn "$GAME1" -riverctl map normal Super+Shift G spawn "$GAME2" -riverctl map normal Super I spawn "$IMG" -riverctl map normal Super M spawn "$MUSIC" -riverctl map normal Super+Shift P spawn "doorsbg" # new random wallpaper and colors +# Terminal +riverctl map normal Super Return spawn "alacritty" + +# Browsers +riverctl map normal Super W spawn "firefox-developer-edition" +riverctl map normal Super+Shift W spawn "chromium" + +# Email +riverctl map normal Super E spawn "thunderbird" + +# Runner +riverctl map normal Super R spawn "fuzzel" + +# Chat stuff +riverctl map normal Super+Shift C spawn "telegram-desktop" +riverctl map normal Super C spawn "caprine --enable-features=UseOzonePlatform --ozone-platform=wayland" +riverctl map normal Super D spawn "discord --enable-features=UseOzonePlatform --ozone-platform=wayland" + +# Games +riverctl map normal Super G spawn "steam-native" +riverctl map normal Super+Shift G spawn "lutris" + +# Image editor +riverctl map normal Super I spawn "gimp" + +# Music +riverctl map normal Super M spawn "spotify-launcher" + +# Run script to set new random bg/colors +riverctl map normal Super+Shift P spawn "doorsbg" + +# Screenshots riverctl map normal None Print spawn "grim - | wl-copy" riverctl map normal Shift Print spawn 'grim -g "$(slurp)" - | wl-copy'