Added countdown to zshrc, fix kitty sudo issue, and make packer work again after I broke it.

main
felixm 2023-11-22 22:48:37 -05:00
parent 0d31d01694
commit 4ec53a64aa
8 changed files with 138 additions and 10 deletions

View File

@ -1593,6 +1593,8 @@ enable_audio_bell no
# linux_display_server auto
shell_integration no-sudo
#: Choose between Wayland and X11 backends. By default, an appropriate
#: backend based on the system state is chosen automatically. Set it
#: to x11 or wayland to force the choice. Changing this option by

View File

@ -1,3 +1,4 @@
require('plugins')
require('config_lualine')
require('config_mappings')
require('config_telescope')
@ -5,7 +6,6 @@ require('config_treesitter')
require('config_lspconfig')
require('plugin_gpt')
require('plugin_votion')
require('plugins')
-- Global options
vim.g.mapleader = ","

View File

@ -1,5 +1,5 @@
require('nvim-treesitter.configs').setup {
ensure_installed = {"python", "lua", "rust", "markdown", "c"}, -- Install these parsers
ensure_installed = {"python", "lua", "rust", "markdown", "c", "yaml"}, -- Install these parsers
highlight = {
enable = true,
additional_vim_regex_highlighting = false

View File

@ -49,8 +49,8 @@ local function save_profiles(threshold)
end
time([[Luarocks path setup]], true)
local package_path_str = "/home/felixm/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?.lua;/home/felixm/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?/init.lua;/home/felixm/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?.lua;/home/felixm/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/felixm/.cache/nvim/packer_hererocks/2.1.1692616192/lib/lua/5.1/?.so"
local package_path_str = "/home/felixm/.cache/nvim/packer_hererocks/2.1.1697887905/share/lua/5.1/?.lua;/home/felixm/.cache/nvim/packer_hererocks/2.1.1697887905/share/lua/5.1/?/init.lua;/home/felixm/.cache/nvim/packer_hererocks/2.1.1697887905/lib/luarocks/rocks-5.1/?.lua;/home/felixm/.cache/nvim/packer_hererocks/2.1.1697887905/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/felixm/.cache/nvim/packer_hererocks/2.1.1697887905/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str
end
@ -134,14 +134,14 @@ _G.packer_plugins = {
}
time([[Defining packer_plugins]], false)
-- Config for: which-key.nvim
time([[Config for which-key.nvim]], true)
try_loadstring("\27LJ\2\nD\0\0\2\0\4\0\t6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0)\1,\1=\1\3\0K\0\1\0\15timeoutlen\ftimeout\6o\bvim\0", "config", "which-key.nvim")
time([[Config for which-key.nvim]], false)
-- Config for: oil.nvim
time([[Config for oil.nvim]], true)
try_loadstring("\27LJ\2\n1\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\boil\frequire\0", "config", "oil.nvim")
time([[Config for oil.nvim]], false)
-- Config for: which-key.nvim
time([[Config for which-key.nvim]], true)
try_loadstring("\27LJ\2\nD\0\0\2\0\4\0\t6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0)\1,\1=\1\3\0K\0\1\0\15timeoutlen\ftimeout\6o\bvim\0", "config", "which-key.nvim")
time([[Config for which-key.nvim]], false)
_G._packer.inside_compile = false
if _G._packer.needs_bufread == true then

@ -0,0 +1 @@
Subproject commit 4c51eb811290375d0c67b36ee07612af4fae40c0

1
config/qtile/qtile_extras Symbolic link
View File

@ -0,0 +1 @@
qtile-extras/qtile_extras

View File

@ -0,0 +1,111 @@
* {
bg-col: #303446;
bg-col-light: #303446;
border-col: #303446;
selected-col: #303446;
blue: #8caaee;
fg-col: #c6d0f5;
fg-col2: #e78284;
grey: #737994;
width: 600;
font: "JetBrainsMono Nerd Font 14";
}
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}
message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}

View File

@ -29,6 +29,18 @@ alias icat="kitty +kitten icat"
alias vt="nvim -c VotionOpen"
alias vj="daily-journal"
# functions
countdown() {
local secs="$1"
while [ $secs -gt 0 ]; do
echo -ne "Time remaining: $secs\033[0K\r"
sleep 1
: $((secs--))
done
echo "\nTime's up!"
mpv ~/syn/xmd/bell.mp3 --really-quiet
}
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
@ -59,10 +71,11 @@ DISABLE_AUTO_UPDATE="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git vi-mode fzf extract)
plugins=(git vi-mode fzf extract zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
bindkey '^ ' autosuggest-accept
# Customize to your needs...
export EDITOR=/usr/bin/vim
export TERM="xterm-256color" # required for st to work properly in some situations