Added data files

This commit is contained in:
Keith Bowes 2022-02-22 20:29:04 -05:00
parent 0f612080fa
commit c4e224d5fa
53 changed files with 713 additions and 54 deletions

32
data/autostart Normal file
View file

@ -0,0 +1,32 @@
#
# These things are run when a Waybox Wayland session is started.
# Copy to $XDG_CONFIG_HOME/waybox/autostart to customize.
#
#
# Change from Openbox: the desktop environment's config tools should begin
# through autostart elements (e.g. /etc/xdg/autostart); there's no need to
# specify them here.
#
# Update the DBus environment
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE
# Start a dock
cairo-dock &
# Start a panel
(waybar || yambar) &
# Load a random wallpaper
oldifs=$IFS
IFS=:
for wpdir in ${XDG_DATA_DIRS:-${datadir:-/usr/share}}:${XDG_DATA_HOME:-~/.local/share};
do
find $wpdir -path '*/backgrounds/*.jpg' -o -path '*/backgrounds/*.png' -o -path '*/backgrounds/*.svg' \
-o -path '*/wallpapers/*.jpg' -o -path '*/wallpapers/*.png' -o -path '*/wallpapers/*.svg';
done | (shuf -n 1 || tail -n 1) | xargs swaybg -m fill -i &
IFS=$oldifs
# vim: ft=sh

46
data/environment Normal file
View 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

40
data/meson.build Normal file
View file

@ -0,0 +1,40 @@
cfdata = configuration_data()
cfdata.set('libexecdir', get_option('prefix') / get_option('libexecdir'))
cfdata.set('localedir', get_option('prefix') / get_option('localedir'))
cfdata.set('sysconfdir', get_option('prefix') / get_option('sysconfdir'))
cfdata.set('package', meson.project_name())
configure_file(
configuration: cfdata,
input: 'waybox.sh',
output: 'waybox',
install: true,
install_dir: get_option('prefix') / get_option('bindir'),
install_mode: 'rwxr-xr-x',
)
scripts = files(
'autostart',
'environment',
'xdg-autostart',
)
wb_xdg_dir = get_option('prefix') / get_option('sysconfdir') + '/xdg/waybox'
install_data(
scripts,
install_dir: wb_xdg_dir,
install_mode: 'rwxr-xr-x',
)
install_data(
'rc.xml',
install_dir: wb_xdg_dir,
install_mode: 'rw-r--r--',
)
install_data(
'waybox.desktop',
install_dir: get_option('prefix') / get_option('datadir') + '/wayland-sessions',
install_mode: 'rw-r--r--',
)

84
data/rc.xml Normal file
View file

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<keyboard>
<!-- Keyboard layout. See `man xkeyboard-config` for more information -->
<!-- You can use the XKB_* environment variables instead -->
<!-- <keyboardLayout>
<model>105</model>
<layout>us</layout>
<options>ctrl:swapcaps,esperanto:dvorak,lv3:ralt_switch_multikey</options>
<rules>evdev</rules>
<variant>dvorak</variant>
</keyboardLayout> -->
<keybind key="W-Return">
<action name="Execute">
<execute>terminal</execute>
</action>
</keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="C-Escape">
<action name="Exit"/>
</keybind>
<keybind key="Print">
<action name="Execute">
<execute>grim "$(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim_fs.png')"</execute>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow">
</action>
</keybind>
<keybind key="A-S-ISO_Left_Tab">
<action name="PreviousWindow">
</action>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="A-F2">
<action name="Execute">
<execute>obrun l</execute>
</action>
</keybind>
<keybind key="W-c">
<action name="Reconfigure"/>
</keybind>
<keybind key="W-e">
<action name="Execute">
<execute>konqueror || falkon</execute>
</action>
</keybind>
<keybind key="W-o">
<action name="Execute">
<execute>terminal -e mc</execute>
</action>
</keybind>
<keybind key="W-w">
<action name="Execute">
<execute>x-www-browser</execute>
</action>
</keybind>
<!-- Media keys -->
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer -c 0 -D pulse -q sset Master toggle</execute>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer -c 0 -q set Master 3%-</execute>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer -c 0 -q set Master 3%+</execute>
</action>
</keybind>
</keyboard>
</openbox_config>

7
data/waybox.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Waybox
Comment=An Openbox-like compositor for Wayland
Comment[de]=Ein Wayland-Compositor ähnlich zu Openbox
Comment[eo]=Komponilo de Wayland, kiu similas je Openbox
Exec=waybox
Type=Application

100
data/waybox.sh Normal file
View file

