diff options
42 files changed, 462 insertions, 0 deletions
@@ -0,0 +1,32 @@ +PS1='${PWD##*/} ⋘ ' +up() { + scp -O -r "$1" "chers@larp.nz:~/websites/cdn/$1" +} + + + +cr() { + if [ -z "$1" ]; then + echo "usage: cr repository" + return 1 + fi + + case "$1" in + *[!a-zA-Z0-9._-]*|.*|*..*) + echo "invalid repository name" + return 1 + ;; + esac + + ssh -t chers.casa "doas mkdir -p /var/lib/git/$1 && + doas git init --bare /var/lib/git/$1 && + doas chown -R chers:www-data /var/lib/git/$1 && + doas chmod -R g+rwX /var/lib/git/$1 && + doas find /var/lib/git/$1 -type d -exec chmod g+s {} + && + doas touch /var/lib/git/$1/git-daemon-export-ok && + doas git config --system --add safe.directory /var/lib/git/$1" +} + + + +alias lua=lua54 diff --git a/.profile b/.profile new file mode 100644 index 0000000..9cab631 --- /dev/null +++ b/.profile @@ -0,0 +1,16 @@ +# sh/ksh initialization + +export XDG_RUNTIME_DIR="/run/user/$(id -u)" + +PATH="$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:$HOME/.local/bin" +export PATH HOME TERM +export ENV="$HOME/.kshrc" + +if [ -d "$XDG_RUNTIME_DIR" ]; then + chmod 700 "$XDG_RUNTIME_DIR" + openrc -U default +fi + +if [ -f "$HOME/.kshrc" ]; then + . "$HOME/.kshrc" +fi diff --git a/Pictures/cool.png b/Pictures/cool.png Binary files differnew file mode 100644 index 0000000..058e6ad --- /dev/null +++ b/Pictures/cool.png diff --git a/Pictures/dylan.png b/Pictures/dylan.png Binary files differnew file mode 100644 index 0000000..b2bffe8 --- /dev/null +++ b/Pictures/dylan.png diff --git a/Pictures/moody.png b/Pictures/moody.png Binary files differnew file mode 100644 index 0000000..d24afb8 --- /dev/null +++ b/Pictures/moody.png diff --git a/fonts/Go-Mono.zip b/fonts/Go-Mono.zip Binary files differnew file mode 100644 index 0000000..c236c71 --- /dev/null +++ b/fonts/Go-Mono.zip diff --git a/fonts/IBMPlexMono-Bold.ttf b/fonts/IBMPlexMono-Bold.ttf Binary files differnew file mode 100644 index 0000000..247979c --- /dev/null +++ b/fonts/IBMPlexMono-Bold.ttf diff --git a/fonts/IBMPlexMono-BoldItalic.ttf b/fonts/IBMPlexMono-BoldItalic.ttf Binary files differnew file mode 100644 index 0000000..2321473 --- /dev/null +++ b/fonts/IBMPlexMono-BoldItalic.ttf diff --git a/fonts/IBMPlexMono-ExtraLight.ttf b/fonts/IBMPlexMono-ExtraLight.ttf Binary files differnew file mode 100644 index 0000000..d6ab75d --- /dev/null +++ b/fonts/IBMPlexMono-ExtraLight.ttf diff --git a/fonts/IBMPlexMono-ExtraLightItalic.ttf b/fonts/IBMPlexMono-ExtraLightItalic.ttf Binary files differnew file mode 100644 index 0000000..88308ef --- /dev/null +++ b/fonts/IBMPlexMono-ExtraLightItalic.ttf diff --git a/fonts/IBMPlexMono-Italic.ttf b/fonts/IBMPlexMono-Italic.ttf Binary files differnew file mode 100644 index 0000000..e259e84 --- /dev/null +++ b/fonts/IBMPlexMono-Italic.ttf diff --git a/fonts/IBMPlexMono-Light.ttf b/fonts/IBMPlexMono-Light.ttf Binary files differnew file mode 100644 index 0000000..0dcb2fb --- /dev/null +++ b/fonts/IBMPlexMono-Light.ttf diff --git a/fonts/IBMPlexMono-LightItalic.ttf b/fonts/IBMPlexMono-LightItalic.ttf Binary files differnew file mode 100644 index 0000000..f4a5fea --- /dev/null +++ b/fonts/IBMPlexMono-LightItalic.ttf diff --git a/fonts/IBMPlexMono-Medium.ttf b/fonts/IBMPlexMono-Medium.ttf Binary files differnew file mode 100644 index 0000000..8253c5f --- /dev/null +++ b/fonts/IBMPlexMono-Medium.ttf diff --git a/fonts/IBMPlexMono-MediumItalic.ttf b/fonts/IBMPlexMono-MediumItalic.ttf Binary files differnew file mode 100644 index 0000000..528b13b --- /dev/null +++ b/fonts/IBMPlexMono-MediumItalic.ttf diff --git a/fonts/IBMPlexMono-Regular.ttf b/fonts/IBMPlexMono-Regular.ttf Binary files differnew file mode 100644 index 0000000..601ae94 --- /dev/null +++ b/fonts/IBMPlexMono-Regular.ttf diff --git a/fonts/IBMPlexMono-SemiBold.ttf b/fonts/IBMPlexMono-SemiBold.ttf Binary files differnew file mode 100644 index 0000000..5e0b41d --- /dev/null +++ b/fonts/IBMPlexMono-SemiBold.ttf diff --git a/fonts/IBMPlexMono-SemiBoldItalic.ttf b/fonts/IBMPlexMono-SemiBoldItalic.ttf Binary files differnew file mode 100644 index 0000000..58243dd --- /dev/null +++ b/fonts/IBMPlexMono-SemiBoldItalic.ttf diff --git a/fonts/IBMPlexMono-Thin.ttf b/fonts/IBMPlexMono-Thin.ttf Binary files differnew file mode 100644 index 0000000..e069a64 --- /dev/null +++ b/fonts/IBMPlexMono-Thin.ttf diff --git a/fonts/IBMPlexMono-ThinItalic.ttf b/fonts/IBMPlexMono-ThinItalic.ttf Binary files differnew file mode 100644 index 0000000..f3ed26b --- /dev/null +++ b/fonts/IBMPlexMono-ThinItalic.ttf diff --git a/fonts/IBM_Plex_Mono.zip b/fonts/IBM_Plex_Mono.zip Binary files differnew file mode 100644 index 0000000..2fabdf9 --- /dev/null +++ b/fonts/IBM_Plex_Mono.zip diff --git a/fonts/LICENSE.txt b/fonts/LICENSE.txt new file mode 100644 index 0000000..7043c36 --- /dev/null +++ b/fonts/LICENSE.txt @@ -0,0 +1,36 @@ +These fonts were created by the Bigelow & Holmes foundry specifically for the +Go project. See https://blog.golang.org/go-fonts for details. + +They are licensed under the same open source license as the rest of the Go +project's software: + +Copyright (c) 2016 Bigelow & Holmes Inc.. All rights reserved. + +Distribution of this font is governed by the following license. If you do not +agree to this license, including the disclaimer, do not distribute or modify +this font. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of Google Inc. nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/fonts/OFL.txt b/fonts/OFL.txt new file mode 100644 index 0000000..5bb330e --- /dev/null +++ b/fonts/OFL.txt @@ -0,0 +1,93 @@ +Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/fonts/README.md b/fonts/README.md new file mode 100644 index 0000000..b41f505 --- /dev/null +++ b/fonts/README.md @@ -0,0 +1,73 @@ +# Nerd Fonts + +This is an archived font from the Nerd Fonts release v3.5.1. + +For more information see: +* https://github.com/ryanoasis/nerd-fonts/ +* https://github.com/ryanoasis/nerd-fonts/releases/latest/ + +# Go Mono + +**Go** is a font created for the Go project. + +https://go.dev/blog/go-fonts + +For more information have a look at the upstream website: https://go.googlesource.com/image/ + +Download link https://go.googlesource.com/image/+/master/font/gofont/ttfs/ + +Version: 2.010 + +## Icon sets + +| Icon set name | upstream | version | license | +|------------------------|-------------------------------------------------------|-----------------|-------------| +| Codicons | https://github.com/microsoft/vscode-codicons | 0.0.45 | CC BY 4.0 | +| Devicons | https://github.com/devicons/devicon | 2.17.0 | MIT | +| extraglyphs | https://github.com/source-foundry/Hack | - | MIT | +| Font Awesome | https://github.com/FortAwesome/Font-Awesome | 6.5.1 | CC BY 4.0 | +| Font Awesome Extension | https://github.com/AndreLZGava/font-awesome-extension | 0.0.3 | MIT | +| Font Logos | https://github.com/lukas-w/font-logos | 1.3.0 | unlicensed | +| MaterialDesign | https://github.com/Templarian/MaterialDesign-Font | Oct 6, 2022 | Apache 2.0 | +| Octicons | https://github.com/primer/octicons | 18.3.0 | MIT | +| Seti and original | https://github.com/jesseweed/seti-ui | 0.8.1 | MIT | +| Pomicons | https://github.com/gabrielelana/pomicons | 1.001 | OFL 1.1 RFN | +| Powerline Extra | https://github.com/ryanoasis/powerline-extra-symbols | 1.200 | MIT | +| Powerline Symbols | https://github.com/powerline/powerline | 1.000 (ca 2013) | MIT | +| Power Symbols IEC | https://github.com/jloughry/Unicode | Feb 2015 | MIT | +| Weather Icons | https://github.com/erikflowers/weather-icons | 2.0.10 (1.100) | OFL 1.1 | + +## Which font? + +### TL;DR + +* Pick your font family: + * If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`). + * If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv. + * If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`). + +### Ligatures + +Ligatures are generally preserved in the patched fonts. +Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`. +If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings. + +### Explanation + +Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices: + +#### `Option 1: Download already patched font` + + * For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases) + * [Go-Mono.zip](https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Go-Mono.zip) + * [Go-Mono.tar.xz](https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Go-Mono.tar.xz) (smaller) + * Or download the development version from the folders here + +#### `Option 2: Patch your own font` + + * Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size) + +For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font) + +[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a + diff --git a/fonts/fontsilike b/fonts/fontsilike new file mode 160000 +Subproject 5e2261fec5f41dff393e0526cc0186324612856 diff --git a/fonts/gomono/GoMonoNerdFont-Bold.ttf b/fonts/gomono/GoMonoNerdFont-Bold.ttf Binary files differnew file mode 100644 index 0000000..86e4f7e --- /dev/null +++ b/fonts/gomono/GoMonoNerdFont-Bold.ttf diff --git a/fonts/gomono/GoMonoNerdFont-BoldItalic.ttf b/fonts/gomono/GoMonoNerdFont-BoldItalic.ttf Binary files differnew file mode 100644 index 0000000..59cf96c --- /dev/null +++ b/fonts/gomono/GoMonoNerdFont-BoldItalic.ttf diff --git a/fonts/gomono/GoMonoNerdFont-Italic.ttf b/fonts/gomono/GoMonoNerdFont-Italic.ttf Binary files differnew file mode 100644 index 0000000..a82ce9c --- /dev/null +++ b/fonts/gomono/GoMonoNerdFont-Italic.ttf diff --git a/fonts/gomono/GoMonoNerdFont-Regular.ttf b/fonts/gomono/GoMonoNerdFont-Regular.ttf Binary files differnew file mode 100644 index 0000000..1f6f7f0 --- /dev/null +++ b/fonts/gomono/GoMonoNerdFont-Regular.ttf diff --git a/fonts/gomono/GoMonoNerdFontMono-Bold.ttf b/fonts/gomono/GoMonoNerdFontMono-Bold.ttf Binary files differnew file mode 100644 index 0000000..f3d254c --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontMono-Bold.ttf diff --git a/fonts/gomono/GoMonoNerdFontMono-BoldItalic.ttf b/fonts/gomono/GoMonoNerdFontMono-BoldItalic.ttf Binary files differnew file mode 100644 index 0000000..2798f7c --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontMono-BoldItalic.ttf diff --git a/fonts/gomono/GoMonoNerdFontMono-Italic.ttf b/fonts/gomono/GoMonoNerdFontMono-Italic.ttf Binary files differnew file mode 100644 index 0000000..47e9f2f --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontMono-Italic.ttf diff --git a/fonts/gomono/GoMonoNerdFontMono-Regular.ttf b/fonts/gomono/GoMonoNerdFontMono-Regular.ttf Binary files differnew file mode 100644 index 0000000..db26291 --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontMono-Regular.ttf diff --git a/fonts/gomono/GoMonoNerdFontPropo-Bold.ttf b/fonts/gomono/GoMonoNerdFontPropo-Bold.ttf Binary files differnew file mode 100644 index 0000000..a653efb --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontPropo-Bold.ttf diff --git a/fonts/gomono/GoMonoNerdFontPropo-BoldItalic.ttf b/fonts/gomono/GoMonoNerdFontPropo-BoldItalic.ttf Binary files differnew file mode 100644 index 0000000..d98d870 --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontPropo-BoldItalic.ttf diff --git a/fonts/gomono/GoMonoNerdFontPropo-Italic.ttf b/fonts/gomono/GoMonoNerdFontPropo-Italic.ttf Binary files differnew file mode 100644 index 0000000..1d25dca --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontPropo-Italic.ttf diff --git a/fonts/gomono/GoMonoNerdFontPropo-Regular.ttf b/fonts/gomono/GoMonoNerdFontPropo-Regular.ttf Binary files differnew file mode 100644 index 0000000..d80dc1f --- /dev/null +++ b/fonts/gomono/GoMonoNerdFontPropo-Regular.ttf diff --git a/fonts/tnrm/times-new-roman-mon.ttf b/fonts/tnrm/times-new-roman-mon.ttf Binary files differnew file mode 100755 index 0000000..dc5cf6d --- /dev/null +++ b/fonts/tnrm/times-new-roman-mon.ttf diff --git a/foot/foot.ini b/foot/foot.ini new file mode 100644 index 0000000..715bb17 --- /dev/null +++ b/foot/foot.ini @@ -0,0 +1,6 @@ +[main] +font=Go Mono Nerdfont:size=14 +#pad=48x36 +pad=64x48 +resize-by-cells=yes +include=~/.config/foot/hellwal.ini diff --git a/foot/hellwal.ini b/foot/hellwal.ini new file mode 100644 index 0000000..18be7dc --- /dev/null +++ b/foot/hellwal.ini @@ -0,0 +1,21 @@ +[colors-dark] +foreground=a0aeb3 +background=162124 + +regular0=162124 +regular1=8c9296 +regular2=8a9395 +regular3=879396 +regular4=849498 +regular5=819599 +regular6=7d959c +regular7=a0aeb3 + +bright0=7e8c90 +bright1=9aa0a4 +bright2=98a1a1 +bright3=95a1a5 +bright4=91a2a6 +bright5=90a2a8 +bright6=8ba4aa +bright7=a0aeb3 diff --git a/mouffette/config.kdl b/mouffette/config.kdl new file mode 100644 index 0000000..333c389 --- /dev/null +++ b/mouffette/config.kdl @@ -0,0 +1,185 @@ +sloppy-focus #true +bypass-surface-visibility #false +log-level "error" // "silent", "error", "info", "debug" + +appearance { + // inner border + inner-border-px 0 + inner-border-color "#005577" + inner-focus-color "#3b9fc7" + inner-urgent-color "#ff0000" + // outer border + outer-border-px 0 + outer-border-color "#222222" + outer-focus-color "#444444" + outer-urgent-color "#44270a" + // gaps + gaps 1 + smart-gaps #false + // rootcol + root-color "#222222" + fullscreen-bg "#000000" + // opacity + inactive-opacity 1.0 + active-opacity 1.0 + // spawnselect rubber-band box (see "spawn-select" below) + select-color "#222222" // fill + select-border-color "#ffffff" + select-border-px 0 +} + +input { + // XCursor theme and base size. Leave "cursor-theme" if u want the default. + cursor-theme "plan9" + cursor-size 24 + repeat-rate 50 + repeat-delay 225 + tap-to-click #true + tap-and-drag #true + drag-lock #true + natural-scrolling #true + disable-while-typing #true + scroll-method "2fg" // "2fg", "edge", "button" + click-method "button_areas" // "button_areas", "clickfinger" + accel-profile "flat" // "adaptive", "flat" + accel-speed 0.0 + layout "us" // "us", "de", "de,us", ... +// variant "nodeadkeys" +// options "grp:alt_shift_toggle" +} + +// window swallowing +swallow { + enabled #true + border-px 4 +} + +// Terminals swallow=#true enables the swallow patch +rule app-id="foot" swallow=#true +// rule app-id="mouffette-select" swallow=#true + +// monitor configuration example (transform = rotation of the monitor) +// monitor name="DP-1" mode="2560x1440@240.001" scale=1.0 layout="floating" x=-1 y=-1 +// monitor name="HDMI-A-1" mode="1920x1080" transform=1 scale=1.0 layout="floating" x=-1080 y=-1 + +// monitor rules +monitor scale=1.0 layout="floating" x=-1 y=-1 + +// autostart +autostart "dbus-update-activation-environment WAYLAND_DISPLAY XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=mouffette" +// autostart "mako" +autostart "swaybg -i ~/Pictures/moody.png -m fill" +eyecandy { + corner-radius 8 // 0 = square corners + corner-radius-only-floating #false + shadow #true + shadow-only-floating #false // no shadow on tiled windows + shadow-color "#00000070" + shadow-focus-color "#000000a0" + shadow-blur 20 // blur radius + shadow-focus-blur 30 + shadow-fade-ms 150 // fade between shadow & shadow-focus, 0 = instant obv + // shadow-ignore "mouffette-select" "some-app-id" +} + +// infinite canvas +canvas { + enabled #false + step 120 // px moved by one keyboard pan + clip-to-monitor #true // windows hanging off a monitor don't show up on its neighbour + pinned-on-top #true // pinwindow'd windows are raised above the rest +} + +// Compositor-rendered wallpaper. +wallpaper { + path "" + mode 1 // 0 = static, 1 = follow the canvas + wallpaper-zoom 1.5 // fixed image zoom: 1 = fitted size, up to 100x + pan-factor 0.5 // 0 = stationary, 1 = follow canvas pan exactly + edge #true // cover and clamp at image edges + fit 0 // static mode: 0 = cover, 1 = contain, 2 = stretch + background-color "#222222" +} + +// keybind: properties mods, key, action; extra positional arguments are the action args +bind mods="logo" key="Return" action="spawn" "foot" +bind mods="logo" key="d" action="spawn" "wmenu-run" +bind mods="logo" key="q" action="killclient" + +bind mods="logo" key="space" action="togglefloating" +bind mods="logo" key="f" action="togglefullscreen" +bind mods="logo" key="g" action="togglegaps" + +bind mods="logo" key="Tab" action="view" +bind mods="logo" key="0" action="view" "all" + +bind mods="logo" key="comma" action="focusmon" "left" +bind mods="logo" key="period" action="focusmon" "right" + +bind mods="logo+shift" key="less" action="tagmon" "left" +bind mods="logo+shift" key="greater" action="tagmon" "right" + +bind mods="logo+shift" key="e" action="quit" + +// workspace +bind mods="logo" key="1" action="view" "1" +bind mods="logo+shift" key="1" action="tag" "1" + +bind mods="logo" key="2" action="view" "2" +bind mods="logo+shift" key="2" action="tag" "2" + +bind mods="logo" key="3" action="view" "4" +bind mods="logo+shift" key="3" action="tag" "4" + +bind mods="logo" key="4" action="view" "8" +bind mods="logo+shift" key="4" action="tag" "8" + +bind mods="logo" key="5" action="view" "16" +bind mods="logo+shift" key="5" action="tag" "16" + +bind mods="logo" key="6" action="view" "32" +bind mods="logo+shift" key="6" action="tag" "32" + +bind mods="logo" key="7" action="view" "64" +bind mods="logo+shift" key="7" action="tag" "64" + +bind mods="logo" key="8" action="view" "128" +bind mods="logo+shift" key="8" action="tag" "128" + +bind mods="logo" key="9" action="view" "256" +bind mods="logo+shift" key="9" action="tag" "256" + +// layout switcher +bind mods="logo" key="o" action="setlayout" "floating" +bind mods="logo" key="p" action="setlayout" "tile" +bind mods="logo" key="i" action="setlayout" "toggle" // flip the layout mode floating <-> tile + +bind mods="logo" key="e" action="layout" "toggle" // flip the focused container splith <-> splitv (from sway) + +// infinite canva features +bind mods="logo" key="h" action="focusdir" "left" +bind mods="logo" key="j" action="focusdir" "down" +bind mods="logo" key="u" action="focusdir" "up" +bind mods="logo" key="k" action="focusdir" "right" + +bind mods="logo+alt" key="h" action="movecanvas" "left" +bind mods="logo+alt" key="j" action="movecanvas" "down" +bind mods="logo+alt" key="u" action="movecanvas" "up" +bind mods="logo+alt" key="k" action="movecanvas" "right" + +bind mods="logo+alt" key="0" action="homecanvas" +bind mods="logo+alt" key="c" action="centerwindow" +bind mods="logo+alt" key="m" action="pinwindow" + +mousebind mods="logo" button="left" action="moveresize" "move" +mousebind mods="logo" button="right" action="moveresize" "resize" +mousebind mods="logo+alt" button="left" action="movecanvasmouse" +mousebind mods="" button="left" action="movecanvasmouse" "root" + +bind mods="" key="XF86AudioRaiseVolume" action="spawn" "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "2%+" +bind mods="" key="XF86AudioLowerVolume" action="spawn" "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "2%-" +bind mods="" key="XF86AudioMute" action="spawn" "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle" + +// dragspawn +mousebind mods="logo" button="middle" action="spawnselect" +spawn-select app-id="mouffette-select" min-size=32 "foot" "--app-id=mouffette-select" diff --git a/tsukifonts b/tsukifonts new file mode 160000 +Subproject fedf631430002e2d432377742e7d8e6923c86b8 |
