add first working meta-layer
This commit is contained in:
BIN
recipes-support/l3afpad/files/l3afpad-0.8.18.1.11.tar.gz
Normal file
BIN
recipes-support/l3afpad/files/l3afpad-0.8.18.1.11.tar.gz
Normal file
Binary file not shown.
30
recipes-support/l3afpad/l3afpad_0.8.18.bb
Normal file
30
recipes-support/l3afpad/l3afpad_0.8.18.bb
Normal file
@ -0,0 +1,30 @@
|
||||
DESCRIPTION = "leafpad for GTK3"
|
||||
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPENDS = "gtk+3 pango cairo harfbuzz gdk-pixbuf intltool-native"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
|
||||
SRC_URI = "file://l3afpad-0.8.18.1.11.tar.gz"
|
||||
SRC_URI[sha256sum] = "005457fa35a7e37024e403852a21a5c7362a0314a8de9b7fff73b1e7802d8959"
|
||||
|
||||
do_configure () {
|
||||
./configure --host=x86_64-unknown-linux --target=aarch64-poky-linux
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
make
|
||||
}
|
||||
|
||||
do_install () {
|
||||
DESTDIR=${D} make install
|
||||
}
|
||||
|
||||
FILES:${PN} += "/usr/local/*"
|
334
recipes-support/sfwbar/files/sfwbar.config
Normal file
334
recipes-support/sfwbar/files/sfwbar.config
Normal file
@ -0,0 +1,334 @@
|
||||
Set Term = "foot"
|
||||
|
||||
# Task Switcher
|
||||
switcher {
|
||||
interval = 700
|
||||
icons = true
|
||||
labels = false
|
||||
cols = 5
|
||||
}
|
||||
|
||||
function("SfwbarInit") {
|
||||
SetBarId "bar-0"
|
||||
SetLayer "bottom"
|
||||
}
|
||||
|
||||
function("ToggleMinimize") {
|
||||
[!Minimized] Minimize
|
||||
[Minimized] UnMinimize
|
||||
}
|
||||
|
||||
function("ToggleMaximize") {
|
||||
[!Maximized] Maximize
|
||||
[Maximized] UnMaximize
|
||||
}
|
||||
|
||||
|
||||
function("ShowDesktopSaveFocus") {
|
||||
[Focused] UserState "2:on"
|
||||
[!Focused] UserState "2:off"
|
||||
}
|
||||
|
||||
function("ShowdesktopMinimize") {
|
||||
[!Minimized] UserState "on"
|
||||
[Minimized] UserState "off"
|
||||
[!Minimized] Minimize
|
||||
}
|
||||
|
||||
function("ShowDesktopRestore") {
|
||||
[UserState] UnMinimize
|
||||
}
|
||||
|
||||
function("ShowDesktopRestoreFocus") {
|
||||
[UserState2] Focus
|
||||
}
|
||||
|
||||
function("ShowDesktopCheckWindow") {
|
||||
[!Minimized] UserState "target","2:on"
|
||||
}
|
||||
|
||||
function("ShowDesktopReminimize")
|
||||
{
|
||||
[!Minimized] UserState "on"
|
||||
[!Minimized] Minimize
|
||||
}
|
||||
|
||||
function("ShowDesktopUnminimized") {
|
||||
[UserState2 | Children] Function "ShowDesktopSaveFocus"
|
||||
[UserState2 | Children] Function "ShowDesktopReminimize"
|
||||
[!UserState2 | Children] Function "ShowDesktopRestore"
|
||||
[!UserState2 | Children] Function "ShowDesktopRestoreFocus"
|
||||
[!UserState2] UserState "off"
|
||||
[UserState2] UserState "on"
|
||||
}
|
||||
|
||||
function("ShowDesktop") {
|
||||
[!UserState | Children] Function "ShowDesktopSaveFocus"
|
||||
[!UserState | Children] Function "ShowDesktopMinimize"
|
||||
[UserState] UserState "2:off"
|
||||
[UserState| Children ] Function "ShowDesktopCheckWindow"
|
||||
[UserState] Function "target","ShowDesktopUnminimized"
|
||||
[!UserState] UserState "on"
|
||||
}
|
||||
|
||||
menu("winops") {
|
||||
item("Focus", Focus );
|
||||
item("Close", Close );
|
||||
item("Toggle minimize", Function "ToggleMinimize" );
|
||||
item("Toggle maximize", Function "ToggleMaximize" );
|
||||
}
|
||||
|
||||
# Panel layout
|
||||
|
||||
layout {
|
||||
button {
|
||||
style = "launcher"
|
||||
value = "/usr/share/icons/Adwaita/scalable/actions/view-app-grid-symbolic.svg"
|
||||
action = Exec "wtype -M alt ' ' -m alt"
|
||||
}
|
||||
button {
|
||||
style = "launcher"
|
||||
value = "/usr/share/icons/Adwaita/scalable/actions/system-run-symbolic.svg"
|
||||
tooltip = "Quick run"
|
||||
action = Exec "bash -c \"`drun`\""
|
||||
}
|
||||
button {
|
||||
value = "/usr/share/icons/Adwaita/scalable/devices/tv-symbolic.svg"
|
||||
style = "launcher"
|
||||
tooltip = "Show Desktop"
|
||||
action = Function "target", "ShowDesktop"
|
||||
}
|
||||
button {
|
||||
style = "launcher"
|
||||
value = $Term
|
||||
tooltip = "Terminal"
|
||||
action = Exec $Term
|
||||
}
|
||||
taskbar "target" {
|
||||
rows = 1
|
||||
css = "* { -GtkWidget-hexpand:false; }" # stretch horizontally
|
||||
icons = true
|
||||
group = false
|
||||
sort = false
|
||||
labels = true
|
||||
action[3] = Menu "winops"
|
||||
action[2] = Close
|
||||
}
|
||||
label {
|
||||
css = "* { -GtkWidget-hexpand: true; }"
|
||||
}
|
||||
tray {
|
||||
rows = 1
|
||||
}
|
||||
include("network-module.widget")
|
||||
include("cpu.widget")
|
||||
include("memory.widget")
|
||||
}
|
||||
|
||||
#CSS
|
||||
button#launcher, button#module{
|
||||
padding: 0px 2px 0px 2px;
|
||||
/*background: none;
|
||||
background-color: #5F548E;*/
|
||||
border-style:none;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
-GtkWidget-direction: top;
|
||||
/*background-color: rgba(0,0,0,0.6);*/
|
||||
border-color: rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
#hidden {
|
||||
-GtkWidget-visible: false;
|
||||
}
|
||||
|
||||
button#taskbar_normal grid {
|
||||
-GtkWidget-hexpand: false;
|
||||
padding-right: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
button#launcher image, button#taskbar_normal image, button#taskbar_active image, button#taskbar_normal:hover image {
|
||||
-GtkWidget-vexpand: true;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
border-image: none;
|
||||
background-image: none;
|
||||
background: none;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
button#taskbar_normal label, button#taskbar_active label, button#taskbar_normal:hover label {
|
||||
-GtkWidget-vexpand: true;
|
||||
-GtkWidget-hexpand: false;
|
||||
padding-left: 0.75mm;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
font: 0.3cm Sans;
|
||||
}
|
||||
|
||||
button#taskbar_normal , button#taskbar_active , button#taskbar_normal:hover {
|
||||
padding-left: 0.75mm;
|
||||
padding-top: 0.5mm;
|
||||
padding-bottom: 0.5mm;
|
||||
background-image: none;
|
||||
border-radius: 0;
|
||||
border-image: none;
|
||||
-GtkWidget-hexpand: false;
|
||||
-GtkWidget-vexpand: true;
|
||||
background-color: rgba(119,119,119,0.2);
|
||||
border: none;
|
||||
/*border-color: rgba(119,119,119,0.3);*/
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button#taskbar_normal label {
|
||||
color: black;
|
||||
}
|
||||
|
||||
button#taskbar_active {
|
||||
/* background-color: rgba(255,255,255,0.2);
|
||||
border-color: rgba(255,255,255,0.4); */
|
||||
border-bottom:3px solid #5F548E;
|
||||
}
|
||||
button#taskbar_active label, button#taskbar_normal:hover label {
|
||||
color: #5F548E;
|
||||
}
|
||||
/* button#taskbar_active:hover*/
|
||||
button#taskbar_normal:hover {
|
||||
background-color: #d2d2d2;
|
||||
border-color: rgba(234,234,234,0.44);
|
||||
}
|
||||
|
||||
grid#switcher_active image,
|
||||
grid#switcher_active {
|
||||
min-width: 1.25cm;
|
||||
min-height: 1.25cm;
|
||||
border-image: none;
|
||||
padding: 1.25mm;
|
||||
background-color: #777777;
|
||||
border: 0px;
|
||||
box-shadow: none;
|
||||
border-radius: 1.25mm;
|
||||
-GtkWidget-hexpand: true;
|
||||
}
|
||||
|
||||
grid#switcher_normal image,
|
||||
grid#switcher_normal {
|
||||
min-width: 1.25cm;
|
||||
min-height: 1.25cm;
|
||||
border-image: none;
|
||||
padding: 1.25mm;
|
||||
-GtkWidget-direction: right;
|
||||
-GtkWidget-hexpand: true;
|
||||
}
|
||||
|
||||
window#switcher {
|
||||
border-style: solid;
|
||||
border-width: 0.25mm;
|
||||
border-color: #000000;
|
||||
border-radius: 1.25mm;
|
||||
padding: 1.25mm;
|
||||
-GtkWidget-hexpand: true;
|
||||
}
|
||||
|
||||
grid#switcher {
|
||||
border-radius: 1.25mm;
|
||||
padding: 1.25mm;
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
border-color: rgba(119,119,119,0.8);
|
||||
box-shadow: none;
|
||||
-GtkWidget-hexpand: true;
|
||||
}
|
||||
|
||||
button#tray_active,
|
||||
button#tray_passive,
|
||||
button#tray_attention {
|
||||
background-image: none;
|
||||
border: 0px;
|
||||
padding: 0px 1px;
|
||||
margin: 0px;
|
||||
border-image: none;
|
||||
border-radius: 0px;
|
||||
outline-style: none;
|
||||
box-shadow: none;
|
||||
-GtkWidget-hexpand: true;
|
||||
-GtkWidget-vexpand: true;
|
||||
}
|
||||
|
||||
button#tray_active image,
|
||||
button#tray_passive image,
|
||||
button#tray_attention image {
|
||||
min-width: 26px;
|
||||
}
|
||||
|
||||
grid#layout {
|
||||
padding: 0.25mm;
|
||||
-GtkWidget-direction: right;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
menu {
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
border-color: rgba(119,119,119,0.3);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
menuitem {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
menu image {
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
chart#cpu_chart {
|
||||
background: rgba(127,127,127,0.3);
|
||||
min-width: 9px;
|
||||
-GtkWidget-vexpand: true;
|
||||
margin: 2px;
|
||||
border: 1px solid @theme_fg_color;
|
||||
color: red;
|
||||
}
|
||||
|
||||
progressbar#memory {
|
||||
-GtkWidget-direction: top;
|
||||
-GtkWidget-vexpand: true;
|
||||
min-width: 9px;
|
||||
border: 1px solid @theme_fg_color;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
progressbar#memory trough {
|
||||
min-height: 2px;
|
||||
min-width: 9px;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
background: rgba(127,127,127,0.3);
|
||||
}
|
||||
|
||||
progressbar#memory progress {
|
||||
-GtkWidget-hexpand: true;
|
||||
min-width: 9px;
|
||||
border-radius: 0px;
|
||||
border: none;
|
||||
margin: 0px;
|
||||
background-color: alpha(green,0.9);
|
||||
}
|
||||
|
||||
|
||||
label {
|
||||
font: 0.27cm Sans;
|
||||
color: #ffffff;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
* {
|
||||
-GtkWidget-vexpand: true;
|
||||
}
|
27
recipes-support/sfwbar/sfwbar_git.bb
Normal file
27
recipes-support/sfwbar/sfwbar_git.bb
Normal file
@ -0,0 +1,27 @@
|
||||
DESCRIPTION = "sfwbar pannel for wayland"
|
||||
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
DEPENDS = "gtk+3 gtk-layer-shell json-c wayland-native"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://github.com/LBCrion/sfwbar.git;protocol=https;branch=main"
|
||||
SRC_URI += " file://sfwbar.config "
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/${sysconfdir}/xdg/
|
||||
install -d ${D}/${sysconfdir}/xdg/sfwbar/
|
||||
install -m 0755 ${WORKDIR}/sfwbar.config ${D}/${sysconfdir}/xdg/sfwbar/
|
||||
}
|
||||
|
||||
FILES:${PN} += "/usr/share/icons/*"
|
1
recipes-support/swayidle/swayidle_%.bbappend
Normal file
1
recipes-support/swayidle/swayidle_%.bbappend
Normal file
@ -0,0 +1 @@
|
||||
PACKAGECONFIG:remove = " systemd sysvinit man-pages "
|
1
recipes-support/swaylock/swaylock_%.bbappend
Normal file
1
recipes-support/swaylock/swaylock_%.bbappend
Normal file
@ -0,0 +1 @@
|
||||
PACKAGECONFIG:remove = " man-pages pam "
|
320
recipes-support/tofi/files/config
Normal file
320
recipes-support/tofi/files/config
Normal file
@ -0,0 +1,320 @@
|
||||
# Default config for tofi
|
||||
#
|
||||
# Copy this file to ~/.config/tofi/config and get customising!
|
||||
#
|
||||
# A complete reference of available options can be found in `man 5 tofi`.
|
||||
|
||||
#
|
||||
### Fonts
|
||||
#
|
||||
# Font to use, either a path to a font file or a name.
|
||||
#
|
||||
# If a path is given, tofi will startup much quicker, but any
|
||||
# characters not in the chosen font will fail to render.
|
||||
#
|
||||
# Otherwise, fonts are interpreted in Pango format.
|
||||
font = "Sans"
|
||||
|
||||
# Point size of text.
|
||||
font-size = 24
|
||||
|
||||
# Comma separated list of OpenType font feature settings to apply,
|
||||
# if supported by the chosen font. The format is similar to the CSS
|
||||
# "font-feature-settings" property.
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# font-features = "smcp, c2sc" (all small caps)
|
||||
# font-features = "liga 0" (disable ligatures)
|
||||
font-features = ""
|
||||
|
||||
# Comma separated list of OpenType font variation settings to apply
|
||||
# to variable fonts. The format is similar to the CSS
|
||||
# "font-variation-settings" property.
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# font-variations = "wght 900" (Extra bold)
|
||||
# font-variations = "wdth 25, slnt -10" (Narrow and slanted)
|
||||
font-variations = ""
|
||||
|
||||
# Perform font hinting. Only applies when a path to a font has been
|
||||
# specified via `font`. Disabling font hinting speeds up text
|
||||
# rendering appreciably, but will likely look poor at small font pixel
|
||||
# sizes.
|
||||
hint-font = true
|
||||
|
||||
#
|
||||
### Text theming
|
||||
#
|
||||
# Default text color
|
||||
#
|
||||
# All text defaults to this color if not otherwise specified.
|
||||
text-color = #FFFFFF
|
||||
|
||||
# All pieces of text have the same theming attributes available:
|
||||
#
|
||||
# *-color
|
||||
# Foreground color
|
||||
#
|
||||
# *-background
|
||||
# Background color
|
||||
#
|
||||
# *-background-padding
|
||||
# Background padding in pixels (comma-delimited, CSS-style list).
|
||||
# See "DIRECTIONAL VALUES" under `man 5 tofi` for more info.
|
||||
#
|
||||
# *-background-corner-radius
|
||||
# Radius of background box corners in pixels
|
||||
|
||||
# Prompt text theme
|
||||
# prompt-color = #FFFFFF
|
||||
prompt-background = #00000000
|
||||
prompt-background-padding = 0
|
||||
prompt-background-corner-radius = 0
|
||||
|
||||
# Placeholder text theme
|
||||
placeholder-color = #FFFFFFA8
|
||||
placeholder-background = #00000000
|
||||
placeholder-background-padding = 0
|
||||
placeholder-background-corner-radius = 0
|
||||
|
||||
# Input text theme
|
||||
# input-color = #FFFFFF
|
||||
input-background = #00000000
|
||||
input-background-padding = 0
|
||||
input-background-corner-radius = 0
|
||||
|
||||
# Default result text theme
|
||||
# default-result-color = #FFFFFF
|
||||
default-result-background = #00000000
|
||||
default-result-background-padding = 0
|
||||
default-result-background-corner-radius = 0
|
||||
|
||||
# Alternate (even-numbered) result text theme
|
||||
#
|
||||
# If unspecified, these all default to the corresponding
|
||||
# default-result-* attribute.
|
||||
#
|
||||
# alternate-result-color = #FFFFFF
|
||||
# alternate-result-background = #00000000
|
||||
# alternate-result-background-padding = 0
|
||||
# alternate-result-background-corner-radius = 0
|
||||
|
||||
# Selection text
|
||||
selection-color = #F92672
|
||||
selection-background = #00000000
|
||||
selection-background-padding = 0
|
||||
selection-background-corner-radius = 0
|
||||
|
||||
# Matching portion of selection text
|
||||
selection-match-color = #00000000
|
||||
|
||||
|
||||
#
|
||||
### Text cursor theme
|
||||
#
|
||||
# Style of the optional text cursor.
|
||||
#
|
||||
# Supported values: bar, block, underscore
|
||||
text-cursor-style = bar
|
||||
|
||||
# Color of the text cursor
|
||||
#
|
||||
# If unspecified, defaults to the same as input-color
|
||||
# text-cursor-color = #FFFFFF
|
||||
|
||||
# Color of text behind the text cursor when text-cursor-style = block
|
||||
#
|
||||
# If unspecified, defaults to the same as background-color
|
||||
# text-cursor-background = #000000
|
||||
|
||||
# Corner radius of the text cursor
|
||||
text-cursor-corner-radius = 0
|
||||
|
||||
# Thickness of the bar and underscore text cursors.
|
||||
#
|
||||
# If unspecified, defaults to a font-dependent value when
|
||||
# text-cursor-style = underscore, or to 2 otherwise.
|
||||
# text-cursor-thickness = 2
|
||||
|
||||
#
|
||||
### Text layout
|
||||
#
|
||||
# Prompt to display.
|
||||
prompt-text = "run: "
|
||||
|
||||
# Extra horizontal padding between prompt and input.
|
||||
prompt-padding = 0
|
||||
|
||||
# Placeholder input text.
|
||||
placeholder-text = ""
|
||||
|
||||
# Maximum number of results to display.
|
||||
# If 0, tofi will draw as many results as it can fit in the window.
|
||||
num-results = 0
|
||||
|
||||
# Spacing between results in pixels. Can be negative.
|
||||
result-spacing = 0
|
||||
|
||||
# List results horizontally.
|
||||
horizontal = false
|
||||
|
||||
# Minimum width of input in horizontal mode.
|
||||
min-input-width = 0
|
||||
|
||||
#
|
||||
### Window theming
|
||||
#
|
||||
# Width and height of the window. Can be pixels or a percentage.
|
||||
width = 640
|
||||
height = 480
|
||||
|
||||
# Window background color
|
||||
background-color = #1B1D1E
|
||||
|
||||
# Width of the border outlines in pixels.
|
||||
outline-width = 4
|
||||
|
||||
# Border outline color
|
||||
outline-color = #080800
|
||||
|
||||
# Width of the border in pixels.
|
||||
border-width = 12
|
||||
|
||||
# Border color
|
||||
border-color = #F92672
|
||||
|
||||
# Radius of window corners in pixels.
|
||||
corner-radius = 0
|
||||
|
||||
# Padding between borders and text. Can be pixels or a percentage.
|
||||
padding-top = 8
|
||||
padding-bottom = 8
|
||||
padding-left = 8
|
||||
padding-right = 8
|
||||
|
||||
# Whether to clip text drawing to be within the specified padding. This
|
||||
# is mostly important for allowing text to be inset from the border,
|
||||
# while still allowing text backgrounds to reach right to the edge.
|
||||
clip-to-padding = true
|
||||
|
||||
# Whether to scale the window by the output's scale factor.
|
||||
scale = true
|
||||
|
||||
#
|
||||
### Window positioning
|
||||
#
|
||||
# The name of the output to appear on. An empty string will use the
|
||||
# default output chosen by the compositor.
|
||||
output = ""
|
||||
|
||||
# Location on screen to anchor the window to.
|
||||
#
|
||||
# Supported values: top-left, top, top-right, right, bottom-right,
|
||||
# bottom, bottom-left, left, center.
|
||||
anchor = center
|
||||
|
||||
# Set the size of the exclusive zone.
|
||||
#
|
||||
# A value of -1 means ignore exclusive zones completely.
|
||||
# A value of 0 will move tofi out of the way of other windows' zones.
|
||||
# A value greater than 0 will set that much space as an exclusive zone.
|
||||
#
|
||||
# Values greater than 0 are only meaningful when tofi is anchored to a
|
||||
# single edge.
|
||||
exclusive-zone = -1
|
||||
|
||||
# Window offset from edge of screen. Only has an effect when anchored
|
||||
# to the relevant edge. Can be pixels or a percentage.
|
||||
margin-top = 0
|
||||
margin-bottom = 0
|
||||
margin-left = 0
|
||||
margin-right = 0
|
||||
|
||||
#
|
||||
### Behaviour
|
||||
#
|
||||
# Hide the mouse cursor.
|
||||
hide-cursor = true
|
||||
|
||||
# Show a text cursor in the input field.
|
||||
text-cursor = true
|
||||
|
||||
# Sort results by number of usages in run and drun modes.
|
||||
history = true
|
||||
|
||||
# Specify an alternate file to read and store history information
|
||||
# from / to. This shouldn't normally be needed, and is intended to
|
||||
# facilitate the creation of custom modes.
|
||||
# history-file = /path/to/histfile
|
||||
|
||||
# Select the matching algorithm used. If normal, substring matching is
|
||||
# used, weighted to favour matches closer to the beginning of the
|
||||
# string. If prefix, only substrings at the beginning of the string are
|
||||
# matched. If fuzzy, searching is performed via a simple fuzzy matching
|
||||
# algorithm.
|
||||
#
|
||||
# Supported values: normal, prefix, fuzzy
|
||||
matching-algorithm = normal
|
||||
|
||||
# If true, require a match to allow a selection to be made. If false,
|
||||
# making a selection with no matches will print input to stdout.
|
||||
# In drun mode, this is always true.
|
||||
require-match = true
|
||||
|
||||
# If true, automatically accept a result if it is the only one
|
||||
# remaining. If there's only one result on startup, window creation is
|
||||
# skipped altogether.
|
||||
auto-accept-single = false
|
||||
|
||||
# If true, typed input will be hidden, and what is displayed (if
|
||||
# anything) is determined by the hidden-character option.
|
||||
hide-input = false
|
||||
|
||||
# Replace displayed input characters with a character. If the empty
|
||||
# string is given, input will be completely hidden.
|
||||
# This option only has an effect when hide-input is set to true.
|
||||
hidden-character = "*"
|
||||
|
||||
# If true, use physical keys for shortcuts, regardless of the current
|
||||
# keyboard layout. If false, use the current layout's keys.
|
||||
physical-keybindings = true
|
||||
|
||||
# Instead of printing the selected entry, print the 1-based index of
|
||||
# the selection. This option has no effect in run or drun mode. If
|
||||
# require-match is set to false, non-matching input will still result
|
||||
# in the input being printed.
|
||||
print-index = false
|
||||
|
||||
# If true, directly launch applications on selection when in drun mode.
|
||||
# Otherwise, just print the command line to stdout.
|
||||
drun-launch = false
|
||||
|
||||
# The terminal to run terminal programs in when in drun mode.
|
||||
# This option has no effect if drun-launch is set to true.
|
||||
# Defaults to the value of the TERMINAL environment variable.
|
||||
terminal = foot
|
||||
|
||||
# Delay keyboard initialisation until after the first draw to screen.
|
||||
# This option is experimental, and will cause tofi to miss keypresses
|
||||
# for a short time after launch. The only reason to use this option is
|
||||
# performance on slow systems.
|
||||
late-keyboard-init = false
|
||||
|
||||
# If true, allow multiple simultaneous processes.
|
||||
# If false, create a lock file on startup to prevent multiple instances
|
||||
# from running simultaneously.
|
||||
multi-instance = false
|
||||
|
||||
# Assume input is plain ASCII, and disable some Unicode handling
|
||||
# functions. This is faster, but means e.g. a search for "e" will not
|
||||
# match "é".
|
||||
ascii-input = false
|
||||
|
||||
#
|
||||
### Inclusion
|
||||
#
|
||||
# Configs can be split between multiple files, and then included
|
||||
# within each other.
|
||||
# include = /path/to/config
|
9
recipes-support/tofi/files/drun
Executable file
9
recipes-support/tofi/files/drun
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
config="/etc/xdg/tofi/config"
|
||||
|
||||
if [ -e "$HOME/.config/tofi/config" ]; then
|
||||
config="$HOME/.config/tofi/config"
|
||||
fi
|
||||
|
||||
tofi-drun -c "$config"
|
27
recipes-support/tofi/tofi_git.bb
Normal file
27
recipes-support/tofi/tofi_git.bb
Normal file
@ -0,0 +1,27 @@
|
||||
DESCRIPTION = "tofi menu for wayland"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
DEPENDS = "wayland freetype wayland-native wayland-protocols-native wayland-protocols harfbuzz pango libxkbcommon"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://github.com/philj56/tofi.git;protocol=https;branch=master"
|
||||
SRC_URI += " file://config file://drun "
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
do_install:append () {
|
||||
# replace the default config
|
||||
install -m 0755 ${WORKDIR}/drun ${D}/usr/bin/
|
||||
install -m 0755 ${WORKDIR}/config ${D}/${sysconfdir}/xdg/tofi/
|
||||
}
|
||||
|
||||
FILES:${PN} += "/usr/share/*"
|
23
recipes-support/wlopm/wlopm_git.bb
Normal file
23
recipes-support/wlopm/wlopm_git.bb
Normal file
@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "wlopm"
|
||||
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
|
||||
|
||||
|
||||
DEPENDS = "wayland wayland-native wayland-protocols"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://git.iohub.dev/dany/wlopm.git;protocol=https;branch=master"
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR='${D}'
|
||||
}
|
||||
|
||||
FILES:${PN} += "/usr/local/*"
|
17
recipes-support/wtype/wtype_git.bb
Normal file
17
recipes-support/wtype/wtype_git.bb
Normal file
@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "virtual key event for wayland"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
|
||||
DEPENDS = "wayland wayland-native wayland-protocols-native wayland-protocols libxkbcommon"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://github.com/atx/wtype.git;protocol=https;branch=master"
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
Reference in New Issue
Block a user