@ -0,0 +1,100 @@
#!/bin/sh
if test -z "$XDG_CONFIG_HOME";
then
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
export XDG_CONFIG_HOME
fi
WB_USER_CONF_DIR=$XDG_CONFIG_HOME/waybox
WB_SYS_CONF_DIR=@sysconfdir@/xdg/waybox
# Seemingly, Openbox hard-coded ~/.config/openbox rather than using
# $XDG_CONFIG_HOME. Older versions of Openbox used ~/.openbox and would
# continue to use it if available.
test -d ~/.openbox && OB_USER_CONF_DIR=~/.openbox || OB_USER_CONF_DIR=~/.config/openbox
OB_SYS_CONF_DIR=@sysconfdir@/xdg/openbox
_()
{
if which gettext.sh >/dev/null 2>&1;
then
. gettext.sh
TEXTDOMAIN=@package@
export TEXTDOMAIN
TEXTDOMAINDIR=@localedir@
export TEXTDOMAINDIR
eval_gettext "$1"
else
printf "$1"
fi
}
# Load the environment variables
if test -f $WB_USER_CONF_DIR/environment;
then
. $WB_USER_CONF_DIR/environment;
elif test -f $WB_SYS_CONF_DIR/environment;
then
. $WB_SYS_CONF_DIR/environment
elif test -f $OB_USER_CONF_DIR/environment;
then
_ "WARNING: Using files from Openbox. These may not work correctly."
. $OB_USER_CONF_DIR/environment;
elif test -f $OB_SYS_CONF_DIR/environment;
then
_ "WARNING: Using files from Openbox. These may not work correctly."
. $OB_SYS_CONF_DIR/environment;
fi
# Get the autostart script to use
#
# Openbox calls the autostart script from the XDG autostart script, so we don't
# need to run the autostart script twice if only the Openbox scripts are
# available
if test -x $WB_USER_CONF_DIR/autostart;
then
WB_AUTOSTART=$WB_USER_CONF_DIR/autostart;
elif test -x $WB_SYS_CONF_DIR/autostart;
then
WB_AUTOSTART=$WB_SYS_CONF_DIR/autostart
fi
# And the XDG autostart script
if test -x $WB_USER_CONF_DIR/xdg-autostart;
then
WB_XDG_AUTOSTART=$WB_USER_CONF_DIR/xdg-autostart;
elif test -x $WB_SYS_CONF_DIR/xdg-autostart;
then
WB_XDG_AUTOSTART=$WB_SYS_CONF_DIR/xdg-autostart
elif test -x "@libexecdir@/openbox-autostart";
then
_ "WARNING: Using files from Openbox. These may not work correctly."
WB_XDG_AUTOSTART="@libexecdir@/openbox-autostart OPENBOX";
fi
if test -f $WB_USER_CONF_DIR/rc.xml;
then
WB_RC_XML=$WB_USER_CONF_DIR/rc.xml
elif test -f $WB_SYS_CONF_DIR/rc.xml;
then
WB_RC_XML=$WB_SYS_CONF_DIR/rc.xml
elif test -f $OB_USER_CONF_DIR/rc.xml;
then
WB_RC_XML=$OB_USER_CONF_DIR/rc.xml
elif test -f $OB_SYS_CONF_DIR/rc.xml;
then
WB_RC_XML=$OB_SYS_CONF_DIR/rc.xml;
else
_ "ERROR: No configuration file found."
exit 1
fi
export WB_RC_XML
if which dbus-launch >/dev/null 2>&1;
then
DBUS_LANCH="dbus-launch --exit-with-session"
fi
# No need to export these to Waybox
unset TEXTDOMAIN TEXTDOMAINDIR
$DBUS_LAUNCH @libexecdir@/waybox --startup "${WB_AUTOSTART:-true}; ${WB_XDG_AUTOSTART:-true}" "$@"

98
data/xdg-autostart Normal file
View file

