tmux: customize status bar, GUI bindings (Alt)

This commit is contained in:
2019-07-23 07:18:48 -04:00
parent 818d05050a
commit f0824e5b9f
13 changed files with 193 additions and 48 deletions

View File

@@ -75,7 +75,6 @@ end
abbr ab "abbr"
abbr abe "abbr -e"
abbr rf "chezmoi apply && sync-shortcuts && source ~/.config/fish/key_abbr.fish > /dev/null"
abbr rfc "chezmoi apply && source ~/.config/fish/config.fish"
abbr xf "fish_config"
abbr f. "cd .."
@@ -106,9 +105,10 @@ abbr grmb "git-delete-branch"
# ]]] git #
abbr hs "scan-history"
abbr hst "$EDITOR ~/.local/share/fish/fish_history"
abbr mt "math"
abbr mat "math"
abbr pgr "grep-pdf"
abbr pgrf "grep-pdf-file"
abbr rf "refresh-config"
abbr rs "redshift-set"
abbr shrm "shred-rm"
abbr thes "thesaurus"

View File

@@ -0,0 +1,3 @@
function man-vim
nvim -c ":Man $argv[1]" -c "only"
end

View File

@@ -0,0 +1,7 @@
function refresh-config
chezmoi apply
and sync-shortcuts
and source ~/.config/fish/key_abbr.fish > /dev/null
and tmux source-file ~/.tmux.conf
and fish
end

View File

@@ -135,7 +135,7 @@ bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
@@ -241,18 +241,15 @@ bindsym shift+x kill
# backgrounds [[[ #
set $make_st_script "/home/kevin/st/make-st.sh"
# test
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
bindsym Control+$mod+q exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/editing") && $make_st_script
bindsym Control+$mod+w exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") && $make_st_script
bindsym Control+$mod+z exec feh --bg-fill ~/Pictures/Backgrounds/dim/black.jpg
{{ else }}
bindsym $mod+q exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/editing") && $make_st_script
bindsym $mod+w exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") && $make_st_script
# bindsym $mod+w exec ~/linux-config/scripts/bg-chooser
{{ end }}
bindsym $mod+r exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/editing") && $make_st_script
bindsym $mod+y exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/non-editing") && $make_st_script
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
bindsym Control+$mod+z exec feh --bg-fill ~/Pictures/Backgrounds/dim/black.jpg
{{ end }}
# ]]] backgrounds #
@@ -352,8 +349,8 @@ set $ws15 "15"
# ws bindings [[[ #
bindsym $mod+h workspace prev
bindsym $mod+l workspace next
# bindsym $mod+h workspace prev
# bindsym $mod+l workspace next
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2

View File

@@ -68,10 +68,10 @@ WIDTH=220
# sys.monitoring [[[ #
{{ if eq .chezmoi.fullHostname "nzxt" }}
[wifi]
label=
instance=wlp4s0
interval=10
# [wifi]
# label=
# instance=wlp4s0
# interval=10
[temperature]
label=