Compare commits
2 Commits
e314363e8b
...
a91f225f08
| Author | SHA1 | Date | |
|---|---|---|---|
| a91f225f08 | |||
| 6d5236d8dd |
@@ -3,6 +3,7 @@ map = vim.keymap.set
|
||||
vim.g.termguicolors = true
|
||||
vim.g.netrw_keepdir = 1
|
||||
vim.g.netrw_winsize = 30
|
||||
vim.g.netrw_liststyle = 3
|
||||
vim.g.netrw_browse_split = 4
|
||||
vim.o.nu = true
|
||||
vim.o.swapfile = false
|
||||
@@ -18,9 +19,6 @@ vim.o.clipboard = "unnamedplus"
|
||||
vim.o.foldmethod = "expr"
|
||||
vim.o.foldlevel = 99
|
||||
vim.o.completeopt = "menuone,noselect,fuzzy,nosort"
|
||||
vim.opt.listchars:append("tab:> ")
|
||||
vim.opt.shortmess:append("c")
|
||||
vim.o.list = true
|
||||
vim.o.undofile = true
|
||||
vim.o.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir"
|
||||
vim.cmd.colorscheme("retrobox")
|
||||
@@ -52,14 +50,20 @@ vim.pack.add({
|
||||
{ src = 'https://github.com/ibhagwan/fzf-lua' },
|
||||
{ src = 'https://github.com/neovim/nvim-lspconfig' },
|
||||
{ src = 'https://github.com/echasnovski/mini.nvim' },
|
||||
{ src = 'https://github.com/sheerun/vim-polyglot' },
|
||||
{ src = 'https://github.com/romus204/tree-sitter-manager.nvim' },
|
||||
{ src = 'https://github.com/xiyaowong/transparent.nvim' },
|
||||
{ src = "https://github.com/rebelot/kanagawa.nvim" },
|
||||
{ src = "https://github.com/lukas-reineke/indent-blankline.nvim" }
|
||||
})
|
||||
|
||||
require("terminal")
|
||||
require("mini.completion").setup()
|
||||
require('mini.statusline').setup({})
|
||||
require("tree-sitter-manager").setup()
|
||||
require("ibl").setup({
|
||||
indent = { char = "│" },
|
||||
scope = { show_start = false, show_end = false },
|
||||
})
|
||||
require('kanagawa').setup({
|
||||
commentStyle = { italic = false },
|
||||
keywordStyle = { italic = false },
|
||||
@@ -74,6 +78,7 @@ require('kanagawa').setup({
|
||||
end,
|
||||
})
|
||||
vim.cmd.colorscheme('kanagawa')
|
||||
vim.api.nvim_set_hl(0, "WinSeparator", { fg = "#54546D" })
|
||||
|
||||
-- Lsp specific, uses nvim-lspconfigs with the below
|
||||
vim.lsp.enable({ "gopls", "ols" })
|
||||
@@ -119,5 +124,3 @@ vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
vim.fn.setpos(".", save_cursor)
|
||||
end,
|
||||
})
|
||||
|
||||
require("terminal")
|
||||
|
||||
@@ -0,0 +1,133 @@
|
||||
;==========================================================
|
||||
; Polybar config - Qogir themed
|
||||
; Place at ~/.config/polybar/config.ini
|
||||
;==========================================================
|
||||
|
||||
[colors]
|
||||
background = #282A33
|
||||
background-alt = #3c3c3c
|
||||
foreground = #d3dae3
|
||||
foreground-alt = #000000
|
||||
accent = #5294e2
|
||||
accent-alt = #6ba0e8
|
||||
red = #e35b5b
|
||||
green = #98c379
|
||||
yellow = #e5c07b
|
||||
disabled = #707880
|
||||
|
||||
[bar/main]
|
||||
width = 100%
|
||||
height = 35px
|
||||
radius = 0
|
||||
fixed-center = true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 0px
|
||||
line-color = ${colors.accent}
|
||||
|
||||
border-size = 0px
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator = "|"
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = "JetBrainsMono Nerd Font:size=14;3"
|
||||
font-1 = "JetBrainsMono Nerd Font:size=14;3"
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
modules-right = filesystem pulseaudio memory cpu eth date tray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
;==========================================================
|
||||
; Workspaces
|
||||
;==========================================================
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = " %name% "
|
||||
label-active-background = ${colors.accent}
|
||||
label-active-foreground = ${colors.background}
|
||||
label-active-underline = ${colors.accent-alt}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = " %name% "
|
||||
label-occupied-foreground = #ffffff
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = " %name% "
|
||||
label-urgent-background = ${colors.red}
|
||||
label-urgent-foreground = ${colors.background}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = " %name% "
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Focused window title - focus indicator
|
||||
;==========================================================
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title%
|
||||
label-foreground = #ffffff
|
||||
label-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Date / time
|
||||
;==========================================================
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
;date = %Y-%m-%d %H:%M:%S
|
||||
date = %Y-%m-%d %H:%M
|
||||
date-alt = %H:%M
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.foreground}
|
||||
label-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Pulseaudio
|
||||
;==========================================================
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.accent}
|
||||
format-volume = <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
label-volume-padding = 1
|
||||
|
||||
label-muted = "MUTED"
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
label-muted-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Pulseaudio
|
||||
;==========================================================
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
tray-maxsize = 16
|
||||
tray-padding = 4
|
||||
tray-background = ${colors.background}
|
||||
|
||||
;==========================================================
|
||||
; Settings
|
||||
;==========================================================
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = false
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
pkill -x polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
polybar main &
|
||||
@@ -0,0 +1,142 @@
|
||||
configuration {
|
||||
display-run: "# ";
|
||||
display-drun: "App ";
|
||||
font: "Inter 14";
|
||||
auto-select: false;
|
||||
terminal: "terminator";
|
||||
run-shell-command: "{terminal} -e \"bash -c '{cmd};bash'\"";
|
||||
separator-style: "solid";
|
||||
show-icons: true;
|
||||
kb-row-last: "";
|
||||
kb-row-first: "";
|
||||
kb-move-front: "Home";
|
||||
kb-move-end: "End";
|
||||
kb-element-next: "Alt+Tab";
|
||||
kb-element-prev: "Alt+Shift+Tab";
|
||||
kb-row-select: "Tab";
|
||||
kb-row-down: "Control+n";
|
||||
kb-row-up: "Control+p";
|
||||
kb-clear-line: "Control+a";
|
||||
click-to-exit: false;
|
||||
disable-history: false;
|
||||
run,drun {
|
||||
fallback-icon: "exec";
|
||||
}
|
||||
}
|
||||
|
||||
window {
|
||||
width: 700px;
|
||||
background-color: #282A33;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
children: [ vertbox ];
|
||||
orientation: vertical;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
mode-switcher {
|
||||
margin: 0;
|
||||
expand: true;
|
||||
}
|
||||
|
||||
button {
|
||||
font: "Inter 13";
|
||||
expand: false;
|
||||
padding: 3px 15px 7px 20px;
|
||||
text-color: #707880;
|
||||
border: 2px 0 0 0;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
button selected.normal {
|
||||
text-color: #d3dae3;
|
||||
border-color: #5294e2;
|
||||
border: 2px 0 0 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
error-message {
|
||||
border: 0;
|
||||
background-color: #282A33;
|
||||
padding: 10px 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
font: "Inter 15";
|
||||
background-color: #282A33;
|
||||
border-color: #1c1c1c;
|
||||
border: 0 0 1px solid 0;
|
||||
padding: 10px 15px;
|
||||
children: [ prompt, entry, num-filtered-rows, textbox-slash, num-rows ];
|
||||
}
|
||||
|
||||
textbox-slash {
|
||||
padding: 0 5px;
|
||||
content: "/";
|
||||
expand: false;
|
||||
text-color: #707880;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "";
|
||||
text-color: #d3dae3;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: #5294e2;
|
||||
}
|
||||
|
||||
num-filtered-rows,
|
||||
num-rows {
|
||||
text-color: #707880;
|
||||
}
|
||||
|
||||
listview {
|
||||
scrollbar: false;
|
||||
expand: true;
|
||||
border: 0 0 1px 0;
|
||||
border-color: #1c1c1c;
|
||||
padding: 0;
|
||||
background-color: #282A33;
|
||||
children: [element-icon, element-text];
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
handle-color: #707880;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
toolbar {
|
||||
orientation: horizontal;
|
||||
children: [ mode-switcher ];
|
||||
expand: false;
|
||||
padding: 0 5px 3px 0;
|
||||
background-color: #282A33;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 9px 10px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
element.normal.normal,
|
||||
element.normal.urgent,
|
||||
element.normal.active,
|
||||
element.alternate.normal,
|
||||
element.alternate.urgent,
|
||||
element.alternate.active {
|
||||
background-color: #282A33;
|
||||
text-color: #d3dae3;
|
||||
}
|
||||
|
||||
element.selected.normal,
|
||||
element.selected.urgent,
|
||||
element.selected.active {
|
||||
background-color: #282A33;
|
||||
text-color: #d3dae3;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
padding: 0 7px 0 0;
|
||||
}
|
||||
@@ -90,6 +90,8 @@ if [ "$DO_LINKS" = true ]; then
|
||||
link_file "$DOTFILES_DIR/config/nvim" "$HOME/.config/nvim"
|
||||
link_file "$DOTFILES_DIR/config/gitu" "$HOME/.config/gitu"
|
||||
link_file "$DOTFILES_DIR/config/lf" "$HOME/.config/lf"
|
||||
link_file "$DOTFILES_DIR/config/polybar" "$HOME/.config/polybar"
|
||||
link_file "$DOTFILES_DIR/config/rofi" "$HOME/.config/rofi"
|
||||
|
||||
echo ""
|
||||
echo "🧾 Summary: $CREATED symlink(s) created or fixed, $SKIPPED skipped."
|
||||
@@ -152,6 +154,7 @@ if [ "$DO_INSTALL" = true ]; then
|
||||
ca-certificates gnupg fuse rsync fish-shell
|
||||
noto-fonts-ttf noto-fonts-emoji go xdotool wmctrl
|
||||
kanata tree-sitter-cli gitu polybar rofi
|
||||
universal-ctags
|
||||
)
|
||||
|
||||
MISSING_PACKAGES=()
|
||||
|
||||
Reference in New Issue
Block a user