@ -0,0 +1,98 @@
#!/bin/sh
# Autostart script
#
# I've tried to make it compatible with the specification, but YMMV
#
# Start autostart programs for the following environments:
# WB_AUTOSTART_ENVIRONMENT= # No environment
# WB_AUTOSTART_ENVIRONMENT=all # All environments
# WB_AUTOSTART_ENVIRONMENT=GNOME:KDE # GNOME and KDE only
# Using the old set hack rather than ksh arrays, which some shells don't
# implement correctly or at all
set --
oldifs=$IFS
IFS=:
for d in ${XDG_CONFIG_HOME:-~/.config}:${XDG_CONFIG_DIRS:-${sysconfdir:-/etc}/xdg};
do
for f in $d/autostart/*.desktop;
do
# Skip this entry if this file doesn't exist (e.g. if there are no
# desktop files in that directory)
if test ! -f "$f";
then
continue
# Hidden key; must not be shown
elif cat "$f" | grep -q "^Hidden\s*=\s*true$";
then
show_in=0
# Value of WAYBOX: run all programs
elif test "$WB_AUTOSTART_ENVIRONMENT" = "all";
then
show_in=1
# No OnlyShowIn or NotShowIn key, so show regardless of the value of
# WB_AUTOSTART_ENVIRONMENT
elif ! (cat "$f" | grep -q '^\(Only\|Not\)ShowIn\s*=\s*');
then
show_in=1
# No WB_AUTOSTART_ENVIRONMENT specified, so don't run any programs that
# specify a special environment
elif test -z "$WB_AUTOSTART_ENVIRONMENT";
then
cat "$f" | grep -q '^OnlyShowIn\s*=\s*' && show_in=0
else
# Run programs only in the specified autostart environments
IFS=:
show_in=0
for autostart_environment in $WB_AUTOSTART_ENVIRONMENT;
do
IFS=\;
ONLY_SHOW_IN=$(cat "$f" | grep '^OnlyShowIn\s*=\s*' | sed -e 's/^OnlyShowIn\s*=\s*//g')
for only_show_in in $ONLY_SHOW_IN;
do
if test "$only_show_in" = "$autostart_environment";
then
show_in=1
break 2
fi
done
# But don't show in these environments
NOT_SHOW_IN=$(cat "$f" | grep '^NotShowIn\s*=\s*' | sed -e 's/^NotShowIn\s*=\s*//g')
for not_show_in in $NOT_SHOW_IN;
do
if test "$not_show_in" = "$autostart_environment";
then
show_in=0
break 2
fi
done
done
fi
fn=$(basename "$f")
# Don't use if a desktop entry with the same name has already been used
for df in "$@";
do
if test "$df" = "$fn";
then
show_in=0
fi
done
# Must be set back before executing the program
IFS=$oldifs
set -- $@ "$fn"
if test $show_in -ne 0;
then
# Don't run the Exec key if a non-empty TryExec command can't be found
TRY_EXEC=$(cat "$f" | grep '^TryExec\s*=\s*\S' | sed -e 's/^TryExec\s*=\s*//g');
if test -n "$TRY_EXEC" && ! which $TRY_EXEC;
then
continue
fi
$(cat "$f" | grep '^Exec\s*=\s*' | sed -e 's/^Exec\s*=\s*//g') &
fi
done
done

View file

@ -38,5 +38,6 @@ if msgfmt.found()
subdir('po')
endif
subdir('data')
subdir('protocol')
subdir('waybox')

View file

