aboutsummaryrefslogtreecommitdiff
path: root/river
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2023-05-03 23:18:40 +0200
committerbozo.kopic <bozo@kopic.xyz>2023-05-03 23:18:40 +0200
commit2a3dda49dfd0faae1cbe9dbea14bf0d40623bd6a (patch)
tree119772e8479f59f7fae7f26233013b9d6f516eb3 /river
parent7f6d37650d228f4765fc8b9a0bde2feaaaee4927 (diff)
.
Diffstat (limited to 'river')
-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