sway binds, nvim lualine changes

This commit is contained in:
Marco Thomas
2022-09-12 22:55:26 +02:00
parent b94713c5f9
commit a9cb2e604c
4 changed files with 30 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ telescope.setup({
}
}
})
map("n", "<C-f>", "<cmd> Telescope find_files<CR>", default_opts) -- Show files
map("n", "<C-f>", "<cmd> Telescope find_files hidden=true<CR>", default_opts) -- Show files
map("n", "<C-s>", "<cmd> Telescope live_grep<CR>", default_opts) -- Grep through current directory
map("n", "<C-k>", "<cmd> Telescope keymaps<CR>", default_opts) -- Show all keys

View File

@@ -18,6 +18,23 @@ require('lualine').setup({
-- lualine comes with 'everforest' theme
theme = 'everforest',
},
tabline = {
lualine_a = {
{
'tabs',
mode = 2
},
},
lualine_b = {},
lualine_c = {
require('nvim-navic').get_location
},
lualine_x = {
'lsp_progress'
},
lualine_y = {},
lualine_z = {}
},
-- all sections from left to right
sections = {
lualine_a = {
@@ -33,10 +50,9 @@ require('lualine').setup({
'filename',
path = 1,
},
require('nvim-navic').get_location
-- require('nvim-navic').get_location
},
lualine_x = {
'lsp_progress',
{
'diagnostics',
diagnostics_color = {

View File

@@ -238,6 +238,16 @@ bindswitch --reload --locked lid:off output $laptop enable
for_window [app_id="evolution"] move container to workspace number $ws8
for_window [app_id="org.keepassxc.KeePassXC"] move container to workspace number $ws9
# Open application desired for that window
# echo 'tmux a || tmux' > ~/.local/bin/tmux_detect.sh
bindsym $mod+Ctrl+1 exec alacritty --command bash tmux_detect.sh
bindsym $mod+Ctrl+2 exec firefox
bindsym $mod+Ctrl+3 exec discord
bindsym $mod+Ctrl+4 exec spotify
bindsym $mod+Ctrl+8 exec evolution
bindsym $mod+Ctrl+9 exec keepassxc
# Status Bar
bar {
swaybar_command waybar

View File

@@ -33,6 +33,7 @@ esac
# ============================== Aliases
alias c='clear'
alias t='tmux a || tmux'
alias l='ls -lFh' #size,show type,human readable
alias la='ls -lAFh' #long list,show almost all,show type,human readable