Compare commits
4 Commits
485b7af00b
...
16fa2a1ef8
Author | SHA1 | Date | |
---|---|---|---|
16fa2a1ef8 | |||
b545f329af | |||
725e642647 | |||
62b1337cc4 |
24
.zshrc
24
.zshrc
@ -20,29 +20,7 @@ autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
# OS-specific things
|
||||
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
||||
# explicitly add Homebrew binary paths just in case Terminal doesn't inherit it from macOS, for example Alacritty.
|
||||
PATH=$PATH:/usr/local/bin:/usr/local/sbin
|
||||
|
||||
# Add brew stuff to MANPATH
|
||||
MANPATH=/usr/local/share/man:/usr/local/opt/postgresql@9.5/share/man:$PATH
|
||||
|
||||
# opt out of Homebrew analytics
|
||||
# see: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md
|
||||
export HOMEBREW_NO_ANALYTICS=1
|
||||
export HOMEBREW_NO_EMOJI=1
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
|
||||
# use some GNU stuff from homebrew: coreutils findutils gnu-sed
|
||||
# requires at least: coreutils findutils gnu-sed
|
||||
PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
|
||||
|
||||
alias grep='ggrep'
|
||||
|
||||
# Add BasicTeX to PATH
|
||||
# See: https://tug.org/mactex/morepackages.html
|
||||
PATH=$PATH:/usr/local/texlive/2017basic/bin/x86_64-darwin
|
||||
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||
if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||
PATH=~/.local/bin:$PATH
|
||||
|
||||
# System Node.js with local "global" package prefix, for DSpace build environment:
|
||||
|
11
sway/config
11
sway/config
@ -14,7 +14,7 @@ set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
# Your preferred terminal emulator
|
||||
set $term alacritty
|
||||
set $term foot
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
@ -29,6 +29,7 @@ font pango:Source Sans Pro Semi-Bold 10
|
||||
|
||||
assign [app_id="firefox"] 1
|
||||
assign [app_id="Alacritty"] 2
|
||||
assign [app_id="foot"] 2
|
||||
assign [app_id="geary"] 3
|
||||
assign [app_id="thunderbird"] 3
|
||||
for_window [app_id="gnome-calculator"] floating enable
|
||||
@ -86,10 +87,6 @@ output HDMI-A-1 {
|
||||
position 1280,0
|
||||
}
|
||||
|
||||
set $laptop eDP-1
|
||||
bindswitch --reload lid:on output $laptop disable
|
||||
bindswitch --reload lid:off output $laptop enable
|
||||
|
||||
# Wayland overlay bar for sound and brightness level
|
||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||
|
||||
@ -235,6 +232,10 @@ input type:keyboard {
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# Fix accidental tiling containers like T[Alacritty Alacritty gedit]
|
||||
# See: https://www.reddit.com/r/swaywm/comments/kzr2xl/how_do_i_undo_talacritty_alacritty_alacritty/
|
||||
bindsym $mod+ctrl+a [tiling workspace="__focused__"] move workspace "reorder"; [workspace="reorder"] move workspace current
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user