Просмотр исходного кода

Bedrock config. Modular shaders in mpv. No more github in bar. Misc changes.

master
SolitudeSF 4 месяцев назад
Родитель
Сommit
49cdc973c9
Не найден GPG ключ соответствующий данной подписи
10 измененных файлов: 374 добавлений и 90 удалений
  1. 260
    0
      bedrock.conf
  2. 17
    0
      elvish/lib/completers.elv
  3. 4
    0
      gitconfig.ini
  4. 2
    2
      kak.kak
  5. 1
    1
      kitty/kitty.conf
  6. 76
    71
      lc
  7. 8
    1
      mpv/input.conf
  8. 0
    1
      mpv/mpv.conf
  9. 2
    0
      nim.nim
  10. 4
    14
      ntr/templates/polybar

+ 260
- 0
bedrock.conf Просмотреть файл

@@ -0,0 +1,260 @@
[locale]
timezone = Europe/Kiev
localegen = en_US.UTF-8 UTF-8
LANG = en_US.UTF-8

[init]
timeout = 3
default = void:/sbin/init
paths = /sbin/init, /sbin/fallback-init, /sbin/myinit, /sbin/ninit, /sbin/openrc-init, /sbin/runit-init, /sbin/simpleinit, /sbin/upstart, /lib/sysvinit/init, /lib/systemd/systemd, /usr/lib/systemd/systemd

[global]
share = /boot, /dev, /home, /lib/modules, /media, /mnt, /proc, /root, /run, /sys, /tmp
bind = /bedrock, /bedrock/cross, /bedrock/run, /bedrock/strata/bedrock
etc = adjtime, crypttab, default/grub, fstab, group, group-, group.org, gshadow, gshadow-, gshadow.org, hostname, hosts, login.defs, machine-id, modprobe.d/blacklist.conf, passwd, passwd-, passwd.org, rc.local, resolv.conf, resolvconf/run, shadow, shadow-, shadow.org, sudoers

[symlinks]
#
# Enforce various symlinks are in place at local paths. This is applied at
# stratum enable/repair time.
#
# Keys are local paths, values are symlink contents.
#
# The symlink contents must be absolute paths.
#

#
# Some package managers attempt to update this. They become upset if it is
# created between an unlink() and symlink(), making it unsuitable for
# [etc-symlinks] below.
#
# Different distros use slightly different values here that are all effectively
# the same. Rather than attempt to fight distros in this regard, Bedrock has
# hard-coded internal support for multiple valid values here and may not
# respect changes to this field.
/etc/mtab = /proc/self/mounts

#
# Some distros may expect a file at one path while others expect it at another.
# Standardize the location of global files.
#
/var/lib/dbus/machine-id = /etc/machine-id
/var/run = /run

#
# Various programs need to be configured to properly interact with Bedrock
# subsystems. Point them to Bedrock configuration.
#
/etc/systemd/system/bedrock-fix-mounts.service = /bedrock/share/systemd/bedrock-fix-mounts.service
/etc/systemd/system/bedrock-stop-fuse-filesystems.service = /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
/etc/systemd/system/multi-user.target.wants/bedrock-fix-mounts.service = /bedrock/share/systemd/bedrock-fix-mounts.service
/etc/systemd/system/multi-user.target.wants/bedrock-stop-fuse-filesystems.service = /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service

/etc/X11/xorg.conf.d/99-bedrock-fonts.conf = /bedrock/run/xorg-fonts
/etc/fonts/conf.d/99-bedrock-fonts.conf = /bedrock/share/fonts/fontconf.conf

/etc/X11/Xsession.d/99bedrock_env = /bedrock/run/profile
/etc/X11/xinit/xinitrc.d/99bedrock_env = /bedrock/run/profile

/etc/bash_completion.d/brl = /bedrock/share/bash/completion/brl
/etc/bash_completion.d/strat = /bedrock/share/bash/completion/strat

/etc/fish/conf.d/99bedrock.fish = /bedrock/run/fprofile
/etc/fish/completions/brl.fish = /bedrock/share/fish/completion/brl.fish
/etc/fish/completions/strat.fish = /bedrock/share/fish/completion/strat.fish

