starting sway documentation

main
Steve Ayerhart 2020-08-18 08:43:06 -04:00
parent 8f604ce0a9
commit fc6abac4ca
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
5 changed files with 161 additions and 200 deletions

View File

@ -1,109 +0,0 @@
(setenv "GUIX_PACKAGE_PATH" "/home/steve/Source/bbbsd/:$GUIX_PACKAGE_PATH")
(packages->manifest
(map (compose list specification->package+output symbol->string)
'(glibc-locales
gcc-toolchain gdb
strace
curl wget rsync
openssh gnupg pinentry
zip unzip bzip2 tar xz
file net-tools nmap
git
guile-bytestructures
guile-chickadee
guile-config
guile-fibers
guile-json
guile-irregex
vim emacs
emacs-guix
emacs-magit emacs-magit-todos
emacs-anzu emacs-better-defaults
emacs-bash-completion emacs-diminish
emacs-emojify
emacs-evil
emacs-evil-anzu emacs-evil-collection
emacs-evil-magit emacs-evil-org
emacs-evil-surround
emacs-flycheck emacs-geiser
emacs-js2-mode
emacs-nodejs-repl emacs-npm-mode
emacs-markdown-mode
emacs-web-mode
emacs-nix-mode
emacs-racket-mode
emacs-shell-switcher
emacs-slack
node
racket
virt-manager virt-viewer
guile-readline
graphicsmagick graphviz inkscape
vlc ffmpeg audacity
flac shntool vorbis-tools
alsa-utils
gstreamer gst-transcoder
gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly
kodi kodi-cli
aspell aspell-dict-en
hunspell hunspell-dict-en
evince
xkbutils xmodmap xprop xwininfo xev xcb-util
arandr
font-adobe100dpi
font-adobe75dpi
font-anonymous-pro
font-alias
font-anonymous-pro
font-awesome
font-bitstream-vera
font-comic-neue
font-dejavu
font-fira-code
font-fira-mono
font-fira-sans
font-gnu-freefont-ttf
font-gnu-unifont
font-go
font-google-material-design-icons
font-google-noto
font-google-roboto
font-hack
font-ibm-plex
font-inconsolata
font-iosevka
font-isas-misc
font-lato
font-liberation
font-linuxlibertine
font-mathjax
font-micro-misc
font-misc-misc
font-mutt-misc
font-sony-misc
font-sun-misc
font-tamzen
font-terminus
font-ubuntu
font-un
font-util
font-xfree86-type1
fontconfig)))

View File

@ -2,28 +2,28 @@
#+PROPERTY: header-args+ :mkdirp yes #+PROPERTY: header-args+ :mkdirp yes
#+PROPERTY: header-args+ :tangle ~/.config/sway/config #+PROPERTY: header-args+ :tangle ~/.config/sway/config
* Sway * Variables
:PROPERTIES: Logo key
:header-args: :tangle ~/.config/sway/config :mkdirp true
:END:
** Variables
#+begin_src conf #+begin_src conf
set $mod Mod4 set $mod Mod4
set $term gnome-terminal
#+end_src #+end_src
** Window Borders #+begin_src conf
set $term gnome-terminal --hide-menubar
set $menu dmenu_run
#+end_src
* Window Borders
#+begin_src conf #+begin_src conf
default_border pixel 0 default_border pixel 0
default_floating_border normal default_floating_border normal
#+end_src #+end_src
** Layouts * Layouts
Changing the container layout Changing the container layout
#+begin_src conf #+begin_src conf
bindsym $mod+s layout stacking bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
#+end_src #+end_src
** Focus * Focus
Change focus between tiling / floating windows Change focus between tiling / floating windows
#+begin_src conf #+begin_src conf
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
@ -32,7 +32,7 @@
#+begin_src conf #+begin_src conf
bindsym $mod+a focus parent bindsym $mod+a focus parent
#+end_src #+end_src
** Workspaces * Workspaces
Define name for default workspaces for which key bindings will be configured. Define name for default workspaces for which key bindings will be configured.
Use variables to avoid repeating the names in multiple places. Use variables to avoid repeating the names in multiple places.
#+begin_src conf #+begin_src conf
@ -74,22 +74,23 @@
bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+0 move container to workspace $ws10
#+end_src #+end_src
** Input Configurations * Input Configurations
Swap `ctrl` for `caps lock` Swap `ctrl` for `caps lock`
#+begin_src conf #+begin_src conf
input * { input * {
xkb_options ctrl:swapcaps xkb_options ctrl:swapcaps
} }
input * kxb_numlock enable
#+end_src #+end_src
** Theme * Theme
=class border background text indicator child-border= =class border background text indicator child-border=
#+begin_src conf #+begin_src conf
client.focused #c0c5ce #c0c5ce #1e1e1e #000000 #000000 client.focused #C0C5CE #C0C5CE #1B2229 #C0C5CE #C0C5CE
client.focused_inactive #000000 #232830 #6b0000 #000000 #000000 client.focused_inactive #232830 #232830 #C0C5CE #232830 #232830
client.unfocused #c0c5ce #2f3237 #6b6b6b #000000 #000000 client.unfocused #1B2229 #1B2229 #C0C5CE #1B2229 #1B2229
client.urgent #000000 #000000 #bbbbbb #000000 #000000 client.urgent #65737E #65737E #D08770 #65737E #65737E
client.placeholder #000000 #000000 #bbbbbb #000000 #000000 client.placeholder #4F5B66 #4F5B66 #D08770 #4F5B66 #4F5B66
client.background #2B303B
client.background #FFFFFF
#+end_src #+end_src

69
swaylock/README.org Normal file
View File

@ -0,0 +1,69 @@
#+TITLE: Swaylock Config
#+PROPERTY: header-args+ :mkdirp yes
#+PROPERTY: header-args+ :tangle ~/.config/swaylock/config
[[https:github.com/swaywm/swaylock][Swaylock]] is a screen locking utility for Wayland compositors. I use the [[https://github.com/mortie/swaylock-effects][swaylock-effects]] fork
* Options
When an empty password is provided, do not validate it.
#+begin_src conf
ignore-empty-password
#+end_src
Always show the indicator.
#+begin_src conf
indicator
#+end_src
Show a clock in the indicator.
#+begin_src conf
clock
#+end_src
Use screenshots instead of an image on disk or a color.
#+begin_src conf
screenshots
#+end_src
Give a 30 second grace where I don't have to input the password
#+begin_src conf
grace=30
#+end_src
* Appearance
Pixelate the screenshots with a fade-in just enough to not be able to read the text
and apply a vignette effect.
#+begin_src conf
fade-in=2
effect-pixelate=5
effect-vignette=0.5:0.5
#+end_src
The format for the date and time
=21:00=
=Mon, September 16=
#+begin_src conf
font=Ubuntu
timestr=%R
datestr=%a, %B %e
#+end_src
Colorscheme
#+begin_src conf
indicator-radius=250
indicator-thickness=8
inside-color=2b303b
inside-wrong-color=d08770
inside-clear-color=1b2229
inside-ver-color=c0c5ce
ring-color=232830
ring-wrong-color=d08770
ring-clear-color=c0c5ce
ring-ver-color=c0c5ce
line-color=2b303b
key-hl-color=c0c5ce
bs-hl-color=2b303b
text-color=c0c5ce
text-ver-color=232830
text-clear-color=c0c5ce
text-wrong-color=1b2229
#+end_src