capibara back to sway

feat/kile-v2
Ricard Illa 2022-08-16 14:49:54 +02:00
parent 210f7e0397
commit 0866efc245
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
4 changed files with 67 additions and 4 deletions

View File

@ -2,6 +2,6 @@
{ {
imports = [ ./nixos.nix ]; imports = [ ./nixos.nix ];
# programs.alacritty.settings.font.size = 9; programs.alacritty.settings.font.size = 9;
programs.alacritty.settings.font.size = 7; # programs.alacritty.settings.font.size = 7;
} }

View File

@ -2,6 +2,6 @@
{ {
imports = imports =
# [ ./nixos-common.nix ./desktop-sway ./alacritty/capibara.nix ./theming ]; [ ./nixos-common.nix ./desktop-sway ./alacritty/capibara.nix ./theming ];
[ ./nixos-common.nix ./desktop-xmonad/capibara.nix ./alacritty/capibara.nix ./theming ]; # [ ./nixos-common.nix ./desktop-xmonad/capibara.nix ./alacritty/capibara.nix ./theming ];
} }

View File

@ -1,5 +1,65 @@
{ 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";
@ -30,7 +90,9 @@ in {
--fb '${bemenuColors.filterBackground}' \ --fb '${bemenuColors.filterBackground}' \
--ff '${bemenuColors.filterForeground}' \ --ff '${bemenuColors.filterForeground}' \
--nb '${bemenuColors.normalBackground}' \ --nb '${bemenuColors.normalBackground}' \
--ab '${bemenuColors.normalBackground}' \
--nf '${bemenuColors.normalForeground}' \ --nf '${bemenuColors.normalForeground}' \
--af '${bemenuColors.normalForeground}' \
--hb '${bemenuColors.highlightedBackground}' \ --hb '${bemenuColors.highlightedBackground}' \
--hf '${bemenuColors.highlightedForeground}' \ --hf '${bemenuColors.highlightedForeground}' \
--scb '${bemenuColors.scrollbarBackground}' \ --scb '${bemenuColors.scrollbarBackground}' \

View File

@ -9,6 +9,7 @@
wl-clipboard wl-clipboard
wtype wtype
brightnessctl brightnessctl
foot
]; ];
programs.mako = { programs.mako = {