/etc/resolvconf/update.d/00bedrock = /bedrock/share/resolvconf/00bedrock

#
# In general, system software such as Bedrock should not manipulate /usr/local.
# Bedrock should favor configuring /etc files instead.
#
# However, dbus's dbus-daemon-launch-helper seems to ignore /etc/dbus-1/
# configuration extending the search path. See
# https://bugs.freedesktop.org/show_bug.cgi?id=92458 for a discussion on the
# matter. For example:
#
# > Note that d-d-l-h only reads .service files from standard hard-coded paths,
# > not from any additional paths that you might have configured
#
# Since /usr/local/share/dbus is included in the hard-coded paths, is not used
# by most package managers, and is rarely used by end-users, it's the cleanest
# option available to teach dbus about /bedrock/cross.
#
/usr/local/share/dbus-1/system-services = /bedrock/cross/dbus-system
/usr/local/share/dbus-1/services = /bedrock/cross/dbus-session

#
# Some distros use a swap file and include reference to it in their fstab.
# This must be global so that it is valid when using an init from another
# stratum. However, it is not clear if it would work well with any of the
# established techniques in [global]. Instead, symlink it into a known global
# directory.
#

[etc-symlinks]
#
# Dynamically enforce various symlinks are in place at local paths. Any change
# away from specified configuration is immediately undone.
#
# Keys are local paths relative to /etc, values are symlink contents.
#
# The symlink contents must be absolute paths.
#

#
# Some init systems attempt to change these values at boot time, just after
# being enabled. Thus, symlinks-general will not suffice.
#
localtime = /bedrock/run/localtime
environment = /bedrock/run/environment

[etc-inject]
#
# Not all programs can be adequately/reliably configured by creating new,
# cleanly isolated configuration files. Instead, a configuration file must be
# extended to include desired configuration without clobbering its stratum
# local configuration. Typically these configuration files are in /etc.
#
# Bedrock ensures that, should certain files exist in /etc, they will include
# content specified at another file path. If the desired content is not found
# in the file it is automatically appended to the end.
#
# The keys are file paths relative to /etc, and the values are paths to files
# whose content must be included if the key's file exists in /etc.
#
# If you alter either the key/values in this section, or the actual content of
# the values, run `brl apply` to apply the change. Do this before rebooting
# to ensure any old content is removed.
#

sudoers = /bedrock/share/sudo/include-bedrock
profile = /bedrock/share/shells/include-bedrock

#
# etc-inject only injects existing files and does create make files in order to
# avoid creating a file a package manager does not expect. Different distro
# zsh packages provide different files, requiring multiple zsh file injections.
#
zprofile = /bedrock/share/zsh/include-bedrock
zshenv = /bedrock/share/zsh/include-bedrock
zsh/zprofile = /bedrock/share/zsh/include-bedrock
zsh/zshenv = /bedrock/share/zsh/include-bedrock

[env-vars]
#
# Many programs search environment variables consisting of a colon-separated
# list of directories. We can use these to teach these programs about
# cross-stratum content.
#
# Generally, the fields fall into three categories, which should be in the
# following order:
#
# - The file must come from a specific stratum.
# - For example, `reboot` should be provided by the stratum providing the
# current init.
# - Typically, these are provided by `/bedrock/cross/pin/[...]`.
# - The file must come from the local stratum.
# - Bedrock Linux assumes strata are self-sufficient in terms of hard
# dependencies. Thus, if something has a hard dependency on a given file
# that file *must* be available locally.
# - For example, if a given distro's `/bin/sh` is provided by bash, that
# distro's scripts may use bash-isms, and thus another distro's `/bin/sh`
# may be unsuitable.
# - Typically these values are the traditional values of the given
# environment variable.
# - The file may come from any stratum.
# - If the above two categories don't apply, we know the program isn't
# picky about the specific version of the given file, and thus any distro
# may provide it.
# - Typically, these are provided by `/bedrock/cross/[...]`.
#

