Add kanshi, tmux, kitty

This commit is contained in:
Daniel Meiburg 2023-03-01 01:03:05 +01:00
parent a2f7cd7218
commit 0463237587
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
3 changed files with 163 additions and 0 deletions

20
.config/kanshi/config Normal file
View File

@ -0,0 +1,20 @@
profile {
output eDP-1 enable scale 2 position 0,0
output "BNQ BenQ SW271 G1L02061SL0" mode 3840x2160@60Hz enable scale 2 position 1920,0
#exec swaymsg output DP-5 enable scale 2 mode 3840x2160@60Hz
# exec swaymsg workspace 1 output "BenQ Corporation BenQ SW271 G1L02061SL0"
# exec swaymsg workspace 2 output "BenQ Corporation BenQ SW271 G1L02061SL0"
# exec swaymsg workspace 3 output "BenQ Corporation BenQ SW271 G1L02061SL0"
# exec swaymsg workspace 4 output "BenQ Corporation BenQ SW271 G1L02061SL0"
# exec swaymsg workspace 5 output "BenQ Corporation BenQ SW271 G1L02061SL0"
# exec swaymsg workspace 6 output "BenQ Corporation BenQ SW271 G1L02061SL0"
#
# exec swaymsg workspace 7 output eDP-1
# exec swaymsg workspace 8 output eDP-1
# exec swaymsg workspace 9 output eDP-1
# exec swaymsg workspace 10 output eDP-1
}
profile {
output eDP-1 enable
}

26
.config/kitty/kitty.conf Normal file
View File

@ -0,0 +1,26 @@
font_size 15.0
confirm_os_window_close 0
shell fish
bell_path none
# solarized
background #002b36
foreground #839496
cursor #93a1a1
selection_background #81908f
selection_foreground #002831
color0 #073642
color1 #dc322f
color2 #859900
color3 #b58900
color4 #268bd2
color5 #d33682
color6 #2aa198
color7 #eee8d5
color9 #cb4b16
color8 #002b36
color10 #586e75
color11 #657b83
color12 #839496
color13 #6c71c4
color14 #93a1a1

117
.tmux.conf Normal file
View File

@ -0,0 +1,117 @@
# Setting the prefix from C-b to C-j
set -g prefix C-j
# Free the original Ctrl-b prefix keybinding
unbind C-b
#setting the delay between prefix and command
set -s escape-time 2
# Ensure that we can send Ctrl-A to other apps
bind C-j send-prefix
bind x kill-pane
# Renumber panes
set-option -g renumber-windows on
# Set the base index for windows to 1 instead of 0
set -g base-index 1
# Set the base index for panes to 1 instead of 0
setw -g pane-base-index 1
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# splitting panes
bind | split-window -h
bind - split-window -v
# moving between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Quick window selection
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
# Pane resizing
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# change default dir to current dir
bind P attach -c "#{pane_current_path}"\; display "New path: #{pane_current_path}"
# mouse support - set to on if you want to use the mouse
set -g mouse off
set -g default-terminal "screen-256color"
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
# Update the status bar every 5 seconds
set -g status-interval 5
# enable vi keys.
setw -g mode-keys vi
# Basic status bar colors
set-option -g status-bg default
set-option -g status-fg white
# Left side of status bar
set-option -g status-left-length 30
set-option -g status-left "#[fg=#163738,bg=#88C0D0] #S #[fg=default,bg=default] "
# Window status
set-option -g window-status-format "#[fg=#E5E9F0,bg=brightblack] #I #[fg=#E5E9F0,bg=black] #W "
set-option -g window-status-current-format "#[fg=#163638,bg=#E5E9F0] #I #[fg=#163638,bg=#88C0D0] #W "
set-option -g window-status-separator " "
set-option -g status-justify left
# Right side of status bar
set-option -g status-right-length 40
set-option -g status-right "#[fg=#163738,bg=#88C0D0] #(whoami) "
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style fg=yellow,bg=black #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=black #base02
set-option -g pane-active-border-style fg=brightgreen #base01
# message text
set-option -g message-style fg=brightred,bg=black #orange and base01
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# Pane number indicator
set-option -g display-panes-colour brightblack
set-option -g display-panes-active-colour brightwhite
# Clock mode
set-option -g clock-mode-colour white
set-option -g clock-mode-style 24
# Copy/Paste
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy"
bind-key p run "wl-paste --no-newline | tmux load-buffer - ; tmux paste-buffer"
# Shell
#set -g default-shell /bin/fish
set -g default-command /bin/fish