From b77a7d585cf6cf2420dd770e42ba5b1e08a4e12c Mon Sep 17 00:00:00 2001 From: schererleander Date: Mon, 11 Mar 2024 17:12:20 +0100 Subject: initial commit --- .config/labwc/autostart | 36 +++++++++++++++++++++ .config/labwc/environment | 70 +++++++++++++++++++++++++++++++++++++++++ .config/labwc/menu.xml | 80 +++++++++++++++++++++++++++++++++++++++++++++++ .config/labwc/rc.xml | 45 ++++++++++++++++++++++++++ 4 files changed, 231 insertions(+) create mode 100644 .config/labwc/autostart create mode 100644 .config/labwc/environment create mode 100644 .config/labwc/menu.xml create mode 100644 .config/labwc/rc.xml (limited to '.config/labwc') diff --git a/.config/labwc/autostart b/.config/labwc/autostart new file mode 100644 index 0000000..47255d8 --- /dev/null +++ b/.config/labwc/autostart @@ -0,0 +1,36 @@ +# Example autostart file + +# Set background color. +# swaybg -i ~/Pictures/*-1.png >/dev/null 2>&1 & + +swaybg -i ~/Pictures/*-1.png & + +# Configure output directives such as mode, position, scale and transform. +# Use wlr-randr to get your output names +# Example ~/.config/kanshi/config below: +# profile { +# output HDMI-A-1 position 1366,0 +# output eDP-1 position 0,0 +# } +kanshi >/dev/null 2>&1 & + +# Launch a panel such as yambar or waybar. +sfwbar >/dev/null 2>&1 & + +# Enable notifications. Typically GNOME/KDE application notifications go +# through the org.freedesktop.Notifications D-Bus API and require a client such +# as mako to function correctly. Thunderbird is an example of this. +dunst >/dev/null 2>&1 & + +# Lock screen after 5 minutes; turn off display after another 5 minutes. +# +# Note that in the context of idle system power management, it is *NOT* a good +# idea to turn off displays by 'disabling outputs' for example by +# `wlr-randr --output --off` because this re-arranges views +# (since a837fef). Instead use a wlr-output-power-management client such as +# https://git.sr.ht/~leon_plickat/wlopm +swayidle -w \ + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'wlopm --off \*' \ + resume 'wlopm --on \*' \ + before-sleep 'swaylock -f -c 000000' >/dev/null 2>&1 & diff --git a/.config/labwc/environment b/.config/labwc/environment new file mode 100644 index 0000000..34e6843 --- /dev/null +++ b/.config/labwc/environment @@ -0,0 +1,70 @@ +## +## Example ~/.config/labwc/environment file. +## Uncomment lines starting with one '#' to suit your needs. +## + +## +## Use the XKB_DEFAULT_LAYOUT variable to set the keyboard layout. For example +## to start with Swedish keyboard layout set it to 'se'. If you are unsure what +## your country code is, refer to the layout section of: +## /usr/share/X11/xkb/rules/evdev.lst +## +## Multiple keyboard layouts can be set by comma-separating the country codes. +## If a variant layout is needed, the syntax is layout(variant) +## If multiple layouts are used, specify the toggle-keybind using +## XKB_DEFAULT_OPTIONS as show below. +## +## For further details, see xkeyboard-config(7) +## + +XKB_DEFAULT_LAYOUT=de +# XKB_DEFAULT_LAYOUT=se,us(intl) +# XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle +# XKB_DEFAULT_OPTIONS=grp:shift_caps_toggle + +## +## Force Mozilla software like Firefox and Thunderbird to use wayland backend. +## Firefox (>= v121) enables Wayland by default, but we include this note here +## for those on non-rolling distributions. +## + +# MOZ_ENABLE_WAYLAND=1 + +## +## Set cursor theme and size. Find system icons themes with: +## `find /usr/share/icons/ -type d -name "cursors"` +## + +# XCURSOR_THEME=breeze_cursors +# XCURSOR_THEME=capitaine-cursors +XCURSOR_SIZE=24 + +## +## Disable hardware cursors. Most users would not want to do this, but if you +## are experiencing issues with disappearing cursors, this might fix it. +## + +# WLR_NO_HARDWARE_CURSORS=1 + +## +## In order for labwc to work out of the box, the environment variable below +## is set to "1" by default to avoid menus with incorrect offset and blank +## windows with Java applications such as JetBrains and Intellij Idea. +## See https://github.com/swaywm/sway/issues/595 +## labwc will not override any already set environment variables, so if you for +## some reason do not want this, then just set it to "0" (not recommended, but +## mentioned here for completeness). +## + +# _JAVA_AWT_WM_NONREPARENTING=0 + +## +## This allows xdg-desktop-portal-wlr to function (e.g. for screen-recording). +## It is automatically set to "wlroots" by labwc though, so it is only +## includeded here for completeness. Again, labwc will not over-write an +## already set environment variable, so if you need it set to something else, +## then uncomment and adjust. +## + +XDG_CURRENT_DESKTOP=wlroots + diff --git a/.config/labwc/menu.xml b/.config/labwc/menu.xml new file mode 100644 index 0000000..b34711b --- /dev/null +++ b/.config/labwc/menu.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + diff --git a/.config/labwc/rc.xml b/.config/labwc/rc.xml new file mode 100644 index 0000000..12a8931 --- /dev/null +++ b/.config/labwc/rc.xml @@ -0,0 +1,45 @@ + + + + + + + server + 0 + no + yes + + + + Walbox + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.3.1