AutoYADM commit: 2025-03-26 18:00:08

This commit is contained in:
Daniel Fichtinger 2025-03-26 18:00:08 -04:00
parent 52113c12d8
commit 9ae5d4da09
4 changed files with 288 additions and 111 deletions

View file

@ -0,0 +1,270 @@
# -*- conf -*-
[main]
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
# title=foot
# locked-title=no
include=~/dev/ashen/monorepo/foot/ashen.ini
# font=monospace:size=10
# font=SauceCodePro NFM:size=12
# font = IosevkaTerm Nerd Font Mono:size=14, Symbols Nerd Font Mono:size=12, FreeMono:size=12
font = JetBrainsMonoNL Nerd Font:size=12, Symbols Nerd Font Mono:size=12, FreeMono:size=12
# font = SauceCodePro NFM:size=12, Symbols Nerd Font Mono:size=12, FreeMono:size=12
# font-bold = SauceCodePro NFM SemiBold:size=12, Symbols Nerd Font Mono:size=12, FreeMono:size=12
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# font-size-adjustment=0.5
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
underline-offset=3
# underline-thickness=1
# strikeout-thickness=<font strikeout thickness>
# box-drawings-uses-font-glyphs=no
# dpi-aware=no
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=5x5 center # optionally append 'center'
pad=5x0 center
# resize-by-cells=yes
# resize-keep-grid=yes
# resize-delay-ms=100
# bold-text-in-bright=no
# word-delimiters=,│`|:"'()[]{}<>
# selection-target=primary
workers=8
# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is libutempter (Linux)
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ulog (FreeBSD)
[environment]
TERMINFO=/usr/share/terminfo
# name=value
[security]
# osc52=enabled # disabled|copy-enabled|paste-enabled|enabled
[bell]
# urgent=no
# notify=no
# visual=no
# command=
# command-focused=no
[desktop-notifications]
command=notify-send --wait --app-name ${app-id} --icon ${app-id} --category ${category} --urgency ${urgency} --expire-time ${expire-time} --hint STRING:image-path:${icon} --hint BOOLEAN:suppress-sound:${muted} --hint STRING:sound-name:${sound-name} --replace-id ${replace-id} ${action-argument} --print-id -- ${title} ${body}
command-action-argument=--action ${action-name}=${action-label}
close=""
# inhibit-when-focused=yes
[scrollback]
lines=1000
multiplier=3.0
indicator-position=relative
indicator-format=""
[url]
# launch=xdg-open ${url}
label-letters=tnserigmdhcao
# osc8-underline=url-mode
# protocols=http, https, ftp, ftps, file, gemini, gopher
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
[cursor]
style=beam
# blink=yes
# blink-rate=600
# beam-thickness=0.5
# underline-thickness=<font underline thickness>
# color=121212 f5f5f5
[mouse]
hide-when-typing=yes
# alternate-scroll-mode=yes
[touch]
# long-press-delay=400
[colors]
alpha=1.0
# background=121212
# foreground=f5f5f5
# flash=7f7f00
# flash-alpha=0.5
# Normal/regular colors (color palette 0-7)
# regular0=121212 # black
# regular1=B14242 # red
# regular2=D87C4A # green
# regular3=E49A44 # yellow
# regular4=4A8B8B # blue
# regular5=a7a7a7 # magenta
# regular6=b4b4b4 # cyan
# regular7=d5d5d5 # white
#
# # Bright colors (color palette 8-15)
# bright0=949494 # bright black
# bright1=B14242 # bright red
# bright2=D87C4A # bright green
# bright3=E49A44 # bright yellow
# bright4=4A8B8B # bright blue
# bright5=a7a7a7 # bright magenta
# bright6=b4b4b4 # bright cyan
# bright7=d5d5d5 # bright white
## dimmed colors (see foot.ini(5) man page)
# dim0=<not set>
# ...
# dim7=<not-set>
## The remaining 256-color palette
# 16 = <256-color palette #16>
# ...
# 255 = <256-color palette #255>
## Sixel colors
# sixel0 = 000000
# sixel1 = 3333cc
# sixel2 = cc2121
# sixel3 = 33cc33
# sixel4 = cc33cc
# sixel5 = 33cccc
# sixel6 = cccc33
# sixel7 = 878787
# sixel8 = 424242
# sixel9 = 545499
# sixel10 = 994242
# sixel11 = 549954
# sixel12 = 995499
# sixel13 = 549999
# sixel14 = 999954
# sixel15 = cccccc
## Misc colors
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# jump-labels=<regular0> <regular3> # black-on-yellow
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
# search-box-no-match=<regular0> <regular1> # black-on-red
# search-box-match=<regular0> <regular3> # black-on-yellow
# urls=<regular3>
[csd]
# preferred=server
# size=26
# font=<primary font>
# color=<foreground color>
# hide-when-maximized=no
# double-click-to-maximize=yes
# border-width=0
# border-color=<csd.color>
# button-width=26
# button-color=<background color>
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
[key-bindings]
scrollback-up-page=Control+Shift+u
# scrollback-up-half-page=none
# scrollback-up-line=none
scrollback-down-page=Control+Shift+d
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
clipboard-copy=Control+Shift+c XF86Copy
clipboard-paste=Control+Shift+v XF86Paste
primary-paste=Shift+Insert
search-start=Control+Shift+r
font-decrease=Control+Shift+j
font-increase=Control+Shift+l
font-reset=Control+0 Control+KP_0
spawn-terminal=Control+Shift+n
# minimize=none
# maximize=none
# fullscreen=none
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
pipe-visible=[wl-copy] Control+Mod1+Shift+v
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
pipe-scrollback=[wl-copy] Control+Mod1+Shift+p
# pipe-selected=[xargs -r firefox] none
pipe-command-output=[wl-copy] Control+Shift+y
show-urls-launch=Control+Shift+o
show-urls-copy=Control+Mod1+Shift+o
# show-urls-persistent=Control+Mod1+Shift+p
prompt-prev=Control+Shift+z
prompt-next=Control+Shift+x
unicode-input=Control+Shift+i
# unicode-input=Control+Shift+u
# noop=none
# quit=none
[search-bindings]
cancel=Control+g Control+c Escape
commit=Return
find-prev=Control+r
find-next=Control+s
cursor-left=Left Control+m
# cursor-left-word=Control+b
cursor-right=Right Control+i
# cursor-right-word=Control+Right Mod1+f
cursor-home=Home Control+h
cursor-end=End Control+l
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
extend-char=Shift+Right
extend-to-word-boundary=Control+w Control+Shift+Right
extend-to-next-whitespace=Control+Shift+w
extend-line-down=Control+Shift+n
# extend-backward-char=Shift+Left
extend-backward-to-word-boundary=Control+Shift+Left Control+b
# extend-backward-to-next-whitespace=none
extend-line-up=Control+Shift+e
clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
# primary-paste=Shift+Insert
# unicode-input=none
scrollback-up-page=Control+Shift+u
# scrollback-up-half-page=none
# scrollback-up-line=none
scrollback-down-page=Control+Shift+d
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
[url-bindings]
# cancel=Control+g Control+c Control+d Escape
# toggle-url-visible=t
[text-bindings]
# \x03=Mod4+c # Map Super+c -> Ctrl+c
[mouse-bindings]
# scrollback-up-mouse=BTN_WHEEL_BACK
# scrollback-down-mouse=BTN_WHEEL_FORWARD
# font-increase=Control+BTN_WHEEL_BACK
# font-decrease=Control+BTN_WHEEL_FORWARD
# selection-override-modifiers=Shift
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-quote = BTN_LEFT-3
# select-row=BTN_LEFT-4
# vim: ft=conf

