Compare commits
8 Commits
6f574b81e0
...
a598dcd1fc
| Author | SHA1 | Date | |
|---|---|---|---|
| a598dcd1fc | |||
| 95d80c31d5 | |||
| 51515037b3 | |||
| 0a6a42e0b7 | |||
| 1820a8eff5 | |||
| e43d39b957 | |||
| f83ad4c21e | |||
| 0659773daf |
@ -38,11 +38,6 @@ return {
|
|||||||
"lukas-reineke/lsp-format.nvim",
|
"lukas-reineke/lsp-format.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
local on_attach = function(client)
|
|
||||||
require("lsp-format").on_attach(client)
|
|
||||||
end
|
|
||||||
|
|
||||||
require("lspconfig").gopls.setup { on_attach = on_attach }
|
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -28,10 +28,11 @@ exec xrandr --output DP-2 --primary
|
|||||||
|
|
||||||
bar {
|
bar {
|
||||||
id 1
|
id 1
|
||||||
|
mode hide
|
||||||
tray_output none
|
tray_output none
|
||||||
font Input Nerd Font 9
|
font Hack Nerd Font 9
|
||||||
status_command "~/Scripts/sway/bar.sh"
|
status_command "~/Scripts/sway/bar.sh"
|
||||||
gaps 0 6 0 0
|
gaps 0 0 0 0
|
||||||
colors {
|
colors {
|
||||||
# focused_workspace #7E9CD8 #7E9CD8 #AAAAAA
|
# focused_workspace #7E9CD8 #7E9CD8 #AAAAAA
|
||||||
}
|
}
|
||||||
@ -76,6 +77,9 @@ bindsym --to-code $mod+m exec $term msg create-window --class in_scratchpad -e n
|
|||||||
bindsym --to-code $mod+e exec $term msg create-window -e neomutt || $term -e neomutt
|
bindsym --to-code $mod+e exec $term msg create-window -e neomutt || $term -e neomutt
|
||||||
bindsym --to-code $mod+n exec $term msg create-window -e newsboat || $term -e newsboat
|
bindsym --to-code $mod+n exec $term msg create-window -e newsboat || $term -e newsboat
|
||||||
|
|
||||||
|
# toggle showing bar
|
||||||
|
bindsym --to-code $mod+minus exec "swaymsg bar 1 mode toggle"
|
||||||
|
|
||||||
# open windows with id "in_scratchpad" in scratchpad
|
# open windows with id "in_scratchpad" in scratchpad
|
||||||
for_window [app_id="in_scratchpad"] move container to scratchpad, focus
|
for_window [app_id="in_scratchpad"] move container to scratchpad, focus
|
||||||
|
|
||||||
|
|||||||
@ -57,6 +57,8 @@ set -g pane-active-border-style "fg=#938AA9"
|
|||||||
|
|
||||||
# status bar
|
# status bar
|
||||||
set-option -g status-style bg=default
|
set-option -g status-style bg=default
|
||||||
|
set -g message-command-style bg=default
|
||||||
|
set -g message-style bg=default
|
||||||
set -g status-left '| #S | '
|
set -g status-left '| #S | '
|
||||||
set -g status-right ''
|
set -g status-right ''
|
||||||
set -g status-left-length 500
|
set -g status-left-length 500
|
||||||
|
|||||||
Reference in New Issue
Block a user