PATH = /bedrock/cross/pin/bin:/bedrock/bin:/usr/local/sbin:/usr/local/bin:/opt/sbin:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bedrock/cross/bin
MANPATH = /bedrock/share/man:/usr/local/share/man:/usr/share/man:/bedrock/cross/man
INFOPATH = /bedrock/share/info:/usr/local/share/info:/usr/share/info:/bedrock/cross/info
XDG_DATA_DIRS = /usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/flatpak/exports/share:/bedrock/cross
TERMINFO_DIRS = /usr/local/share/terminfo:/usr/share/terminfo:/bedrock/cross/terminfo

[restriction]
restrict = apt-key, debuild, dpkg-buildpackage, gdb, git, kiss, makepkg, rpmbuild

[cross]
priority = void, arch

[cross-pass]
man = /bedrock/share/man, /usr/local/share/man, /usr/share/man
info = /bedrock/share/info, /usr/local/share/info, /usr/share/info
icons = /usr/local/share/icons, /usr/share/icons
pixmaps = /usr/local/share/pixmaps, /usr/share/pixmaps
zoneinfo = /usr/share/zoneinfo
terminfo = /usr/local/share/terminfo, /usr/share/terminfo
bash-completion = /usr/share/bash-completion
zsh-completion = /usr/share/zsh/site-functions, /usr/share/zsh/vendor-completion, /usr/share/zsh/functions/Completion/Debian, /usr/share/zsh/functions/Completion/Mandriva, /usr/share/zsh/functions/Completion/openSUSE, /usr/share/zsh/functions/Completion/Redhat
firmware = /lib/firmware/updates/UTS_RELEASE, /lib/firmware/updates, /lib/firmware/UTS_RELEASE, /lib/firmware

[cross-bin]
bin = /usr/local/bin, /usr/local/sbin, /opt/bin, /opt/sbin, /usr/bin, /usr/sbin, /bin, /sbin, /usr/games, /usr/local/games, /snap/bin

#
# These programs are strongly related to the init system. If the stratum
# providing init provides these commands, that version should take priority.
# Typical Bedrock systems have /bedrock/pin/bin/ at the front of the $PATH.
#
pin/bin/systemctl = init:/usr/sbin/systemctl, init:/usr/bin/systemctl, init:/sbin/systemctl, init:/bin/systemctl
pin/bin/rc-service = init:/usr/sbin/rc-service, init:/usr/bin/rc-service, init:/sbin/rc-service, init:/bin/rc-service
pin/bin/rc-status = init:/usr/sbin/rc-status, init:/usr/bin/rc-status, init:/sbin/rc-status, init:/bin/rc-status
pin/bin/rc-update = init:/usr/sbin/rc-update, init:/usr/bin/rc-update, init:/sbin/rc-update, init:/bin/rc-update
pin/bin/rc-udevadm = init:/usr/sbin/rc-udevadm, init:/usr/bin/rc-udevadm, init:/sbin/rc-udevadm, init:/bin/rc-udevadm
pin/bin/sv = init:/usr/sbin/sv, init:/usr/bin/sv, init:/sbin/sv, init:/bin/sv
pin/bin/poweroff = init:/usr/sbin/poweroff, init:/sbin/poweroff, init:/usr/bin/poweroff, init:/bin/poweroff
pin/bin/reboot = init:/usr/sbin/reboot, init:/sbin/reboot, init:/usr/bin/reboot, init:/bin/reboot
pin/bin/shutdown = init:/usr/sbin/shutdown, init:/sbin/shutdown, init:/usr/bin/shutdown, init:/bin/shutdown
pin/bin/halt = init:/usr/sbin/halt, init:/sbin/halt, init:/usr/bin/halt, init:/bin/halt

