tessen for river desktop
parent
004e036629
commit
457f3ee837
|
@ -1,65 +1,5 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
# usage: bemenu [options]
|
|
||||||
# Options
|
|
||||||
# -h, --help display this help and exit.
|
|
||||||
# -v, --version display version.
|
|
||||||
# -i, --ignorecase match items case insensitively.
|
|
||||||
# -F, --filter filter entries for a given string.
|
|
||||||
# -w, --wrap wraps cursor selection.
|
|
||||||
# -l, --list list items vertically with the given number of lines.
|
|
||||||
# -p, --prompt defines the prompt text to be displayed.
|
|
||||||
# -P, --prefix text to show before highlighted item.
|
|
||||||
# -I, --index select item at index automatically.
|
|
||||||
# -x, --password hide input.
|
|
||||||
# -s, --no-spacing disable the title spacing on entries.
|
|
||||||
# --scrollbar display scrollbar. (none (default), always, autohide)
|
|
||||||
# --ifne only display menu if there are items.
|
|
||||||
# --fork always fork. (bemenu-run)
|
|
||||||
# --no-exec do not execute command. (bemenu-run)
|
|
||||||
#
|
|
||||||
# Use BEMENU_BACKEND env variable to force backend:
|
|
||||||
# curses ncurses based terminal backend
|
|
||||||
# wayland wayland backend
|
|
||||||
# x11 x11 backend
|
|
||||||
#
|
|
||||||
# If BEMENU_BACKEND is empty, one of the GUI backends is selected automatically.
|
|
||||||
#
|
|
||||||
# Backend specific options
|
|
||||||
# c = ncurses, w == wayland, x == x11
|
|
||||||
# (...) At end of help indicates the backend support for option.
|
|
||||||
#
|
|
||||||
# -b, --bottom appears at the bottom of the screen. (wx)
|
|
||||||
# -c, --center appears at the center of the screen. (wx)
|
|
||||||
# -f, --grab show the menu before reading stdin. (wx)
|
|
||||||
# -n, --no-overlap adjust geometry to not overlap with panels. (w)
|
|
||||||
# -m, --monitor index of monitor where menu will appear. (wx)
|
|
||||||
# -H, --line-height defines the height to make each menu line (0 = default height). (wx)
|
|
||||||
# -M, --margin defines the empty space on either side of the menu. (wx)
|
|
||||||
# -W, --width-factor defines the relative width factor of the menu (from 0 to 1). (wx)
|
|
||||||
# -B, --border defines the width of the border in pixels around the menu. (wx)
|
|
||||||
# --ch defines the height of the cursor (0 = scales with line height). (wx)
|
|
||||||
# --cw defines the width of the cursor. (wx)
|
|
||||||
# --hp defines the horizontal padding for the entries in single line mode. (wx)
|
|
||||||
# --fn defines the font to be used ('name [size]'). (wx)
|
|
||||||
# --tb defines the title background color. (wx)
|
|
||||||
# --tf defines the title foreground color. (wx)
|
|
||||||
# --fb defines the filter background color. (wx)
|
|
||||||
# --ff defines the filter foreground color. (wx)
|
|
||||||
# --nb defines the normal background color. (wx)
|
|
||||||
# --nf defines the normal foreground color. (wx)
|
|
||||||
# --hb defines the highlighted background color. (wx)
|
|
||||||
# --hf defines the highlighted foreground color. (wx)
|
|
||||||
# --fbb defines the feedback background color. (wx)
|
|
||||||
# --fbf defines the feedback foreground color. (wx)
|
|
||||||
# --sb defines the selected background color. (wx)
|
|
||||||
# --sf defines the selected foreground color. (wx)
|
|
||||||
# --ab defines the alternating background color. (wx)
|
|
||||||
# --af defines the alternating foreground color. (wx)
|
|
||||||
# --scb defines the scrollbar background color. (wx)
|
|
||||||
# --scf defines the scrollbar foreground color. (wx)
|
|
||||||
# --bdr defines the border color. (wx)
|
|
||||||
|
|
||||||
let
|
let
|
||||||
bemenuColors = {
|
bemenuColors = {
|
||||||
titleBackground = "#282828E0";
|
titleBackground = "#282828E0";
|
||||||
|
@ -74,7 +14,7 @@ let
|
||||||
scrollbarForeground = "#458588E0";
|
scrollbarForeground = "#458588E0";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
home.packages = [ pkgs.bemenu ];
|
home.packages = [ pkgs.bemenu pkgs.tessen ];
|
||||||
home.sessionVariables.BEMENU_OPTS = ''
|
home.sessionVariables.BEMENU_OPTS = ''
|
||||||
--ignorecase \
|
--ignorecase \
|
||||||
--list 20 \
|
--list 20 \
|
||||||
|
@ -98,4 +38,13 @@ in {
|
||||||
--scb '${bemenuColors.scrollbarBackground}' \
|
--scb '${bemenuColors.scrollbarBackground}' \
|
||||||
--scf '${bemenuColors.scrollbarForeground}'
|
--scf '${bemenuColors.scrollbarForeground}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
home.file.tessen_config = {
|
||||||
|
target = "${config.xdg.configHome}/tessen/config";
|
||||||
|
text = ''
|
||||||
|
pass_backend="pass"
|
||||||
|
dmenu_backend="bemenu"
|
||||||
|
action="autotype"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@ in {
|
||||||
river
|
river
|
||||||
swaybg
|
swaybg
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
wtype
|
||||||
xdg-utils
|
xdg-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
|
|
||||||
WALLPAPERS="$HOME/Images/wallpapers/enabled"
|
WALLPAPERS="$HOME/Images/wallpapers/enabled"
|
||||||
|
|
||||||
# Super+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
|
# Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
|
||||||
riverctl map normal Super Return spawn foot
|
riverctl map normal Super+Shift Return spawn foot
|
||||||
|
|
||||||
riverctl map normal Super R spawn bemenu-run
|
riverctl map normal Super R spawn bemenu-run
|
||||||
|
riverctl map normal Super P spawn tessen
|
||||||
|
|
||||||
# Super+Shift+C to close the focused view
|
# Super+Shift+C to close the focused view
|
||||||
riverctl map normal Super+Shift C close
|
riverctl map normal Super+Shift C close
|
||||||
|
@ -32,8 +33,8 @@ riverctl map normal Super W focus-output previous
|
||||||
riverctl map normal Super+Shift W send-to-output next
|
riverctl map normal Super+Shift W send-to-output next
|
||||||
riverctl map normal Super+Shift W send-to-output previous
|
riverctl map normal Super+Shift W send-to-output previous
|
||||||
|
|
||||||
# Super+Shift+Return to bump the focused view to the top of the layout stack
|
# Super+Return to bump the focused view to the top of the layout stack
|
||||||
riverctl map normal Super+Shift Return zoom
|
riverctl map normal Super Return zoom
|
||||||
|
|
||||||
# Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
|
# Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
|
||||||
riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05"
|
riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05"
|
||||||
|
|
Loading…
Reference in New Issue