sway: use tabs

This commit is contained in:
Marco Thomas
2022-07-06 23:54:38 +02:00
parent dc6849650f
commit bfae7de93a
5 changed files with 15 additions and 14 deletions

View File

@@ -1,11 +1,6 @@
env:
TERM: alacritty
window:
padding:
x: 0
y: 0
font:
normal:
family: SFMono Nerd Font

View File

@@ -71,8 +71,11 @@ input type:pointer {
}
input type:keyboard {
# Umlauts on RAlt + {a,u,o,s}
xkb_layout eu
# Make Caps Lock an additional Esc - https://man.archlinux.org/man/xkeyboard-config.7
xkb_options caps:escape
# Keyboard repeats
repeat_delay 300
repeat_rate 50
}
@@ -168,14 +171,13 @@ input type:keyboard {
bindsym $mod+Control+$right move workspace to output right
# Layout stuff:
# titlebar_border_thickness 0
# titlebar_padding 0
workspace_layout stacking
titlebar_padding 1
workspace_layout tabbed
title_align center
default_border pixel 0
default_floating_border pixel 0
# hide title and border, if only one application open
hide_edge_borders --i3 smart
# hide_edge_borders --i3 smart
# just show gaps between windows
# gaps inner 5

View File

@@ -51,7 +51,7 @@ set backspace=indent,eol,start " always delete with backspace
set wildmenu " autocomplete :e
set scrolloff=5 " minimum lines above or below the cursor
let g:ctrlp_show_hidden = 1
let g:ctrlp_show_hidden = 1 " show hidden files in ctrlp menus
" ============================== Statusline
set laststatus=1 " 1: only if there are at least two windows
@@ -85,6 +85,11 @@ let g:netrw_liststyle = 3 " Tree-like structure
let g:netrw_banner = 0 " Remove useless banner at the top of netrw
" ============================== Macros and Mappings
" open fuzzy file browser
map <C-x><C-f> :CtrlP<CR>
" open fuzzy file search
map <C-s> :CtrlPLine<CR>
" save
map <C-x><C-s> :w<CR>
" C-/ to hide search results
map <C-_> :noh<CR>

View File

@@ -16,11 +16,10 @@
"position": "top",
// If height property would be not present, it'd be calculated dynamically
"height": 36,
"height": 37,
"modules-left": [
"sway/workspaces",
"sway/window"
"sway/workspaces"
],
"modules-center": [
],

View File

@@ -176,7 +176,7 @@ export FZF_DEFAULT_OPTS='
--bind=tab:down
--bind=btab:up
--color=fg:#657B83,bg:#FDF6E3,hl:#859900
--color=fg+:#657B83,bg+:#FDF6E3,hl+:#859900
--color=fg+:#657B83,bg+:#eee8d5,hl+:#859900
--color=info:#657B83,prompt:#657B83,pointer:#657B83
--color=marker:#657B83,spinner:#657B83,header:#657B83'