diff --git a/river/.config/river/init b/river/.config/river/init index f4c81e7..6226aa0 100755 --- a/river/.config/river/init +++ b/river/.config/river/init @@ -1,16 +1,18 @@ #!/bin/sh # Variables -# term="foot" -# term_client="footclient" -# term_float="foot --app-id=float -w 1120x700" -term="kitty" -term_client="kitty" -term_float="kitty --app-id=float -w 1120x700" +term="foot" +term_client="footclient" +term_float="foot --app-id=float -w 1120x700" +# term="kitty" +# term_client="kitty" +# term_float="kitty --app-id=float -w 1120x700" browser="firefox" email="thunderbird" emacs="emacsclient --create-frame --alternate-editor='emacs'" mod=Super +books="$HOME/.local/bin/books.sh" +papers="$HOME/.local/bin/papers.sh" wobsock=$XDG_RUNTIME_DIR/wob.sock rm -f $wobsock && mkfifo $wobsock && tail -f $wobsock | wob & @@ -21,8 +23,8 @@ riverctl map normal $mod+Shift Return spawn $term riverctl map normal $mod Semicolon spawn fuzzel riverctl map normal $mod BracketRight spawn "$browser" riverctl map normal $mod T spawn "$email" -riverctl map normal $mod Z spawn "books.sh" -riverctl map normal $mod Y spawn "papers.sh" +riverctl map normal $mod Z spawn "$books" +riverctl map normal $mod Y spawn "$papers" riverctl map normal $mod E spawn "$emacs" riverctl map normal $mod+Control O spawn "swaylock" @@ -152,7 +154,7 @@ scratch_tag=$((1 << 20)) riverctl map normal $mod Slash toggle-focused-tags $scratch_tag riverctl map normal $mod+Shift Slash set-view-tags $scratch_tag riverctl map normal $mod+Control Slash toggle-view-tags $scratch_tag -riverctl map normal $mod S spawn $term_float +riverctl map normal $mod S spawn "$term_float" riverctl rule-add -app-id float float # SSD (so GTK apps show border) @@ -170,7 +172,6 @@ riverctl rule-add -app-id com.github.xournalpp.xournalpp ssd # spawn stuff pgrep wbg || wbg ~/.config/wallpaper.png & wlr-randr --output eDP-1 --scale 1.25 -# pgrep yambar || yambar & pgrep waybar || waybar & # mako stuff @@ -182,7 +183,7 @@ riverctl map normal $mod+Shift D spawn 'makoctl dismiss --all' blueman-applet & # foot server -# foot --server & # TODO: figure out systemd service +foot --server & # TODO: figure out systemd service # pianobar riverctl map normal $mod+Shift S spawn '~/.config/pianobar/change_station.sh'