h
This commit is contained in:
@@ -97,16 +97,24 @@ wrap-indicator = "↪"
|
|||||||
|
|
||||||
|
|
||||||
[keys.insert]
|
[keys.insert]
|
||||||
A-tab = "insert_tab"
|
|
||||||
C-space = "signature_help"
|
C-space = "signature_help"
|
||||||
S-tab = "move_parent_node_start"
|
# tab = "move_parent_node_end"
|
||||||
|
tab = "completion"
|
||||||
|
# S-tab = "move_parent_node_start"
|
||||||
|
A-tab = "insert_tab"
|
||||||
|
|
||||||
[keys.select]
|
[keys.select]
|
||||||
x = "extend_line"
|
x = "extend_line"
|
||||||
# a = ["append_mode", "collapse_selection"]
|
# a = ["append_mode", "collapse_selection"]
|
||||||
tab = "extend_parent_node_end"
|
|
||||||
S-tab = "extend_parent_node_start"
|
C-y = "yank_joined"
|
||||||
|
|
||||||
|
# tab = "extend_parent_node_end"
|
||||||
|
# S-tab = "extend_parent_node_start"
|
||||||
|
tab = "expand_selection"
|
||||||
|
S-tab = "shrink_selection"
|
||||||
A-tab = "insert_tab"
|
A-tab = "insert_tab"
|
||||||
|
|
||||||
";" = ["collapse_selection", "normal_mode"]
|
";" = ["collapse_selection", "normal_mode"]
|
||||||
|
|
||||||
L = "goto_next_buffer"
|
L = "goto_next_buffer"
|
||||||
@@ -125,6 +133,8 @@ x = "extend_line"
|
|||||||
"=" = ":format"
|
"=" = ":format"
|
||||||
"A-=" = "format_selections"
|
"A-=" = "format_selections"
|
||||||
|
|
||||||
|
C-y = "yank_joined"
|
||||||
|
|
||||||
L = "goto_next_buffer"
|
L = "goto_next_buffer"
|
||||||
H = "goto_previous_buffer"
|
H = "goto_previous_buffer"
|
||||||
|
|
||||||
@@ -139,9 +149,12 @@ D = ["ensure_selections_forward", "extend_to_line_end"]
|
|||||||
|
|
||||||
C-space = "signature_help"
|
C-space = "signature_help"
|
||||||
|
|
||||||
tab = "move_parent_node_end"
|
|
||||||
S-tab = "move_parent_node_start"
|
tab = "expand_selection"
|
||||||
|
S-tab = "shrink_selection"
|
||||||
A-tab = "insert_tab"
|
A-tab = "insert_tab"
|
||||||
|
# tab = "move_parent_node_end"
|
||||||
|
# S-tab = "move_parent_node_start"
|
||||||
|
|
||||||
A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
|
A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
|
||||||
A-k = [
|
A-k = [
|
||||||
|
|||||||
@@ -39,11 +39,11 @@ semanticTokens = "enable"
|
|||||||
[language-server.rust-analyzer.config]
|
[language-server.rust-analyzer.config]
|
||||||
checkOnSave = true
|
checkOnSave = true
|
||||||
procMacro.enable = true
|
procMacro.enable = true
|
||||||
|
cargo.features = "all"
|
||||||
|
|
||||||
[language-server.rust-analyzer.config.cargo]
|
# [language-server.rust-analyzer.config.cargo]
|
||||||
features = "all"
|
# loadOutDirsFromCheck = true
|
||||||
loadOutDirsFromCheck = true
|
# runBuildScripts = true
|
||||||
runBuildScripts = true
|
|
||||||
|
|
||||||
[language-server.rust-analyzer.config.check]
|
[language-server.rust-analyzer.config.check]
|
||||||
features = "all"
|
features = "all"
|
||||||
@@ -59,7 +59,7 @@ extraArgs = [
|
|||||||
"-Wclippy::perf", # code that can be written to run faster
|
"-Wclippy::perf", # code that can be written to run faster
|
||||||
"-Wclippy::pedantic", # lints which are rather strict or have occasional false positives
|
"-Wclippy::pedantic", # lints which are rather strict or have occasional false positives
|
||||||
"-Wclippy::nursery", # new lints that are still under development
|
"-Wclippy::nursery", # new lints that are still under development
|
||||||
"-Wclippy::cargo", # lints for the cargo manifest
|
"-Aclippy::cargo", # lints for the cargo manifest
|
||||||
# Use in production
|
# Use in production
|
||||||
"-Aclippy::restriction", # lints which prevent the use of language and library features
|
"-Aclippy::restriction", # lints which prevent the use of language and library features
|
||||||
# Other
|
# Other
|
||||||
|
|||||||
+3
-3
@@ -8,7 +8,7 @@ hide_userland_threads=1
|
|||||||
hide_running_in_container=1
|
hide_running_in_container=1
|
||||||
shadow_other_users=0
|
shadow_other_users=0
|
||||||
show_thread_names=0
|
show_thread_names=0
|
||||||
show_program_path=0
|
show_program_path=1
|
||||||
highlight_base_name=1
|
highlight_base_name=1
|
||||||
highlight_deleted_exe=1
|
highlight_deleted_exe=1
|
||||||
shadow_distribution_path_prefix=1
|
shadow_distribution_path_prefix=1
|
||||||
@@ -40,14 +40,14 @@ column_meter_modes_0=1 1
|
|||||||
column_meters_1=DateTime Uptime LoadAverage Tasks Battery DiskIO NetworkIO Memory Swap
|
column_meters_1=DateTime Uptime LoadAverage Tasks Battery DiskIO NetworkIO Memory Swap
|
||||||
column_meter_modes_1=2 2 2 2 2 2 2 1 1
|
column_meter_modes_1=2 2 2 2 2 2 2 1 1
|
||||||
tree_view=0
|
tree_view=0
|
||||||
sort_key=39
|
sort_key=46
|
||||||
tree_sort_key=0
|
tree_sort_key=0
|
||||||
sort_direction=-1
|
sort_direction=-1
|
||||||
tree_sort_direction=-1
|
tree_sort_direction=-1
|
||||||
tree_view_always_by_pid=0
|
tree_view_always_by_pid=0
|
||||||
all_branches_collapsed=0
|
all_branches_collapsed=0
|
||||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_SHARE M_RESIDENT STATE NLWP PROCESSOR PERCENT_CPU PERCENT_MEM TIME Command
|
screen:Main=PID USER PRIORITY NICE M_VIRT M_SHARE M_RESIDENT STATE NLWP PROCESSOR PERCENT_CPU PERCENT_MEM TIME Command
|
||||||
.sort_key=M_RESIDENT
|
.sort_key=PERCENT_CPU
|
||||||
.tree_sort_key=PID
|
.tree_sort_key=PID
|
||||||
.tree_view_always_by_pid=0
|
.tree_view_always_by_pid=0
|
||||||
.tree_view=0
|
.tree_view=0
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ windowrule = rounding 0, floating:0, onworkspace:f[1]
|
|||||||
|
|
||||||
# windowrule = float, class:^(LibreWolf)$
|
# windowrule = float, class:^(LibreWolf)$
|
||||||
|
|
||||||
# windowrule = noscreenshare, class:^(Bitwarden)$
|
windowrule = noscreenshare, class:^(Bitwarden)$
|
||||||
# windowrule = noscreenshare, class:^(org.telegram.desktop)$
|
windowrule = noscreenshare, class:^(org.telegram.desktop)$
|
||||||
|
|
||||||
windowrule = float, class:^(Bitwarden)$
|
windowrule = float, class:^(Bitwarden)$
|
||||||
windowrule = float, class:^(cmst)$
|
windowrule = float, class:^(cmst)$
|
||||||
|
|||||||
@@ -199,8 +199,8 @@ misc { # {{{
|
|||||||
# no_direct_scanout = true
|
# no_direct_scanout = true
|
||||||
# hide_cursor_on_touch = true
|
# hide_cursor_on_touch = true
|
||||||
mouse_move_focuses_monitor = true
|
mouse_move_focuses_monitor = true
|
||||||
render_ahead_of_time = false
|
# render_ahead_of_time = false
|
||||||
render_ahead_safezone = 1
|
# render_ahead_safezone = 1
|
||||||
# cursor_zoom_factor = 1.0
|
# cursor_zoom_factor = 1.0
|
||||||
# cursor_zoom_rigid = false
|
# cursor_zoom_rigid = false
|
||||||
allow_session_lock_restore = true
|
allow_session_lock_restore = true
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
"disk",
|
"disk",
|
||||||
"custom/plugged",
|
"custom/plugged",
|
||||||
"battery",
|
"battery",
|
||||||
"custom/record",
|
// "custom/record",
|
||||||
"wireplumber",
|
"wireplumber",
|
||||||
"custom/microphone",
|
"custom/microphone",
|
||||||
"backlight",
|
"backlight",
|
||||||
@@ -127,14 +127,14 @@
|
|||||||
"format": "🖴 {percentage_used}%",
|
"format": "🖴 {percentage_used}%",
|
||||||
"format-alt": "🖴 {used}/{total}"
|
"format-alt": "🖴 {used}/{total}"
|
||||||
},
|
},
|
||||||
"custom/record": {
|
/* "custom/record": {
|
||||||
// SIGRTMIN+{N}, 2 is 36 in killall
|
// SIGRTMIN+{N}, 2 is 36 in killall
|
||||||
"signal": 2,
|
"signal": 2,
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"exec": "~/.config/waybar/scripts/record.sh",
|
"exec": "~/.config/waybar/scripts/record.sh",
|
||||||
"format": "{}"
|
"format": "{}"
|
||||||
},
|
}, */
|
||||||
"wireplumber": {
|
"wireplumber": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format": "{node_name}",
|
"tooltip-format": "{node_name}",
|
||||||
|
|||||||
+69
-21
@@ -6,14 +6,20 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-family: HackNerdFont;
|
font-family: HackNerdFont;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #2B2A33;
|
background: #2B2A33;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#workspaces button { padding: 0 3px; }
|
#workspaces button {
|
||||||
#workspaces button.active { background-color: #446688; }
|
padding: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
background-color: #446688;
|
||||||
|
}
|
||||||
|
|
||||||
#submap {
|
#submap {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
@@ -21,34 +27,68 @@ window#waybar {
|
|||||||
background-color: #882222;
|
background-color: #882222;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray, #bluetooth, #network, #network.eth, #cpu, #memory, #disk, #custom-record, #wireplumber, #custom-microphone, #backlight, #language, #custom-plugged, #battery, #custom-clock {
|
#tray,
|
||||||
|
#bluetooth,
|
||||||
|
#network,
|
||||||
|
#network.eth,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#wireplumber,
|
||||||
|
#custom-microphone,
|
||||||
|
#backlight,
|
||||||
|
#language,
|
||||||
|
#custom-plugged,
|
||||||
|
#battery,
|
||||||
|
#custom-clock {
|
||||||
margin: 0 3px;
|
margin: 0 3px;
|
||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth, #network, #network.eth {
|
#bluetooth,
|
||||||
|
#network,
|
||||||
|
#network.eth {
|
||||||
border-bottom: 1px solid #EE99EE;
|
border-bottom: 1px solid #EE99EE;
|
||||||
}
|
}
|
||||||
#bluetooth { margin-left: 6px; }
|
|
||||||
#network.eth { margin-right: 6px; }
|
|
||||||
|
|
||||||
#cpu, #memory, #disk, #custom-plugged, #battery{
|
#bluetooth {
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.eth {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#custom-plugged,
|
||||||
|
#battery {
|
||||||
border-bottom: 1px solid #44CC44;
|
border-bottom: 1px solid #44CC44;
|
||||||
}
|
}
|
||||||
#cpu { margin-left: 6px; }
|
|
||||||
#battery { margin-right: 6px; }
|
|
||||||
|
|
||||||
#custom-record {
|
#cpu {
|
||||||
border-bottom: 1px solid #00BBFF;
|
margin-left: 6px;
|
||||||
}
|
}
|
||||||
#custom-record { margin-left: 6px; }
|
|
||||||
#custom-record { margin-right: 6px; }
|
|
||||||
|
|
||||||
#wireplumber, #custom-microphone, #backlight, #language {
|
#battery {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber,
|
||||||
|
#custom-microphone,
|
||||||
|
#backlight,
|
||||||
|
#language {
|
||||||
border-bottom: 1px solid #BBCCFF;
|
border-bottom: 1px solid #BBCCFF;
|
||||||
}
|
}
|
||||||
#wireplumber { margin-left: 6px; }
|
|
||||||
#language { margin-right: 6px; }
|
#wireplumber {
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#custom-plugged {
|
#custom-plugged {
|
||||||
@@ -56,16 +96,24 @@ window#waybar {
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning, #custom-microphone.muted, #wireplumber.muted
|
#battery.warning,
|
||||||
{ background-color: #886600; }
|
#custom-microphone.muted,
|
||||||
|
#wireplumber.muted {
|
||||||
|
background-color: #886600;
|
||||||
|
}
|
||||||
|
|
||||||
#battery.critical, #custom-microphone.unknown
|
#battery.critical,
|
||||||
{ background-color: #880000; }
|
#custom-microphone.unknown {
|
||||||
|
background-color: #880000;
|
||||||
|
}
|
||||||
|
|
||||||
#custom-clock { margin-right: 0; }
|
#custom-clock {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user