@ -1,3 +1,4 @@
data/waybox.sh
waybox/config.c
waybox/main.c
waybox/output.c

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:03-0400\n"
"Last-Translator: aspersieman <aspersieman@gmail.com>\n"
"Language-Team: Afrikaans\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:03-0400\n"
"Last-Translator: كريم اولاد الشلحة <herr.linux88@gmail.com>\n"
"Language-Team: Arabic <herr.linux88@gmail.com>\n"
@ -21,6 +21,12 @@ msgstr ""
"X-Poedit-Language: Arabic\n"
"X-Poedit-Country: Morocco\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:03-0400\n"
"Last-Translator: Mikalai Udodau <crom-a@tut.by>\n"
"Language-Team: Belarusian <i18n@mova.org>\n"
@ -19,6 +19,12 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:06-0400\n"
"Last-Translator: Runa Bhattacharjee <runabh@gmail.com>\n"
"Language-Team: Bengali (India) <en@li.org>\n"
@ -18,6 +18,12 @@ msgstr ""
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:06-0400\n"
"Last-Translator: David Majà Martínez <davidmaja@gmail.com>\n"
"Language-Team: catalan\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:06-0400\n"
"Last-Translator: David Kolibac <david@kolibac.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
@ -19,6 +19,12 @@ msgstr ""
"X-Generator: Lokalize 1.2\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2022-02-18 17:43-0500\n"
"Last-Translator: Jesper Sander <sander.contrib@gmail.com>\n"
"Language-Team: None\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"PO-Revision-Date: 2022-02-20 20:21-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2022-02-22 21:21-0500\n"
"Last-Translator: Volker Ribbert <volker.nospam@netcologne.de>\n"
"Language-Team: <de@li.org>\n"
"Language: de\n"
@ -21,6 +21,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr "WARNUNG: Benutzt Dateien aus Openbox. Das wird nicht richtig werken."
msgid "ERROR: No configuration file found."
msgstr "FEHLER: Keine Einstellungsdatei gefunden."
msgid "Unable to evaluate expression"
msgstr "Konnte den Ausdruck nicht evaluieren"
@ -33,7 +39,8 @@ msgstr "Kein nodeset"
msgid ""
"Unable to parse the configuration file. Consult stderr for more information."
msgstr ""
"Kann nicht die Einstullungsdatei analisieren. Für mehr Informationen die Standardfehlerausgabe lesen."
"Kann nicht die Einstullungsdatei analisieren. Für mehr Informationen die "
"Standardfehlerausgabe lesen."
msgid "Couldn't create new context!"
msgstr "Konnte einen neuen Zusammenhang nicht erstellen"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: Efstathios Iosifidis <iosifidis@opensuse.org>\n"
"Language-Team: Ελληνικά, Σύγχρονα <opensuse-translation-el@opensuse.org>\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"PO-Revision-Date: 2022-02-20 20:22-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2022-02-22 21:21-0500\n"
"Last-Translator: Keith <keith@localhost>\n"
"Language-Team: Esperanto\n"
"Language: eo\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr "AVERTO: Uzas dosierojn el Openbox. Tiuj eble ne ĝuste funkcios."
msgid "ERROR: No configuration file found."
msgstr "ERARO: Neniu agordo-dosiero trovita."
msgid "Unable to evaluate expression"
msgstr "Ne povas taksi esprimon"
@ -140,7 +146,7 @@ msgid "Display destroyed"
msgstr "Ekrano finigita"
msgid "Keyboard focus is now on surface"
msgstr "Klavara fokuso nun estas surface"
msgstr "Klavara fokuso nun estas sur surfaco"
msgid "Focusing current view"
msgstr "Fokusas nunan vidon"

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: Nicolás de la Torre <ndelatorre@gmail.com>\n"
"Language-Team: español <es@li.org>\n"
@ -21,6 +21,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: mihkel <turakas@gmail.com>\n"
"Language-Team: Estonian <et@li.org>\n"
@ -19,6 +19,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: Inko I. A. <inkoia@gmail.com>\n"
"Language-Team: Inko I. A. <inkoia@gmail.com>\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: Lauri Hakko <aperculum@gmail.com>\n"
"Language-Team: None\n"
@ -20,6 +20,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: Cyrille Bagard <nocbos@gmail.com>\n"
"Language-Team: français <fr@li.org>\n"
@ -21,6 +21,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 19:33-0400\n"
"Last-Translator: Javier Mancebo <palleiros@yahoo.es>\n"
"Language-Team: Galician\n"
@ -16,6 +16,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 10:30-0400\n"
"Last-Translator: Eli Zaretskii <eliz@gnu.org>\n"
"Language-Team: Rahut <genghiskhan@gmx.ca>\n"
@ -20,6 +20,12 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.5.4\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:07-0400\n"
"Last-Translator: boljsa <asjlob AT vip.hr>\n"
"Language-Team: <asjlob AT vip.hr>\n"
@ -16,6 +16,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:42-0400\n"
"Last-Translator: Laszlo Dvornik <rezuri@zoho.com>\n"
"Language-Team: Hungarian\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:42-0400\n"
"Last-Translator: Nik Kalach <nikka@fedoraproject.org>\n"
"Language-Team: Interlingua (International Auxiliary Language Association) "
@ -18,6 +18,12 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 2.91.5\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:08-0400\n"
"Last-Translator: Davide Truffa <davide@catoblepa.org>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
@ -19,6 +19,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:08-0400\n"
"Last-Translator: Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>\n"
"Language-Team: Japanese <ja@li.org>\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:42-0400\n"
"Last-Translator: Algimantas Margevičius <margevicius.algimantas@gmail.com>\n"
"Language-Team: Lietuvių <>\n"
@ -21,6 +21,12 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2)\n"
"X-Generator: Gtranslator 2.91.5\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:08-0400\n"
"Last-Translator: Einars Sprugis <einars8@gmail.com>\n"
"Language-Team: Latvian <locale@laka.lv>\n"
@ -19,6 +19,12 @@ msgstr ""
"2);\n"
"X-Generator: Lokalize 1.0\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -1,6 +1,6 @@
i18n = import('i18n')
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name().to_lower() + '"',
'-DLOCALEDIR="' + get_option('prefix') + '/' + get_option('localedir') + '"',
'-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
language:'c')
i18n.gettext(meson.project_name().to_lower(),
args: ['--directory=' + source_root,

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:08-0400\n"
"Last-Translator: Pjotr <pjotrvertaalt@gmail.com>\n"
"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
@ -21,6 +21,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:23-0400\n"
"Last-Translator: Michael Kjelbergvik Thung <postlogic@gmail.com>\n"
"Language-Team: None\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:08-0400\n"
"Last-Translator: Jakub Błażejczyk\n"
"Language-Team: polski <kuboslawik@gmail.com>\n"
@ -22,6 +22,12 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:42-0400\n"
"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
"Language-Team: \n"
@ -20,6 +20,12 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.5.7\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:45-0400\n"
"Last-Translator: Og Maciel <ogmaciel@gnome.org>\n"
"Language-Team: Brazilian Portuguese <gnome-l10n-br@listas.cipsga.org.br>\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:09-0400\n"
"Last-Translator: Radu Feflea <rfeflea@googlemail.com>\n"
"Language-Team: none\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:09-0400\n"
"Last-Translator: Moroz Sergey L. <se.seam@gmail.com>\n"
"Language-Team: None\n"
@ -19,6 +19,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:09-0400\n"
"Last-Translator: Frantisek Elias <elias.frantisek@gmail.com>\n"
"Language-Team: Slovak <sk@sk.org>\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:09-0400\n"
"Last-Translator: Jay Alexander Fleming <tito.nehru.naser@gmail.com>\n"
"Language-Team: None\n"
@ -19,6 +19,12 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:09-0400\n"
"Last-Translator: Jay A. Fleming <tito.nehru.naser@gmail.com>\n"
"Language-Team: None\n"
@ -19,6 +19,12 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 18:42-0400\n"
"Last-Translator: Mikael Magnusson <mikachu@icculus.org>\n"
"Language-Team: None\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:09-0400\n"
"Last-Translator: Muhammet Kara <muhammet.k@gmail.com>\n"
"Language-Team: Turkish <gnome-turk@gnome.org>\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:10-0400\n"
"Last-Translator: Serhiy Lysovenko <lisovenko.s[at]gmail[dot]com>\n"
"Language-Team: Ukrainian <linux.org.ua>\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2022-02-01 21:17-0500\n"
"Last-Translator: Quan Tran <qeed.quan@gmail.com>\n"
"Language-Team: None\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: waybox\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,6 +17,12 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2020-03-10 14:10-0400\n"
"Last-Translator: zhou sf <sxzzsf@gmail.com>\n"
"Language-Team: Simplified Chinese\n"
@ -19,6 +19,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2022-02-20 20:16-0500\n"
"POT-Creation-Date: 2022-02-22 21:19-0500\n"
"PO-Revision-Date: 2022-02-01 21:14-0500\n"
"Last-Translator: 洪任諭 <pcman.tw@gmail.com>\n"
"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
@ -18,6 +18,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid "WARNING: Using files from Openbox. These may not work correctly."
msgstr ""
msgid "ERROR: No configuration file found."
msgstr ""
msgid "Unable to evaluate expression"
msgstr ""

View file

@ -126,22 +126,24 @@ static bool parse_key_bindings(struct wb_config *config, xmlXPathContextPtr ctxt
bool init_config(struct wb_server *server) {
xmlDocPtr doc;
if (server->config_file == NULL) {
char *rc_file;
if (getenv("WB_RC_XML")) {
rc_file = strdup(getenv("WB_RC_XML"));
} else if (server->config_file != NULL) {
rc_file = strdup(server->config_file);
} else {
char *xdg_config = getenv("XDG_CONFIG_HOME");
if (!xdg_config)
xdg_config = "~/.config";
char *rc_file = malloc(strlen(xdg_config) + 14);
rc_file = malloc(strlen(xdg_config) + 14);
strcpy(rc_file, xdg_config);
rc_file = strcat(rc_file, "/waybox/rc.xml");
doc = xmlParseFile(rc_file);
wlr_log(WLR_INFO, "Using config file %s", rc_file);
free(rc_file);
} else {
wlr_log(WLR_INFO, "Using config file %s", server->config_file);
doc = xmlReadFile(server->config_file, NULL, XML_PARSE_RECOVER);
}
doc = xmlReadFile(rc_file, NULL, XML_PARSE_RECOVER);
wlr_log(WLR_INFO, "Using config file %s", rc_file);
free(rc_file);
if (doc == NULL) {
wlr_log(WLR_ERROR, "%s", _("Unable to parse the configuration file. Consult stderr for more information."));
return false;

View file

@ -23,4 +23,5 @@ executable(
include_directories: [inc_dir],
dependencies: [wb_dep, wlr_protos],
install: true,
install_dir: get_option('prefix') / get_option('libexecdir'),
)