Compare commits
No commits in common. "16fa2a1ef8f38b15a17a039d61c41cbadff279d6" and "485b7af00b4c90bdd3515c79ceb634bfc9703b98" have entirely different histories.
16fa2a1ef8
...
485b7af00b
24
.zshrc
24
.zshrc
@ -20,7 +20,29 @@ autoload -Uz compinit
|
|||||||
compinit
|
compinit
|
||||||
|
|
||||||
# OS-specific things
|
# OS-specific things
|
||||||
if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
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
|
||||||
PATH=~/.local/bin:$PATH
|
PATH=~/.local/bin:$PATH
|
||||||
|
|
||||||
# System Node.js with local "global" package prefix, for DSpace build environment:
|
# 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 $up k
|
||||||
set $right l
|
set $right l
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
set $term foot
|
set $term alacritty
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# 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.
|
# on the original workspace that the command was run on.
|
||||||
@ -29,7 +29,6 @@ font pango:Source Sans Pro Semi-Bold 10
|
|||||||
|
|
||||||
assign [app_id="firefox"] 1
|
assign [app_id="firefox"] 1
|
||||||
assign [app_id="Alacritty"] 2
|
assign [app_id="Alacritty"] 2
|
||||||
assign [app_id="foot"] 2
|
|
||||||
assign [app_id="geary"] 3
|
assign [app_id="geary"] 3
|
||||||
assign [app_id="thunderbird"] 3
|
assign [app_id="thunderbird"] 3
|
||||||
for_window [app_id="gnome-calculator"] floating enable
|
for_window [app_id="gnome-calculator"] floating enable
|
||||||
@ -87,6 +86,10 @@ output HDMI-A-1 {
|
|||||||
position 1280,0
|
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
|
# Wayland overlay bar for sound and brightness level
|
||||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||||
|
|
||||||
@ -232,10 +235,6 @@ input type:keyboard {
|
|||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
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
|
# Make the current focus fullscreen
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user