summaryrefslogtreecommitdiffstats
path: root/clerk.tmux
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-08-05 20:37:53 +0200
committerRasmus Steinke <rasi@xssn.at>2017-08-05 20:37:53 +0200
commitea6d94d4b64245d84b62bd8a2ec6b1085a05a427 (patch)
tree03520c1188b53772d8d506793d20a7e41efcfb87 /clerk.tmux
parent5dc8f9a11136f3fe2f8680109b4312f3d41c6b68 (diff)
downloadperl-app-clerk-ea6d94d4b64245d84b62bd8a2ec6b1085a05a427.tar.gz
perl-app-clerk-ea6d94d4b64245d84b62bd8a2ec6b1085a05a427.tar.xz
Add install script for arch linux
Diffstat (limited to 'clerk.tmux')
-rw-r--r--clerk.tmux55
1 files changed, 55 insertions, 0 deletions
diff --git a/clerk.tmux b/clerk.tmux
new file mode 100644
index 0000000..6469cb8
--- /dev/null
+++ b/clerk.tmux
@@ -0,0 +1,55 @@
+# Status bar
+set-option -g status-position top
+set -g status-interval 30
+set -g status-justify centre
+set -g status-left-length 40
+set -g status-left ''
+set -g status-right ''
+
+
+# Colors
+set -g status-bg colour235
+set -g status-fg default
+setw -g window-status-current-bg default
+setw -g window-status-current-fg default
+setw -g window-status-current-attr dim
+setw -g window-status-bg default
+setw -g window-status-fg white
+setw -g window-status-attr bright
+setw -g window-status-format ' #[fg=colour243,bold]#W '
+setw -g window-status-current-format ' #[fg=yellow,bold]#[bg=colour235]#W '
+
+# !Dont remove this keybinding header! (used to generate help)
+## Key Bindings
+bind-key -n F1 findw albums
+bind-key -n F2 findw tracks
+bind-key -n F3 findw latest
+bind-key -n F4 findw playlists
+bind-key -n F8 findw lyrics
+bind-key -n F5 findw queue
+bind-key -n C-F5 run-shell 'mpc prev --quiet'
+bind-key -n C-F6 run-shell 'mpc toggle --quiet'
+bind-key -n C-F7 run-shell 'mpc stop > /dev/null'
+bind-key -n C-F8 run-shell 'mpc next --quiet'
+bind-key -n C-F12 run-shell 'forceupdate="true" clerk_fzf --update'
+bind-key -n F12 run-shell 'clerk_fzf --update'
+bind-key -n F9 run-shell 'clerk_fzf --random_album'
+bind-key -n F10 run-shell 'clerk_fzf --random_tracks'
+bind-key -n C-h run-shell 'clerk_fzf --help'
+bind-key -n C-q kill-session -t music
+
+
+# tmux options
+set -g set-titles on
+set -g set-titles-string '#T'
+set -g default-terminal "screen-256color"
+setw -g mode-keys vi
+set -sg escape-time 1
+set -g repeat-time 1000
+set -g base-index 1
+setw -g pane-base-index 1
+set -g renumber-windows on
+unbind C-b
+set -g prefix C-a
+unbind C-p
+bind C-p paste-buffer