1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-09 12:49:44 +01:00
home-manager/tests/modules/services/window-managers/river/init
John Axel Eriksson ecfffe3631
river: fix systemd activation (#5055)
The `exec` command does not do any shell parsing and does not
understand the `&&` which is how the extraCommands are added after
dbus activation. There doesn't seem to be a reason for `exec` here
anyway so just remove it and allow shell parsing.
2024-02-29 11:10:25 +01:00

67 lines
2.6 KiB
Bash
Executable file

#!/nix/store/00000000000000000000000000000000-bash/bin/bash
### This file was generated with Nix. Don't modify this file directly.
### SHELL VARIABLES ###
export BAR="bar"
export FOO="foo"
export FOURTY_TWO="42"
### CONFIGURATION ###
riverctl attach-mode bottom
riverctl background-color 0x002b36
riverctl border-color-focused 0x93a1a1
riverctl border-color-unfocused 0x586e75
riverctl border-color-urgent 0xff0000
riverctl border-width 2
riverctl csd-filter-add app-id bar
riverctl csd-filter-add app-id foo
riverctl declare-mode locked
riverctl declare-mode normal
riverctl declare-mode passthrough
riverctl default-layout rivertile
riverctl float-filter-add app-id mpd
riverctl float-filter-add title popup title with spaces
riverctl focus-follows-cursor normal
riverctl hide-cursor timeout 2
riverctl hide-cursor when-typing enabled
riverctl input pointer-foo-bar accel-profile flat
riverctl input pointer-foo-bar events enabled
riverctl input pointer-foo-bar pointer-accel -0.300000
riverctl input pointer-foo-bar tap disabled
riverctl keyboard-layout -variant colemak -options altwin:swap_alt_wincaps:escapegrp:alt_shift_toggle us,de
riverctl map locked None XF86AudioLowerVolume spawn 'pamixer -d 5'
riverctl map locked None XF86AudioRaiseVolume spawn 'pamixer -i 5'
riverctl map normal Alt E toggle-fullscreen
riverctl map normal Alt P enter-mode passthrough
riverctl map normal Alt Q close
riverctl map normal Alt Return spawn foot
riverctl map normal Alt T toggle-float
riverctl map passthrough Alt P enter-mode normal
riverctl map-pointer normal Alt BTN_LEFT move-view
riverctl map-pointer normal Super BTN_LEFT move-view
riverctl map-pointer normal Super BTN_MIDDLE toggle-float
riverctl map-pointer normal Super BTN_RIGHT resize-view
riverctl map-switch locked lid open foo
riverctl map-switch locked tablet on foo
riverctl map-switch normal lid close foo
riverctl map-switch normal lid open foo
riverctl map-switch normal tablet off foo bar
riverctl map-switch normal tablet on foo
riverctl rule-add -app-id 'bar' csd
riverctl rule-add -app-id 'float*' -title 'foo' float
riverctl set-cursor-warp on-output-change
riverctl set-repeat 50 300
riverctl spawn firefox
riverctl spawn 'foot -a terminal'
riverctl xcursor-theme someGreatTheme 12
### EXTRA CONFIGURATION ###
rivertile -view-padding 6 -outer-padding 6 &
some
extra config
### SYSTEMD INTEGRATION ###
@dbus@/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP NIXOS_OZONE_WL XCURSOR_THEME XCURSOR_SIZE && systemctl --user stop river-session.target && systemctl --user start river-session.target