# [restriction]/restrict items are only restricted if run through strat or
# cross. List any such items here to ensure they are run through cross to be
# restricted.
#
# If a local instance is available, that is preferred over crossing strata
# boundaries, just in case there is some dependency on its specific quirks.
# Ensure all items here use the local alias. If the item is not available
# locally, the call will fall through to un-pinned `bin` above.
pin/bin/apt-key = local:/usr/local/bin/apt-key, local:/usr/bin/apt-key
pin/bin/debuild = local:/usr/local/bin/debuild, local:/usr/bin/debuild
pin/bin/dpkg-buildpackage = local:/usr/local/bin/dpkg-buildpackage, local:/usr/bin/dpkg-buildpackage
pin/bin/gdb = local:/usr/local/bin/gdb, local:/usr/bin/gdb
pin/bin/git = local:/usr/local/bin/git, local:/usr/bin/git
pin/bin/kiss = local:/usr/local/bin/kiss, local:/usr/bin/kiss
pin/bin/makepkg = local:/usr/local/bin/makepkg, local:/usr/bin/makepkg
pin/bin/rpmbuild = local:/usr/local/bin/rpmbuild, local:/usr/bin/rpmbuild

[cross-ini]
applications = /usr/local/share/applications, /usr/share/applications, /var/lib/flatpak/exports/share/applications
xsessions = init:/usr/local/share/xsessions, init:/usr/share/xsessions, /usr/local/share/xsessions, /usr/share/xsessions

dbus-system = /usr/share/dbus-1/system-services
dbus-session = /usr/share/dbus-1/services

[cross-font]
fonts = /usr/share/fonts

[pmm]
user-interface = xbps
priority = void:, arch:yay
ignore-non-system-package-managers = false
unprivileged-user = $SUDO_USER
warn-about-skipping-package-managers = true
cache-package-manager-list = true
cache-package-database = true

[brl-fetch-mirrors]
mirror-prefix = https://ftp.fau.de
alpine = http://uk.alpinelinux.org/alpine/

[brl-update]
mirrors = https://raw.githubusercontent.com/bedrocklinux/bedrocklinux-userland/0.7/releases, https://raw.githubusercontent.com/bedrocklinux/bedrocklinux-userland/0.7beta/releases

[miscellaneous]
cache-life = 30
color = true

+ 17
- 0
elvish/lib/completers.elv Просмотреть файл

@@ -247,6 +247,23 @@ edit:completion:arg-completer[brl] = [@cmd]{
}
}

edit:completion:arg-completer[tam] = [@cmd]{
if (== (count $cmd) 2) {
put install uninstall enable disable update list query search
} else {
c = $cmd[1]
if (has-value [uninstall update query] $c) {
tam list -s
} elif (eq $c enable) {
tam list -s -d
} elif (eq $c disable) {
tam list -s -e
} elif (eq $c list) {
put '--short' '--enabled' '--disabled'
}
}
}

edit:completion:arg-completer[promotescript] = [@cmd]{
pwd=~/.local/bin fd -t f
}

+ 4
- 0
gitconfig.ini Просмотреть файл

@@ -19,6 +19,10 @@
unstage = !fugitive unstage
profile = !fugitive profile
get = !fugitive mirror
[color]
ui = auto
[pull]
rebase = false
[commit]
gpgsign = true
[gpg]

+ 2
- 2
kak.kak Просмотреть файл

@@ -32,7 +32,7 @@ face global LineNumbersWrapped black
face global CurWord +b

addhl global/number-lines number-lines -hlcursor -separator ' '
addhl global/ruler column 80 default,rgb:303030
addhl global/ruler column 100 default,rgb:303030
addhl global/trailing-whitespace regex '\h+$' 0:default,red
addhl global/todo regex \b(TODO|FIXME|XXX|NOTE)\b 0:default+rb
addhl global/matching-brackets show-matching
@@ -136,7 +136,6 @@ def clean-trailing-whitespace -docstring 'Remove trailing whitespace' %{
try %{ exec -draft '%s\h+$<ret>d' }
}


# Hooks

