Skip to content

Commit

Permalink
Update Byobu
Browse files Browse the repository at this point in the history
  • Loading branch information
mlch911 committed Dec 6, 2021
1 parent 354f288 commit 47388b6
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 2 deletions.
1 change: 1 addition & 0 deletions .byobu/keybindings.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ unbind-key -n C-a
set -g prefix ^A
set -g prefix2 F12
bind a send-prefix
set-window-option -g xterm-keys on
1 change: 1 addition & 0 deletions .byobu/statusrc
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@
# Set this to zero to hide seconds int the time display
# Default 1
#TIME_SECONDS=0
BYOBU_CHARMAP=UTF-8
79 changes: 79 additions & 0 deletions .byobu/statusrc-e
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# statusrc - Byobu's default status configurations
#
# Override these in $BYOBU_CONFIG_DIR/statusrc
# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined,
# and $HOME/.byobu otherwise.
#
# Copyright (C) 2009-2011 Canonical Ltd.
#
# Authors: Dustin Kirkland <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# Configurations that you can override; if you leave these commented out,
# Byobu will try to auto-detect them.

# This should be auto-detected for most distro, but setting it here will save
# some call to lsb_release and the like.
#BYOBU_DISTRO=Ubuntu

# Default: depends on the distro (which is either auto-detected, either set
# via $DISTRO)
#LOGO="\o/"

# Abbreviate the release to N characters
# By default, this is disabled. But if you set RELEASE_ABBREVIATED=1
# and your lsb_release is "precise", only "p" will be displayed
#RELEASE_ABBREVIATED=1

# Default: /
#MONITORED_DISK=/

# Minimum disk throughput that triggers the notification (in kB/s)
# Default: 50
#DISK_IO_THRESHOLD=50

# Default: eth0
#MONITORED_NETWORK=eth0

# Unit used for network throughput (either bits per second or bytes per second)
# Default: bits
#NETWORK_UNITS=bytes

# Minimum network throughput that triggers the notification (in kbit/s)
# Default: 20
#NETWORK_THRESHOLD=20

# You can add an additional source of temperature here
#MONITORED_TEMP=/proc/acpi/thermal_zone/THM0/temperature

# Default: C
#TEMP=F

#SERVICES="eucalyptus-nc|NC eucalyptus-cloud|CLC eucalyptus-walrus eucalyptus-cc|CC eucalyptus-sc|SC"

#FAN=$(find /sys -type f -name fan1_input | head -n1)

# You can set this to 1 to report your external/public ip address
# Default: 0
#IP_EXTERNAL=0

# The users notification normally counts ssh sessions; set this configuration to '1'
# to instead count number of distinct users logged onto the system
# Default: 0
#USERS_DISTINCT=0

# Set this to zero to hide seconds int the time display
# Default 1
#TIME_SECONDS=0
BYOBU_CHARMAP=x
4 changes: 2 additions & 2 deletions mac/karabiner.edn
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
[:z [:hsa mqq] :fn-mode]
;; [:t [:hsa Telegram] :fn-mode]
[:t [:hsa iTerm2] :fn-mode]
[:e [:hsa DingTalk] :fn-mode]
;[:e [:hsa DingTalk] :fn-mode]
[:f [:hsa PathFinder] :fn-mode]
[:r [:hsa FeiShu] :fn-mode]
[:e [:hsa FeiShu] :fn-mode]

; Window Manage
;; [:1 :!Tup_arrow :fn-mode]
Expand Down
5 changes: 5 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ ln -s -f ~/.config/config/vim/init.vim ~/.config/nvim/init.vim
ln -s -f ~/.config/config/vim/config ~/.config/nvim/
# coc
ln -s -f ~/.config/config/vim/coc-settings.json ~/.config/nvim/coc-settings.json
# byobu
if [ -x `command -v byobu` ]; then
ln -sfF ~/.config/config/.byobu ~/
fi

# Mac
if [ $os == "mac" ]; then
ln -s -f ~/.config/config/mac/karabiner.edn ~/.config/karabiner.edn
ln -sfF ~/.config/config/mac/.hammerspoon ~
ln -sfF ~/.config/config/.byobu ~
fi

0 comments on commit 47388b6

Please sign in to comment.