aboutsummaryrefslogtreecommitdiff
path: root/river/init
diff options
context:
space:
mode:
Diffstat (limited to 'river/init')
-rwxr-xr-xriver/init10
1 files changed, 6 insertions, 4 deletions
diff --git a/river/init b/river/init
index 341389b..5adcc00 100755
--- a/river/init
+++ b/river/init
@@ -9,7 +9,7 @@ riverctl map-pointer normal $mod BTN_LEFT move-view
riverctl map-pointer normal $mod BTN_RIGHT resize-view
riverctl map normal $mod Return spawn alacritty
-riverctl map normal $mod Space spawn 'wofi --show drun --allow-images --allow-markup --gtk-dark'
+riverctl map normal $mod Space spawn ~/.dotfiles/wofi/run.sh
riverctl map normal $mod+Shift E exit
riverctl map normal $mod+Shift Q close
@@ -17,8 +17,7 @@ riverctl map normal $mod+Shift Q close
riverctl map normal $mod+Shift Return toggle-fullscreen
riverctl map normal $mod+Shift Space toggle-float
-for i in $(seq 1 9)
-do
+for i in $(seq 1 9); do
tags=$((1 << ($i - 1)))
riverctl map normal $mod $i set-focused-tags $tags
riverctl map normal $mod+Shift $i set-view-tags $tags
@@ -39,9 +38,12 @@ export QT_QPA_PLATFORM=wayland
systemctl --user import-environment \
QT_QPA_PLATFORM \
WAYLAND_DISPLAY \
- XDG_SESSION_TYPE
+ XDG_SESSION_TYPE \
+ XDG_CURRENT_DESKTOP
dbus-update-activation-environment --systemd --all
systemctl --user restart plasma-kactivitymanagerd.service
+waybar -c ~/.config/waybar/river.conf &
+
exec rivertile