Commit Graph

210 Commits

Author SHA1 Message Date
Alan Orth 46f1cad6a1
.tmux.conf: Update comment about TERM variable
I switched from Solarized to Selenized colorscheme and noticed some
things have changed in tmux and terminals since I last looked. For
starters, it seems that, if your terminal emulator is configured to
use the sixteen color ANSI palette with Selenized values, then you
should configure vim and other apps to use sixteen colors instead
of approximating "more" with 256. I will update my vim config to use
sixteen colors also.

Eventually, once all the systems I use have newer terminfo, I will
be able to set the TERM variable inside tmux to be "tmux" instead
of pretending to be screen. For now, at least CentOS 7 doesn't like
the "tmux" TERM value so I will leave this

See: https://github.com/jan-warchol/selenized/issues/65
2020-07-10 13:33:06 +03:00
Alan Orth a3f327ae18
sway/config: Always use floating for GNOME Calculator 2020-05-31 14:29:10 +03:00
Alan Orth 31887ca09f
sway/config: Fix missing exec for audio mute 2020-05-11 22:01:53 +03:00
Alan Orth ae4e6100e0
sway/config: Use same config for all touchpads
When I moved my Apple Trackpad from USB to Bluetooth the previous
configuration didn't match anymore so we should actually just apply
it to all touchpads.
2020-04-27 15:39:26 +03:00
Alan Orth 8acd49fa24
sway/config: Add more DisplayPort outputs 2020-04-27 15:38:57 +03:00
Alan Orth 04f3591d4f
.zshrc: Increase history size
If I don't work on something for a few days it disappears from my
history, which is annoying when I try to search for commands using
Ctrl-R and then have to go look them up or write them from scratch
again.
2020-04-02 10:41:06 +03:00
Alan Orth 44f67af478
.config/alacritty/alacritty.yml: Override TERM
Remote hosts that don't have alacritty in their terminfo database
show warnings when using programs like less. In one case I even had
an Ubuntu 18.04 server fail to complete its updates because of some
error related to locales caused by this.
2020-04-02 10:40:15 +03:00
Alan Orth 1bd54ee516
sway/config: set brightness logarithmically by factor 1.4
See: https://www.reddit.com/r/swaywm/comments/fk08lu/nicer_brightness_control/
2020-03-18 18:20:35 +02:00
Alan Orth 6e221be57c
Revert "Use kanshi for display management in sway"
This reverts commit f6adb60d49.

I think I'm experiencing issues when disconnecting from my docking
station because of this.
2020-03-08 14:44:48 +02:00
Alan Orth 17400af6bf
README.md: Add mako and kanshi configs 2020-02-15 22:49:47 +02:00
Alan Orth 246fb98c01
sway/config: Add Alt-Tab for app switching
This sort of addresses my muscle memory for switching between apps.
2020-02-15 22:48:45 +02:00
Alan Orth f6adb60d49
Use kanshi for display management in sway
As long as kanshi is running it should automatically manage displays
based on the definitions in its config.
2020-02-15 22:47:51 +02:00
Alan Orth ce825d26f2
sway/config: Use wob for sound and brightness overlays
wob is a Wayland overlay bar for things like sound and brightness
levels. It expects values to be between 0 and 100, which means we
need to use light instead of brightnessctl because the brightness
level is in lumens or something so it goes up to 1060 on my Think
Pad Carbon X1 Gen 6 and light represents it as a percentage. Also
we need to use pamixer instead of pactl because there is no simple
way to get the current volume with pactl.

See: https://github.com/francma/wob
2020-02-15 22:46:30 +02:00
Alan Orth b7d8529819
sway/config: Fix undefined dmenu_path 2020-02-12 22:03:58 +02:00
Alan Orth 261608da2c
Add Alacritty config 2020-02-11 10:30:29 +02:00
Alan Orth dbbd75f006
mako/config: Improve config
Inspired by post on reddit where a user shared a configuration that
has slightly more contrast than Solarized Dark and uses different
settings for each level of notification.

See: https://www.reddit.com/r/swaywm/comments/f1o2az/solarized_dark_color_scheme_for_mako_notifications/
See: https://gitlab.com/gamma-neodots/neodots.i3extra/-/tree/master/CONFIG
2020-02-10 22:12:34 +02:00
Alan Orth 44996e495f
.zshrc: Set variables for Wayland applications
Some application UI toolkits need to specifically be told that we
want to use Wayland instead of XWayland.
2020-02-10 14:00:41 +02:00
Alan Orth 68e7413c63
sway/config: Sync minor syntax fixes from upstream
See: https://github.com/swaywm/sway/blob/master/config.in
2020-02-10 13:59:16 +02:00
Alan Orth 1f382e053c
mako/config: Add default timeout
Otherwise the notifications stay until you click them.
2020-02-10 10:19:03 +02:00
Alan Orth 9c369a66d3
sway/config: Set lockscreen backgroud picture
Andrew Shiva / Wikipedia / CC BY-SA 4.0

From: https://commons.wikimedia.org/wiki/File:Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg
2020-02-10 10:03:08 +02:00
Alan Orth f43f6d3e37
sway/config: Use 1280x720 for TV 2020-02-10 10:02:43 +02:00
Alan Orth 1d61e4d900
Add mako config
Mako is a notification daemon for Wayland. The color scheme here
is Solarized Dark.