View file

@ -1 +1 @@
config##hostname.dpad
config##hostname.dbox

View file

@ -1,11 +1,10 @@
[
// TOP BAR
{
"output": "DP-1",
// "output": "DP-1",
"layer": "top",
"position": "top",
"modules-left": [
"cava",
"custom/colcount"
// "niri/workspaces"
],
@ -13,18 +12,6 @@
"niri/window"
],
"modules-right": [
"custom/mail",
"cpu",
"custom/delim",
"memory",
"custom/delim",
"pulseaudio",
"custom/delim",
"battery",
"custom/delim",
"custom/recorder",
"custom/delim",
"tray",
"clock"
],
"niri/window": {
@ -55,21 +42,6 @@
},
"cava": {
"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
// "framerate": 30,
// "autosens": 1,
// "sensitivity": 100,
// "bars": 14,
// "lower_cutoff_freq": 50,
// "higher_cutoff_freq": 10000,
// "method": "pulse",
// "source": "auto",
// "stereo": true,
// "reverse": false,
// "bar_delimiter": 0,
// "monstercat": false,
// "waves": false,
// "noise_reduction": 0.77,
// "input_delay": 2,
"format-icons": [
"▁",
"▂",
@ -87,23 +59,13 @@
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
// Named workspaces
// (you need to configure them in niri)
// "browser": "",
// "discord": "",
// "chat": "<b></b>",
// Icons by state
"music": "󰎇",
"active": "",
"default": ""
}
},
// "sway/workspaces": {
// "disable-scroll" : false,
// },
"battery": {
"format": "bat {capacity}%"
// "format-icons": ["", "", "", "", ""]
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
@ -128,53 +90,26 @@
"max-length": 10
}
},
// LEFT BAR
// bottom bar
{
"output": "DP-1",
// "output": "DP-1",
"layer": "top",
"exclusive": false,
"gtk-layer-shell": true,
"name": "leftbar",
"width": 14,
"position": "left",
"position": "bottom",
"modules-left": [
"niri/workspaces"
],
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
"active": "",
"default": ""
}
}
},
// TOP BAR
{
"output": "HDMI-A-1",
"layer": "top",
"position": "top",
"modules-left": [
"cava",
"custom/colcount"
// "niri/workspaces"
"cava"
],
"modules-center": [
"niri/window"
],
"modules-right": [
// "custom/mail",
"cpu",
"custom/delim",
"memory",
"custom/delim",
"pulseaudio",
"custom/delim",
"battery",
"custom/delim",
"pulseaudio"
],
"modules-right": [
"custom/recorder",
"custom/delim",
"tray",
"clock"
"tray"
],
"niri/window": {
"max-length": 50,
@ -186,11 +121,6 @@
"restart-interval": "never",
"format": "{} "
},
"custom/mail": {
"exec": "~/.config/mail/mail-indicator.sh",
"restart-interval": "never",
"format": "{}"
},
"custom/recorder": {
"exec": "~/dev/niri-recorder/recorder.py",
"return-type": "json",
@ -204,21 +134,6 @@
},
"cava": {
"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
// "framerate": 30,
// "autosens": 1,
// "sensitivity": 100,
// "bars": 14,
// "lower_cutoff_freq": 50,
// "higher_cutoff_freq": 10000,
// "method": "pulse",
// "source": "auto",
// "stereo": true,
// "reverse": false,
// "bar_delimiter": 0,
// "monstercat": false,
// "waves": false,
// "noise_reduction": 0.77,
// "input_delay": 2,
"format-icons": [
"▁",
"▂",
@ -236,23 +151,15 @@
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
// Named workspaces
// (you need to configure them in niri)
// "browser": "",
// "discord": "",
// "chat": "<b></b>",
// Icons by state
"music": "󰎇",
"active": "",
"default": ""
}
},
// "sway/workspaces": {
// "disable-scroll" : false,
// },
"battery": {
"format": "bat {capacity}%"
// "format-icons": ["", "", "", "", ""]
"format": "{capacity}% 󰁹",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% "
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
@ -260,26 +167,26 @@
"pulseaudio": {
"scroll-step": 5,
"max-volume": 150,
"format": "vol {volume}%",
"format-muted": "vol mut",
"format": "󰕾 {volume}%",
"format-muted": "󰖁",
"nospacing": 1,
"on-click": "pavucontrol",
"tooltip": false
},
"cpu": {
"interval": 10,
"format": "cpu {usage}%",
"format": " {usage}%",
"max-length": 10
},
"memory": {
"interval": 30,
"format": "mem {percentage}%",
"format": " {percentage}%",
"max-length": 10
}
},
// LEFT BAR
{
"output": "HDMI-A-1",
// "output": "DP-1",
"layer": "top",
"exclusive": false,
"gtk-layer-shell": true,