hook global WinCreate .* %{
@@ -221,6 +220,7 @@ hook global BufCreate .*/\.?((sx|xinit)(rc)?|profile) %{ set buffer filetype sh
hook global BufCreate .*\.ino %{ set buffer filetype cpp }
hook global BufCreate .*\.cs %{ addhl buffer/java }
hook global BufCreate .*\.rasi %{ set buffer filetype css }
hook global BufCreate .*\.sccprofile %{ set buffer filetype json }

# Filetype settings


+ 1
- 1
kitty/kitty.conf Просмотреть файл

@@ -6,7 +6,7 @@ bold_font Iosevka Fixed SS04 Heavy
bold_italic_font Iosevka Fixed SS04 Heavy Italic
font_size 12.0

adjust_line_height 0
adjust_line_height -1
adjust_column_width 0
box_drawing_scale 0.001, 1, 1.5, 2


+ 76
- 71
lc Просмотреть файл

@@ -15,58 +15,60 @@ kind = "dot PFX ." #classic Unix dot file/dir/ln/etc.
kind = "onOutErr PFX o. e." #outputs from cb's "on hosts cmd" system
kind = "core PFX core"

colors = "fhot- = black"
colors = "fhot0 = PURPLE"
colors = "fhot1 = BLUE"
colors = "fhot2 = CYAN"
colors = "fhot3 = GREEN"
colors = "fhot4 = YELLOW"
colors = "fhot5 = RED"
colors = "fhot+ = WHITE"
colors = "FHOT- = BLACK"
colors = "FHOT0 = purple"
colors = "FHOT1 = blue"
colors = "FHOT2 = cyan"
colors = "FHOT3 = green"
colors = "FHOT4 = yellow"
colors = "FHOT5 = red"
colors = "FHOT+ = white"
colors = "bhot- = on_black"
colors = "bhot0 = on_PURPLE"
colors = "bhot1 = on_BLUE"
colors = "bhot2 = on_CYAN"
colors = "bhot3 = on_GREEN"
colors = "bhot4 = on_YELLOW"
colors = "bhot5 = on_RED"
colors = "bhot+ = on_WHITE"
colors = "BHOT- = on_BLACK"
colors = "BHOT0 = on_purple"
colors = "BHOT1 = on_blue"
colors = "BHOT2 = on_cyan"
colors = "BHOT3 = on_green"
colors = "BHOT4 = on_yellow"
colors = "BHOT5 = on_red"
colors = "BHOT+ = on_white"
colors = "fhue- = BLACK"
colors = "fhue0 = PURPLE"
colors = "fhue1 = BLUE"
colors = "fhue2 = CYAN"
colors = "fhue3 = GREEN"
colors = "fhue4 = YELLOW"
colors = "fhue5 = RED"
colors = "fhue+ = WHITE"
colors = "FHUE- = black"
colors = "FHUE0 = purple"
colors = "FHUE1 = blue"
colors = "FHUE2 = cyan"
colors = "FHUE3 = green"
colors = "FHUE4 = yellow"
colors = "FHUE5 = red"
colors = "FHUE+ = white"
colors = "bhue- = on_BLACK"
colors = "bhue0 = on_PURPLE"
colors = "bhue1 = on_BLUE"
colors = "bhue2 = on_CYAN"
colors = "bhue3 = on_GREEN"
colors = "bhue4 = on_YELLOW"
colors = "bhue5 = on_RED"
colors = "bhue+ = on_WHITE"
colors = "BHUE- = on_black"
colors = "BHUE0 = on_purple"
colors = "BHUE1 = on_blue"
colors = "BHUE2 = on_cyan"
colors = "BHUE3 = on_green"
colors = "BHUE4 = on_yellow"
colors = "BHUE5 = on_red"
colors = "BHUE+ = on_white"

color="dot:0x04:1 NONE"
color="onOutErr:0xF0:0 FHOT-"
color="compress:0x3D:0 fhot1"
color="tarchive:0x3E:0 fhot1"
color="archive:0x3F:0 fhot1"
color="audio:0x70:0 fhot0"
color="image:0x71:0 fhot0"
color="video:0x72:0 fhot0"
color="script:0x40:0 fhot4"
color="pointer:0x50:0:ɷ FHOT0"
color="header:0x58:0 fhot2"
color="source:0x60:0 fhot3"
color="object:0x68:0 fhot5"
color="core:0x68:0 fhot5"
color="backup:0x80:0 FHOT4"
color="document:0x24:0 fhot+"
color="onOutErr:0xF0:0 fhue-"
color="compress:0x3D:0 fhue1"
color="tarchive:0x3E:0 fhue1"
color="archive:0x3F:0 fhue1"
color="audio:0x70:0 fhue0"
color="image:0x71:0 fhue0"
color="video:0x72:0 fhue0"
color="script:0x40:0 fhue4"
color="pointer:0x50:0:ɷ FHUE0"
color="header:0x58:0 fhue2"
color="source:0x60:0 fhue3"
color="object:0x68:0 fhue5"
color="core:0x68:0 fhue5"
color="backup:0x80:0 FHUE4"
color="document:0x24:0 fhue+"
color="backup:0x80:0 FHUE4"
color="document:0x24:0 FHUE+"

color="symlink:0x10:1 italic"
color="dir:0x20:0 BLUE bold"
@@ -95,34 +97,35 @@ color="exec:0x70:6:¶ bold"

color="unknown:0x22:0 NONE" #Added if missing;Here to set ord

color = "sizeB fhot1" #Value-conditional fields besides paths
color = "sizeK fhot2"
color = "sizeM fhot3"
color = "sizeG fhot4"
color = "sizeT fhot5 inverse" #TB-scl individual files are likely a problem
color = "sizeB fhue1" #Value-conditional fields besides paths
color = "sizeK fhue2"
color = "sizeM fhue3"
color = "sizeG fhue4"
color = "sizeT fhue5 inverse" #TB-scl individual files are likely a problem
color = "sizeS italic" #Additive text attr for sparse files (u<75%)
#Color all 4 octal digs as how only one affects invoking process (dep on owners)
color = "perm0 WHITE on_purple" #000: --- #Not so rare, but very restrictive
color = "perm1 fhot1" #001: --x #rare, but happens w/eg. suid
color = "perm1 fhue1" #001: --x #rare, but happens w/eg. suid
color = "perm2 CYAN on_red" #010: -w- #unlikely to be correct
color = "perm3 GREEN on_red" #011: -wx #unlikely to be correct
color = "perm4 fhot2" #100: r-- #RO: pretty normal.
color = "perm5 fhot3" #101: r-x #color like 'exec' is colored.
color = "perm6 fhot4" #110: rw- #RW: even more normal
color = "perm7 fhot5" #111: rwx #Only so many yellows..Orange?
color = "perm4 fhue2" #100: r-- #RO: pretty normal.
color = "perm5 fhue3" #101: r-x #color like 'exec' is colored.
color = "perm6 fhue4" #110: rw- #RW: even more normal
color = "perm7 fhue5" #111: rwx #Only so many yellows..Orange?

ageFmt = "86400@%{fhot0}y%{fhot1}m%{fhot2}d"
ageFmt = "0@%{fhot3}H%{fhot4}M%{fhot5}S"
ageFmt = "86400@%{fhue0}y%{fhue1}m%{fhue2}d"
ageFmt = "0@%{fhue3}H%{fhue4}M%{fhue5}S"
ageFmt = "FUTURE@%{red}Y%{white}m"

ageFmt = "-ANYTIME@%y/%m/%d:%H:%M:%S.%3"

ageFmt = "+31556952@/31556952 <y fhot0"
ageFmt = "+2678400@/604800 <w fhot1"
ageFmt = "+86400@/86400 <d fhot2"
ageFmt = "+6000@/3600 <h fhot3"
ageFmt = "+100@/60 <m fhot4"
ageFmt = "+0@/1 <s fhot5"
ageFmt = "+31556952@/31556952 <y fhue0"
ageFmt = "+2678400@/604800 <w fhue1"
ageFmt = "+86400@/86400 <d fhue2"
ageFmt = "+6000@/3600 <h fhue3"
ageFmt = "+100@/60 <m fhue4"
ageFmt = "+0@/1 <s fhue5"
ageFmt = "+FUTURE@/3600 <h FHUE+"

#LISTING STYLES/ALIASES; Increasing "L-ness" gives increasing detail. NOTE: Use
#%r if you worry about automounters/NFS hanging on link tgts. Also, -f below
@@ -170,9 +173,11 @@ Style = r"""LLi = -HsLLai -xdot"""
Style = r"""debug = -H "-f%0%1%2%3%4%5%6%7%8%9%.%/ %f%R"""
#Almost exactly GNU ls -lA --no-color
Style = r"""gls = "-tp1g -> " --ageFmt,= --ageFmt,= "-a-15778476@%b %e %Y" "-a-0@%b %e %H:%M" -of "-f%l%p%Q %n %U %G %S %m %f%r"""
Style = r"""c4 = "-Fm-4,,,*,?[](){} ';!$#^`~"""
Style = r"""c5 = "-Fm-5,,,*,?[](){} ';!$#^`~"""
Style = r"""c6 = "-Fm-6,,,*,?[](){} ';!$#^`~"""
#These are of "add-on" styles; Cn=compr-patQuoted; cn=same+reFit;q=easy compr pQ
Style = r"""C4 = "-m-4,,,*,?[](){} ';!$#^`~"""
Style = r"""C5 = "-m-5,,,*,?[](){} ';!$#^`~"""
Style = r"""C6 = "-m-6,,,*,?[](){} ';!$#^`~"""
Style = r"""q = "-ma,,,*,?[](){} ';!$#^`~"""

glyph = "▶ "
order = 0134EN #Default sort order: kind-order0,1; fmtKindNum0,1; longExt,Nm

+ 8
- 1
mpv/input.conf Просмотреть файл

@@ -1,3 +1,10 @@
V vf toggle "vapoursynth=~~/filters/mvtools.vpy"
Alt+a change-list glsl-shaders toggle "~~/shaders/Anime4K.glsl"
Ctrl+Alt+0 change-list glsl-shaders toggle "~~/shaders/auto_downscale_pre_x4.glsl"
Ctrl+Alt+1 change-list glsl-shaders toggle "~~/shaders/upscale_cnn_l_x2_denoise.glsl"
Ctrl+Alt+2 change-list glsl-shaders toggle "~~/shaders/upscale_cnn_m_x2_deblur.glsl"
Ctrl+Alt+3 change-list glsl-shaders toggle "~~/shaders/upscale_cnn_l_x2.glsl"
Ctrl+Alt+5 change-list glsl-shaders toggle "~~/shaders/deblur_cnn_m.glsl"
Ctrl+Alt+6 change-list glsl-shaders toggle "~~/shaders/denoise_bilateral_mode.glsl"
Ctrl+Alt+8 change-list glsl-shaders toggle "~~/shaders/darklines_hq.glsl"
Ctrl+Alt+9 change-list glsl-shaders toggle "~~/shaders/thinlines_hq.glsl"
Alt+i cycle interpolation

+ 0
- 1
mpv/mpv.conf Просмотреть файл

@@ -12,7 +12,6 @@ gpu-api=vulkan
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=ewa_lanczossharp
glsl-shader="~~/shaders/Anime4K.glsl"

video-sync=display-resample
interpolation=no

+ 2
- 0
nim.nim Просмотреть файл

@@ -69,3 +69,5 @@ else:
switch "nimcache", "/tmp/nim/" & projectName()

switch "styleCheck", "hint"
switch "hint", "Processing:off"
switch "hint", "Dependency:on"

+ 4
- 14
ntr/templates/polybar Просмотреть файл

@@ -21,8 +21,8 @@ padding-right = 1
module-margin = 1
modules-left = bspwm xwindow
modules-center = mpd
modules-right = github wlan memory cpu temperature date
font-0 = Sarasa UI J:size=10;2
modules-right = net memory cpu temperature date
font-0 = Sarasa UI J:size=10;3
font-1 = 3270Medium Nerd Font Mono:size=15;4
background = ${color.background}
foreground = ${color.foreground}
@@ -75,19 +75,9 @@ label-song-maxlen = 45
label-song-ellipsis = true
format-online = <label-song> <toggle><icon-prev><icon-next>

[module/github]
type = internal/github
token = ${file:<{$HOME}>/sns/github.key}
empty-notifications = false
interval = 10
format = <label>
format-prefix = " "
format-prefix-foreground = ${color.fg-bright}
label = %notifications%

[module/wlan]
[module/net]
type = internal/network
interface = wlan0
interface = eno1
format-connected = <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${color.fg-bright}

Загрузка…
Отмена
Сохранить