linux

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Desktop = os.Getenv("XDG_CURRENT_DESKTOP")

Desktop contains the current desktop environment on Linux. Empty string on all other operating systems.

View Source
var DesktopSession = os.Getenv("DESKTOP_SESSION")

DesktopSession is used by LXDE on Linux.

View Source
var DisplayServer = os.Getenv("XDG_SESSION_TYPE")

Xserver or Wayland display manager. Used for wayland support

Functions

func LinuxSetFromFile

func LinuxSetFromFile(file string, mode string) error

SetFromFile sets wallpaper from a file path. Recibe the mode if feh is the (just one)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL