Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa17de12ac | ||
|
|
f80e8a9b8f | ||
|
|
46c2c5f97e | ||
|
|
f19d8c4f15 |
@@ -38,7 +38,7 @@ update_check = false
|
||||
|
||||
## which search mode to use
|
||||
## possible values: prefix, fulltext, fuzzy, skim
|
||||
search_mode = "fuzzy"
|
||||
search_mode = "fulltext"
|
||||
|
||||
## which filter mode to use by default
|
||||
## possible values: "global", "host", "session", "directory", "workspace"
|
||||
|
||||
@@ -1248,8 +1248,15 @@ end
|
||||
|
||||
local function makespec_smartsplits()
|
||||
return {
|
||||
"mrjones2014/smart-splits.nvim",
|
||||
"smart-splits-nvim/smart-splits.nvim",
|
||||
lazy = false,
|
||||
opts = {
|
||||
mux = { backend = "smart-splits-backend-tmux" },
|
||||
move = { at_edge = "wrap" },
|
||||
},
|
||||
dependencies = {
|
||||
{ "smart-splits-nvim/backend-tmux", main = "smart-splits-backend-tmux" },
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<M-h>", function() require("smart-splits").move_cursor_left() end, desc = "Go to Left Window" },
|
||||
|
||||
+14
-6
@@ -1,5 +1,5 @@
|
||||
add_newline = true
|
||||
right_format = """$cmd_duration"""
|
||||
right_format = """$cmd_duration\n"""
|
||||
|
||||
[line_break]
|
||||
disabled = false
|
||||
@@ -8,17 +8,25 @@ disabled = false
|
||||
disabled = false
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 1000
|
||||
format = 'underwent [$duration](bold yellow)'
|
||||
show_milliseconds = true
|
||||
disabled = true
|
||||
|
||||
[directory]
|
||||
truncation_length = 5
|
||||
truncate_to_repo = false
|
||||
truncation_symbol = '…/'
|
||||
truncation_symbol = "…/"
|
||||
repo_root_style = "red"
|
||||
before_repo_root_style = "cyan"
|
||||
repo_root_format = '[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) '
|
||||
repo_root_format = """\
|
||||
[$before_root_path]\
|
||||
($before_repo_root_style)\
|
||||
[$repo_root]\
|
||||
($repo_root_style)\
|
||||
[$path]\
|
||||
($style)\
|
||||
[$read_only]\
|
||||
($read_only_style)\
|
||||
\
|
||||
"""
|
||||
|
||||
[git_status]
|
||||
disabled = true
|
||||
|
||||
+5
-9
@@ -255,14 +255,10 @@ bindsym {
|
||||
# Launch the file explorer
|
||||
$mod+o exec pcmanfm
|
||||
|
||||
# Dismiss current notification
|
||||
$mod+n exec swaync-client -c
|
||||
|
||||
# Dismiss all notifications
|
||||
$mod+Shift+n exec swaync-client -C
|
||||
|
||||
# Toggle the SwayNC control center panel
|
||||
$mod+Shift+m exec swaync-client -t -sw
|
||||
# Notifications
|
||||
$mod+n exec swaync-client --hide-latest
|
||||
$mod+Shift+n exec swaync-client --close-latest
|
||||
$mod+m exec swaync-client -t -sw
|
||||
}
|
||||
|
||||
# config tools
|
||||
@@ -277,7 +273,7 @@ mode "$mode_monitor" {
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+m mode "$mode_monitor"
|
||||
bindsym $mod+Shift+m mode "$mode_monitor"
|
||||
|
||||
# ------------------------------------------
|
||||
# AUTOSTART
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
"dnd",
|
||||
"mpris",
|
||||
"volume",
|
||||
"backlight",
|
||||
"buttons-grid",
|
||||
"notifications"
|
||||
],
|
||||
"widget-config": {
|
||||
@@ -36,6 +38,25 @@
|
||||
"mpris": {
|
||||
"image-size": 96,
|
||||
"image-radius": 8
|
||||
},
|
||||
"volume": {
|
||||
"label": "Volume",
|
||||
"show-percentage": true
|
||||
},
|
||||
"backlight": {
|
||||
"label": "Brightness"
|
||||
},
|
||||
"buttons-grid": {
|
||||
"actions": [
|
||||
{
|
||||
"label": "WiFi",
|
||||
"command": "nm-connection-editor"
|
||||
},
|
||||
{
|
||||
"label": "Bluetooth",
|
||||
"command": "blueman-manager"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@define-color bg #0A0A0A;
|
||||
@define-color bg rgba(10, 10, 10, 0.85);
|
||||
@define-color border #333333;
|
||||
@define-color text #FFFFFF;
|
||||
@define-color focus #00E5FF;
|
||||
@@ -38,7 +38,9 @@ button:hover {
|
||||
|
||||
.widget-dnd,
|
||||
.widget-mpris,
|
||||
.widget-volume {
|
||||
.widget-volume,
|
||||
.widget-backlight,
|
||||
.widget-buttons-grid {
|
||||
background: transparent;
|
||||
border: 1px solid @border;
|
||||
margin: 8px;
|
||||
|
||||
+16
-23
@@ -60,11 +60,6 @@ set -g set-titles on
|
||||
######################
|
||||
### KEYBINDS ###
|
||||
######################
|
||||
# Config that is very close to a i3 window manager's keybinding.
|
||||
|
||||
# Set new prefix
|
||||
# Note : you can press super key by set M.
|
||||
# (tested with tty only)
|
||||
set -g prefix M-a
|
||||
|
||||
# First remove *all* keybindings
|
||||
@@ -85,15 +80,15 @@ bind-key -n End send-keys "\033[F"
|
||||
|
||||
# Copy mode
|
||||
bind c copy-mode
|
||||
|
||||
# clipboard control
|
||||
bind p paste-buffer
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi y send-keys -X copy-selection
|
||||
bind -T copy-mode-vi Enter send-keys -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi V send-keys -X select-line
|
||||
bind -T copy-mode-vi Escape send-keys -X clear-selection
|
||||
bind -T copy-mode-vi q send-keys -X cancel
|
||||
bind -T copy-mode-vi Y send-keys -X copy-end-of-line
|
||||
bind -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
bind -T copy-mode-vi Escape send-keys -X cancel
|
||||
bind -T copy-mode-vi q send-keys -X clear-selection
|
||||
|
||||
# Rename window
|
||||
bind , command-prompt "rename-window %%"
|
||||
@@ -194,28 +189,26 @@ bind b send-keys -R \; clear-history \; send-keys Enter
|
||||
# various plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
|
||||
######################
|
||||
### PANE CONTROL ###
|
||||
######################
|
||||
|
||||
set -g @plugin 'mrjones2014/smart-splits.nvim'
|
||||
set -g @plugin 'smart-splits-nvim/backend-tmux'
|
||||
|
||||
# Optional configurations with their default values if omitted:
|
||||
set -g @smart-splits_at_edge 'wrap'
|
||||
set -g @smart-splits_resize_step_size '3'
|
||||
|
||||
set -g @smart-splits_no_wrap '' # to disable wrapping. (any value disables wrapping)
|
||||
set -g @smart-splits_move_left_key 'M-h'
|
||||
set -g @smart-splits_move_down_key 'M-j'
|
||||
set -g @smart-splits_move_up_key 'M-k'
|
||||
set -g @smart-splits_move_right_key 'M-l'
|
||||
|
||||
set -g @smart-splits_move_left_key 'M-h' # key-mapping for navigation.
|
||||
set -g @smart-splits_move_down_key 'M-j' # --"--
|
||||
set -g @smart-splits_move_up_key 'M-k' # --"--
|
||||
set -g @smart-splits_move_right_key 'M-l' # --"--
|
||||
|
||||
set -g @smart-splits_resize_left_key 'C-h' # key-mapping for resizing.
|
||||
set -g @smart-splits_resize_down_key 'C-j' # --"--
|
||||
set -g @smart-splits_resize_up_key 'C-k' # --"--
|
||||
set -g @smart-splits_resize_right_key 'C-l' # --"--
|
||||
set -g @smart-splits_resize_left_key 'C-h'
|
||||
set -g @smart-splits_resize_down_key 'C-j'
|
||||
set -g @smart-splits_resize_up_key 'C-k'
|
||||
set -g @smart-splits_resize_right_key 'C-l'
|
||||
|
||||
set -g @smart-splits_resize_step_size '3' # change the step-size for resizing.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user