See: https://github.com/altercation/solarized#the-values
2020-02-10 10:00:52 +02:00
Alan Orth fcbf8d0ed4
sway/config: Use blocks for output devices
Organize settings per output using blocks.
2020-02-09 15:49:40 +02:00
Alan Orth 24a17986a3
.zshrc: Use Ruby 2.7.0 2020-02-04 11:39:57 +02:00
Alan Orth f233c59abf
README.md: Update copyright years 2020-02-04 11:37:40 +02:00
Alan Orth 81a64385d1
Add swaywm config 2020-02-04 11:37:08 +02:00
Alan Orth 8eadc28b9b
.dircolors.ansi-dark: Update from Solarized
See: https://github.com/seebi/dircolors-solarized
2019-11-20 10:32:14 +02:00
Alan Orth 18fa614165
.zshrc: Update Ruby gems location 2019-04-30 09:14:59 +03:00
Alan Orth d635a6a268
.tmux.conf: Update for tmux 2.9 syntax
The old syntax has been deprecated since version 1.9.

See: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-translate--fg--bg-and--attr-options-into--style-options
See: https://man.openbsd.org/tmux.1#STYLES
2019-04-30 09:11:59 +03:00
Alan Orth e54782976e
.zshrc: Prioritize local bin path 2018-08-27 14:42:00 +03:00
Alan Orth 01c78dce3e
README.md: Update descriptions and body text 2018-07-18 13:58:07 +03:00
Alan Orth a4247542bf
.zshrc: Add Ruby and Node.js stuff for Linux
This is mostly for doing DSpace Mirage 2 builds. I hard code these
paths here so I don't need to ues horrible RVM or NVM.
2018-05-31 11:57:24 -07:00
Alan Orth 86709372d4
.zshrc: Add ~/.local/bin to PATH on Linux
This is where pip binaries end up it seems.
2018-05-31 11:55:48 -07:00
Alan Orth 4503c1c997
.zshrc: Synchronize PATH format 2018-04-07 17:08:30 +03:00
Alan Orth 8cc028a6d1
.zshrc: Use Node.js from Homebrew instead of nvm
One less dynamic thing needed to source and manage during shell init.
2018-04-07 17:03:05 +03:00
Alan Orth 0fb806c258
.zshrc: Hardcode Ruby environment on macOS
Using rvm is a real pain in the ass. I'd rather install Ruby from
Homebrew and then hardcode the gem paths. After all, I only need
this for building DSpace on macOS.
2018-04-07 16:57:54 +03:00
Alan Orth 1bf562eec9
.zshrc: Add Homebrew's sbin to PATH on macOS 2018-04-07 16:56:58 +03:00
Alan Orth ed07d98882
.zshrc: Update BasicTex path to 2017 2018-01-14 13:15:03 +02:00
Alan Orth 38da7a416d
.zshrc: Always add BasicTex to PATH
I'm sick of all these conditionals running during shell initialization—my
zsh takes several seconds to start!
2018-01-14 13:13:43 +02:00
Alan Orth 3e77f245c7
.zshrc: Remove golang stuff
I haven't compiled anything with golang in like a year, and I'm sick of all
these conditionals running during shell initialization—my zsh takes several
seconds to start!
2018-01-14 12:57:03 +02:00
Alan Orth ee6ae2f178
.zshrc: Get rid of private bin check
I don't use one, never have. I'm sick of all these conditionals running
during shell initialization—my zsh takes several seconds to start!
2018-01-14 12:55:40 +02:00
Alan Orth 2551bb447f
.zshrc: Remove jenv
I'm only using JDK 8 right now, and I'm sick of all these checks during
shell initialization—zsh takes several seconds to start!
2018-01-14 12:53:44 +02:00
Alan Orth 906da0cdbd
.zshrc: Remove Tomcat 7 from PATH 2018-01-12 06:10:50 +02:00
Alan Orth 506fb61f9d
.zshrc: Explicitly add /usr/local/bin to PATH
The macOS Terminal.app gets this automatically, but when you run other
terminal emulators like Alacritty it doesn't for some reason.
2018-01-12 06:08:18 +02:00
Alan Orth 341eeb54bd
.zshrc: Add jenv
Not sure why RVM was here but I don't want to add it to my .zshrc
anyways.
2017-10-10 01:18:43 +03:00
Alan Orth 090dc88d34
.zshrc: Add Tomcat 7 and PostgreSQL 9.5 to PATH
These are no longer the current versions in Homebrew so we need to add
them to the path manually.
2017-10-10 01:17:56 +03:00
Alan Orth 2abbe9f5d7
.zshrc: Remove ANSIBLE_HOSTS
Ansible 2.4 deprecates this variable in favor of ANSIBLE_INVENTORY but I
decided that we should just be specifying this in the ansible.cfg inside
each project anyways.
2017-10-10 01:12:47 +03:00
Alan Orth 448243cce3
.zshrc: Don't auto update Homebrew
I always update and then upgrade, so I don't want Homebrew updating
automatically.
2017-08-19 10:06:04 +03:00
Alan Orth 7f7eee4544
.zshrc: Reinstall Homebrew to /usr/local
I liked using Homebrew from a custom prefix but it causes many more
packages to have to build from source because the pre-compiled ones
from Homebrew's CI are installed in /usr/local and non relocatable.
2017-08-09 12:57:16 +03:00
Alan Orth 19c9d664b4
.zshrc: Add MAVEN_OPTS to speed up mvn builds
See:
https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
2017-08-01 14:27:58 +03:00