mirror of
https://github.com/wizbright/waybox.git
synced 2026-02-12 04:28:24 -05:00
Added data files
This commit is contained in:
parent
0f612080fa
commit
c4e224d5fa
53 changed files with 713 additions and 54 deletions
46
data/environment
Normal file
46
data/environment
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#
|
||||
# Environment variables here for Waybox
|
||||
# Copy to $XDG_CONFIG_HOME/waybox/environment to customize
|
||||
#
|
||||
|
||||
# To set your language for displaying messages and time/date formats, use the following:
|
||||
#LANG=en_CA.UTF8
|
||||
|
||||
# To set your keyboard layout, use something like (see `man xkeyboard-config`
|
||||
# for more information):
|
||||
#export XKB_DEFAULT_LAYOUT=us
|
||||
#export XKB_DEFAULT_MODEL=pc105
|
||||
#export XKB_DEFAULT_OPTIONS=ctrl:swapcaps,esperanto:dvorak,lv3:ralt_switch_multikey
|
||||
#export XKB_DEFAULT_RULES=evdev
|
||||
#export XKB_DEFAULT_VARIANT=dvorak
|
||||
#
|
||||
# UIM for typing non-English characters
|
||||
#export XMODIFIERS=@im=uim
|
||||
#export GTK_IM_MODULE=uim
|
||||
#export QT_IM_MODULE=uim
|
||||
#export ECORE_IMF_MODULE=uim
|
||||
|
||||
# Current compositor. Needed for Wayland security negotiation.
|
||||
export XDG_CURRENT_DESKTOP=waybox
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
|
||||
# Make sure to run the X initialization if started through a display manager
|
||||
# It must go here instead of in autostart so that the environment variables will get set
|
||||
if test -n "$DISPLAY" && test -d /etc/X11/xinit/xinitrc.d;
|
||||
then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*.sh;
|
||||
do
|
||||
test -f "$f" && . "$f"
|
||||
done
|
||||
fi
|
||||
|
||||
# Get the preferred terminal from GNOME (if you use mostly GTK apps)
|
||||
TERMINAL=$(gsettings get org.gnome.desktop.default-applications.terminal exec | tr -d \')
|
||||
# Get the preferred terminal from KDE (if you use mostly Qt apps)
|
||||
#TERMINAL=$(kreadconfig5 --file kdeglobals --group General --key TerminalApplication --default "konsole")
|
||||
# Or just set it hard:
|
||||
#TERMINAL=kitty
|
||||
export TERMINAL
|
||||
|
||||
# Use autostart scripts for these environments
|
||||
export WB_AUTOSTART_ENVIRONMENT=GNOME:KDE
|
||||
Loading…
Add table
Add a link
Reference in a new issue