...
This commit is contained in:
parent
97e24e19fa
commit
4baf5cdfd4
2 changed files with 25 additions and 17 deletions
29
river/init
29
river/init
|
@ -170,11 +170,19 @@ riverctl map normal Super A spawn "riverctl keyboard-layout 'us'"
|
|||
riverctl map normal Super Return spawn "riverctl keyboard-layout 'us(dvp)'"
|
||||
riverctl map normal Super Backspace spawn "riverctl keyboard-layout 'ru'"
|
||||
|
||||
riverctl map normal Super+Alt R spawn "RIVER_RELOAD=1 $XDG_CONFIG_HOME/river/init"
|
||||
riverctl map normal Super+Alt R spawn "RIVER_RELOAD=1 $XDG_CONFIG_HOME/river/init && $XNOTIFY 'Reloaded the River configuration'"
|
||||
|
||||
# Run appications.
|
||||
riverctl map normal Super+Shift R spawn "$XRUNNER"
|
||||
|
||||
# $XNOTIFY "`riverctl rule-add -title 'Choose an image' fullscreen csd 2>&1`"
|
||||
# $XNOTIFY "`riverctl rule-add -title 'Save Image' fullscreen csd 2>&1`"
|
||||
|
||||
riverctl rule-add -title 'Choose an image' float
|
||||
riverctl rule-add -title 'Save Image' float
|
||||
#riverctl rule-add -title 'Choose an image'
|
||||
#riverctl rule-add -title 'Save Image'
|
||||
|
||||
# Make all views with an app-id that starts with "float" and title "foo" start floating.
|
||||
riverctl rule-add -app-id 'float*' -title 'foo' float
|
||||
|
||||
|
@ -195,6 +203,9 @@ riverctl map normal Super+Shift S spawn "eval $XDISPLAY_REGION_SCREENSHOT"
|
|||
|
||||
# Only first time, no reloading.
|
||||
if test -z "$RIVER_RELOAD" ; then
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
#export QT_QPA_PLATFORM=xcb
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
eval wl-paste -t text --watch $XCLIPBOARD_MANAGER &
|
||||
eval rivertile -view-padding 0 -outer-padding 0 &
|
||||
eval $XPUSH_NOTIFICATION_DAEMON &
|
||||
|
@ -206,18 +217,14 @@ if test -z "$RIVER_RELOAD" ; then
|
|||
eval $XTERMINAL &
|
||||
eval $XTERMINAL &
|
||||
eval $XTERMINAL &
|
||||
dbus-update-activation-environment --systemd \
|
||||
WAYLAND_DISPLAY \
|
||||
XDG_CURRENT_DESKTOP=river
|
||||
|
||||
XWIRE_DAEMON=wireplumber
|
||||
systemctl --user stop pipewire "$XWIRE_DAEMON" xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
systemctl --user start "$XWIRE_DAEMON"
|
||||
fi
|
||||
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
#export QT_QPA_PLATFORM=xcb
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
dbus-update-activation-environment --systemd \
|
||||
WAYLAND_DISPLAY \
|
||||
XDG_CURRENT_DESKTOP=river
|
||||
|
||||
XWIRE_DAEMON=wireplumber
|
||||
systemctl --user stop pipewire "$XWIRE_DAEMON" xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
systemctl --user start "$XWIRE_DAEMON"
|
||||
|
||||
|
|
13
wayst/config
13
wayst/config
|
@ -26,21 +26,22 @@
|
|||
## # Mixing ttf/otf with bitmap fonts is ok.
|
||||
## # You can set an offset to keep fonts smaller/larger than the global size.
|
||||
## "Terminus:-3"
|
||||
##
|
||||
## ]
|
||||
##
|
||||
## default:
|
||||
#
|
||||
#font = Monospace
|
||||
font = Monospace
|
||||
|
||||
## A list of fonts used for non-color symbols (only the Regular style is loaded)
|
||||
#
|
||||
#font-symbol = [
|
||||
# "FontAwesome",
|
||||
# "PowerlineSymbols"
|
||||
#]
|
||||
font-symbol = [
|
||||
"FontAwesome",
|
||||
"PowerlineSymbols"
|
||||
]
|
||||
|
||||
## A list of fonts used for color symbols (only the Regular style is loaded)
|
||||
#font-color = "Noto Color Emoji"
|
||||
font-color = "Noto Color Emoji"
|
||||
|
||||
## Point size
|
||||
font-size = 11
|
||||
|
|
Loading…
Reference in a new issue