Add tmux
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
XCURSOR_THEME="catppuccin-latte-peach-cursors"
|
|
||||||
XCURSOR_SIZE=32
|
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["sway/workspaces"],
|
"modules-left": ["sway/workspaces"],
|
||||||
"modules-center": ["pulseaudio", "clock"],
|
"modules-center": ["pulseaudio", "clock"],
|
||||||
"modules-right": ["tray", "memory"],
|
"modules-right": ["tray", "memory", "custom/power"],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"sort-by-name": true,
|
"sort-by-name": true,
|
||||||
@@ -49,6 +49,16 @@
|
|||||||
"format-alt": "{icon}",
|
"format-alt": "{icon}",
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format" : "⏻",
|
||||||
|
"tooltip": false,
|
||||||
|
"menu": "on-click",
|
||||||
|
"menu-file": "~/.config/waybar/power_menu.xml",
|
||||||
|
"menu-actions": {
|
||||||
|
"shutdown": "systemctl poweroff",
|
||||||
|
"reboot": "systemctl reboot"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
// "scroll-step": 1, // %, can be a float
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
@@ -56,6 +66,6 @@
|
|||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": ["", "", " "]
|
"default": ["", "", " "]
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol"
|
"on-click": "pwvucontrol"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
38
.tmux.conf
Normal file
38
.tmux.conf
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
|
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
|
# Faster escape sequences (better for Vim/Neovim)
|
||||||
|
set -s escape-time 10
|
||||||
|
|
||||||
|
# Increase scrollback buffer size
|
||||||
|
set -g history-limit 50000
|
||||||
|
|
||||||
|
# Better colors and terminal support
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ga terminal-overrides ",*256col*:Tc"
|
||||||
|
|
||||||
|
# Status bar configuration
|
||||||
|
set -g status-interval 60
|
||||||
|
set -g status-position bottom
|
||||||
|
set -g status-bg colour235
|
||||||
|
set -g status-fg colour136
|
||||||
|
set -g status-left-length 40
|
||||||
|
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P"
|
||||||
|
set -g status-right "#[fg=cyan]%d %b %R"
|
||||||
|
set -g status-justify centre
|
||||||
|
|
||||||
|
# Window status
|
||||||
|
setw -g window-status-current-style "fg=black,bg=red"
|
||||||
|
setw -g window-status-current-format " #I:#W#F "
|
||||||
|
setw -g window-status-style "fg=brightblue,bg=black"
|
||||||
|
setw -g window-status-format " #I:#W#F "
|
||||||
|
# Pane borders
|
||||||
|
set -g pane-border-style "fg=colour238"
|
||||||
|
set -g pane-active-border-style "fg=colour208"
|
||||||
|
|
||||||
|
set -g @continuum-save-interval '5'
|
||||||
|
set -g @continuum-restore 'on'
|
||||||
|
|
||||||
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
Reference in New Issue
Block a user