mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-04-14 22:04:33 +00:00
examples: niri: Remove XDG_CURRENT_DESKTOP workaround.
The proper fix is to change portals.conf for xdg-desktop-portal.
This commit is contained in:
parent
cd97d72f3b
commit
4811a4f315
@ -3,13 +3,8 @@
|
|||||||
// Check the wiki for a full description of the configuration:
|
// Check the wiki for a full description of the configuration:
|
||||||
// https://yalter.github.io/niri/Configuration:-Introduction
|
// https://yalter.github.io/niri/Configuration:-Introduction
|
||||||
|
|
||||||
environment {
|
|
||||||
// Workaround for screencasting.
|
|
||||||
XDG_CURRENT_DESKTOP "niri:GNOME"
|
|
||||||
}
|
|
||||||
|
|
||||||
// See also `import_environment' in niri source (src/main.rs).
|
// See also `import_environment' in niri source (src/main.rs).
|
||||||
spawn-sh-at-startup "herd set-environment graphical-session XDG_CURRENT_DESKTOP=niri XDG_SESSION_TYPE=$XDG_SESSION_TYPE NIRI_SOCKET=$NIRI_SOCKET"
|
spawn-sh-at-startup "herd set-environment graphical-session XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP XDG_SESSION_TYPE=$XDG_SESSION_TYPE NIRI_SOCKET=$NIRI_SOCKET"
|
||||||
|
|
||||||
// Input device configuration.
|
// Input device configuration.
|
||||||
// Find the full list of options on the wiki:
|
// Find the full list of options on the wiki:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user