aboutsummaryrefslogtreecommitdiff
path: root/river/init
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-05-26 20:23:02 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-05-26 20:23:02 +0200
commitcbba80700cbdc95d294f3ec61075ff2cbdd503e3 (patch)
tree98d4561d227cebf5b207cdd0c622444600134849 /river/init
parent38da1893e95fa4438f01a67c5ebb180b21548bc1 (diff)
.
Diffstat (limited to 'river/init')
-rwxr-xr-xriver/init18
1 files changed, 17 insertions, 1 deletions
diff --git a/river/init b/river/init
index 91c0156..341389b 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'
+riverctl map normal $mod Space spawn 'wofi --show drun --allow-images --allow-markup --gtk-dark'
riverctl map normal $mod+Shift E exit
riverctl map normal $mod+Shift Q close
@@ -26,6 +26,22 @@ done
riverctl focus-follows-cursor normal
riverctl set-cursor-wrap on-output-change
+riverctl xcursor-theme default 32
+
riverctl default-layout rivertile
+# export GDK_DPI_SCALE=0.95
+gsettings set org.gnome.desktop.interface scaling-factor 1
+gsettings set org.gnome.desktop.interface text-scaling-factor 1
+gsettings set org.gnome.desktop.interface cursor-size 32
+
+export QT_QPA_PLATFORM=wayland
+systemctl --user import-environment \
+ QT_QPA_PLATFORM \
+ WAYLAND_DISPLAY \
+ XDG_SESSION_TYPE
+dbus-update-activation-environment --systemd --all
+
+systemctl --user restart plasma-kactivitymanagerd.service
+
exec rivertile