Browse Source

some things may or may not have changed idk

main
Mitchell Marquez 6 months ago
parent
commit
9bd50e00cf
  1. 2
      .config/emacs
  2. 46
      .config/sway/config
  3. 93
      .config/waybar/config
  4. 17
      README.org

2
.config/emacs

@ -1 +1 @@
Subproject commit 26e966b56f3adec13b18efef52b34705e512d068
Subproject commit caafb7747abad7508c9c994b639c665a135eab54

46
.config/sway/config

@ -1,4 +1,4 @@
# vim: set ft=sh :
# vim: set ft=sh : -*- mode: conf -*-
# Custom config for sway
#
@ -172,26 +172,26 @@ exec ~/.local/bin/brightctl -r
# Workspaces:
#
# Switch to workspace
# bindsym $mod+1 workspace number 1
# bindsym $mod+2 workspace number 2
# bindsym $mod+3 workspace number 3
# bindsym $mod+4 workspace number 4
# bindsym $mod+5 workspace number 5
# bindsym $mod+6 workspace number 6
# bindsym $mod+7 workspace number 7
# bindsym $mod+8 workspace number 8
# bindsym $mod+9 workspace number 9
# bindsym $mod+0 workspace number 10
bindsym $mod+1 exec xtransition.sh 1
bindsym $mod+2 exec xtransition.sh 2
bindsym $mod+3 exec xtransition.sh 3
bindsym $mod+4 exec xtransition.sh 4
bindsym $mod+5 exec xtransition.sh 5
bindsym $mod+6 exec xtransition.sh 6
bindsym $mod+7 exec xtransition.sh 7
bindsym $mod+8 exec xtransition.sh 8
bindsym $mod+9 exec xtransition.sh 9
bindsym $mod+0 exec xtransition.sh 10
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# bindsym $mod+1 exec xtransition.sh 1
# bindsym $mod+2 exec xtransition.sh 2
# bindsym $mod+3 exec xtransition.sh 3
# bindsym $mod+4 exec xtransition.sh 4
# bindsym $mod+5 exec xtransition.sh 5
# bindsym $mod+6 exec xtransition.sh 6
# bindsym $mod+7 exec xtransition.sh 7
# bindsym $mod+8 exec xtransition.sh 8
# bindsym $mod+9 exec xtransition.sh 9
# bindsym $mod+0 exec xtransition.sh 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
@ -296,7 +296,7 @@ include /etc/sway/config.d/*
#exec /usr/lib/sway-systemd/session.sh --with-cleanup
#exec /usr/lib/sway-systemd/assign-cgroups.py
# emacs daemon because reasons
exec emacs --daemon
# (don't) emacs daemon because reasons
# exec emacs --daemon
exec swayspawn $term

93
.config/waybar/config

@ -1,76 +1,79 @@
// vim: set filetype=json : -*- mode: js -*-
{
"layer": "top",
"exclusive": true,
"modules-left": ["custom/vivarium", "sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["tray", "pulseaudio", "battery", "cpu", "clock"],
"modules-right": ["tray", "pulseaudio", "bluetooth", "battery", "cpu", "clock"],
"sway/workspaces": {
"format": "{icon}",
"disable-scroll": true,
"format-icons": {
"1": " ",
"2": " ",
"3": " ﭮ ",
"4": " 4 ",
"5": " 5 ",
"6": " 6 ",
"7": " 7 ",
"8": " 8 ",
"9": " 9 "
}
"format": "{icon}",
"disable-scroll": true,
"format-icons": {
"1": " ",
"2": " ",
"3": " ﭮ ",
"4": " 4 ",
"5": " 5 ",
"6": " 6 ",
"7": " 7 ",
"8": " 8 ",
"9": " 9 "
}
},
"custom/vivarium": {
"exec": "cat ~/.cache/vivarium.state",
"exec-if": "~/.local/bin/stupid vivarium"
"exec": "cat ~/.cache/vivarium.state",
"exec-if": "~/.local/bin/stupid vivarium"
},
"sway/window": {
"format": "{}",
"rewrite": {
"(.*) - (.*) - Brave": "$1",
"(.*): (.*) - Brave": "$1",
"(.*) - Brave": "$1"
}
"format": "{}",
"rewrite": {
"(.*) - (.*) - Brave": "$1",
"(.*): (.*) - Brave": "$1",
"(.*) - Brave": "$1"
}
},
"tray": {
"icon-size": 16,
"spacing": 10
"icon-size": 16,
"spacing": 10
},
"pulseaudio": {
"format": "{icon} {volume}% ",
"format-bluetooth": " {icon} {volume}% ",
"format-muted": " Mute ",
"format-icons": {
"default": ["奔", "墳", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol",
"min-length": 8,
"max-length": 9
"format": "{icon} {volume}% ",
"format-bluetooth": " {icon} {volume}% ",
"format-muted": " Mute ",
"format-icons": {
"default": ["奔", "墳", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol",
"min-length": 8,
"max-length": 9
},
"bluetooth": {
"format": " {status} ",
},
"battery": {
"format": "{icon} {capacity}% ",
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
"min-length": 8,
"max-length": 8
"format": "{icon} {capacity}% ",
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
"min-length": 8,
"max-length": 8
},
"cpu": {
"format": " {usage}%",
"interval": 1,
"max-length": 7,
"min-length": 6
"format": " {usage}%",
"interval": 1,
"max-length": 7,
"min-length": 6
},
"clock": {
"format": " {:%I:%M %p}",
"format-alt": " ({:%a %b %d %H:%M})"
"format": " {:%I:%M %p}",
"format-alt": " ({:%a %b %d %H:%M})"
}
}
// vim: set filetype=json :

17
README.org

@ -20,7 +20,7 @@ Beyond handling true-color and UTF-8 nerd fonts, any terminal is sufficient in m
I currently use [[https://wiki.gnome.org/Apps/Terminal][gnome-terminal]] on Fedora and Ubuntu (my server and media center both run Ubuntu), [[https://sw.kovidgoyal.net/kitty/][kitty]] on MacOS, [[https://github.com/alacritty/alacritty][alacritty]] on arch/artix/whatever, and the totally vanilla default console host on Windows, unless I'm in cygwin/gitbash in which case I use their default ~mintty~.
** The shell
I run [[https://man.archlinux.org/man/zshall.1][ZSH]]. It's decently fast, POSIX compliant, and has /zillions/ of options and menues and plugins.
I run [[https://man.archlinux.org/man/zshall.1][ZSH]]. It's decently fast, POSIX compliant, and has /zillions/ of options and menus and plugins.
I have copied [[https://github.com/lukesmithxyz/voidrice][Luke Smith's config]] layout of a .zprofile linked to its xdg-compliant location and setting ~$ZDOTDIR~ to [[.config/zsh][.config/zsh]] because having a clean ~$HOME~ is nice. the [[.config/zsh/.zshrc][.config/zsh/.zshrc]] sources [[functions.zsh][functions.zsh]] and [[aliases.zsh][aliases.zsh]], and will on first run attempt to install [[https://github.com/zplug/zplug][zplug]] for a few fun extensions.
@ -61,3 +61,18 @@ As of 2020, xkb accepts user-specific keyboard patches. Modifying system files i
** TODO .config
Basic. Place where configs go. Visit the location for more info, another org document may or may not appear there.
* Test, needs to be a different file
mailto:test@example.com
https://mitchmarq42.xyz
#+begin_src elisp
;; (require 'openwith)
;; (setq browse-url-mail nil)
(setq browse-url-mailto-function 'browse-url-generic)
;; (setq browse-url-generic-program "open")
#+end_src
#+begin_src elisp
(let ((calendar-date-display-form calendar-iso-date-display-form))
(calendar-date-string (calendar-current-date)))
#+end_src

Loading…
Cancel
Save