mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Adds espanso text expander and updates install packages, walker updates.
This commit is contained in:
@@ -1,28 +1,29 @@
|
|||||||
{
|
{
|
||||||
"useCustomTheme": false,
|
"useCustomTheme": true,
|
||||||
"TitleFore": "#ffffff",
|
"TitleFore": "#6F4CBC",
|
||||||
"TitleBack": "#6F4CBC",
|
"TitleBack": "#1e1e2e",
|
||||||
"TitleInfo": "#3498db",
|
"TitleInfo": "#3498db",
|
||||||
"NormalTitle": "#ffffff",
|
"NormalTitle": "#ffffff",
|
||||||
"DimmedTitle": "#808080",
|
"DimmedTitle": "#808080",
|
||||||
"SelectedTitle": "#FF69B4",
|
"SelectedTitle": "#FF69B4",
|
||||||
"NormalDesc": "#808080",
|
"NormalDesc": "#808080",
|
||||||
"DimmedDesc": "#808080",
|
"DimmedDesc": "#808080",
|
||||||
"SelectedDesc": "#FF69B4",
|
"SelectedDesc": "#FF69B4",
|
||||||
"StatusMsg": "#2ecc71",
|
"StatusMsg": "#2ecc71",
|
||||||
"PinIndicatorColor": "#FFD700",
|
"PinIndicatorColor": "#FFD700",
|
||||||
"SelectedBorder": "#3498db",
|
"SelectedBorder": "#3498db",
|
||||||
"SelectedDescBorder": "#3498db",
|
"SelectedDescBorder": "#3498db",
|
||||||
"FilteredMatch": "#ffffff",
|
"FilteredMatch": "#ffffff",
|
||||||
"FilterPrompt": "#2ecc71",
|
"FilterPrompt": "#2ecc71",
|
||||||
"FilterInfo": "#3498db",
|
"FilterInfo": "#3498db",
|
||||||
"FilterText": "#ffffff",
|
"FilterText": "#ffffff",
|
||||||
"FilterCursor": "#FFD700",
|
"FilterCursor": "#FFD700",
|
||||||
"HelpKey": "#999999",
|
"HelpKey": "#999999",
|
||||||
"HelpDesc": "#808080",
|
"HelpDesc": "#808080",
|
||||||
"PageActiveDot": "#3498db",
|
"PageActiveDot": "#3498db",
|
||||||
"PageInactiveDot": "#808080",
|
"PageInactiveDot": "#808080",
|
||||||
"DividerDot": "#3498db",
|
"DividerDot": "#3498db",
|
||||||
"PreviewedText": "#ffffff",
|
"PreviewedText": "#ffffff",
|
||||||
"PreviewBorder": "#3498db"
|
"PreviewBorder": "#3498db"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,7 @@
|
|||||||
# --- Auto-restart
|
# --- Auto-restart
|
||||||
|
|
||||||
# Enable/disable the config auto-reload after a file change is detected.
|
# Enable/disable the config auto-reload after a file change is detected.
|
||||||
# auto_restart: false
|
auto_restart: true
|
||||||
|
|
||||||
# --- Clipboard threshold
|
# --- Clipboard threshold
|
||||||
|
|
||||||
# Because injecting long texts char-by-char is a slow operation, espanso automatically
|
# Because injecting long texts char-by-char is a slow operation, espanso automatically
|
||||||
@@ -53,7 +53,7 @@ general {
|
|||||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||||
allow_tearing = false
|
allow_tearing = false
|
||||||
|
|
||||||
layout = dwindle # or master
|
layout = master # dwindle or master
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
@@ -125,7 +125,7 @@ dwindle {
|
|||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
master {
|
master {
|
||||||
new_status = master
|
new_status = slave
|
||||||
mfact = 0.50 # Set master window to be 50%
|
mfact = 0.50 # Set master window to be 50%
|
||||||
orientation = left # set master to be on the right.
|
orientation = left # set master to be on the right.
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ bind = $mainMod, F, exec, $fileManager
|
|||||||
#bind = $mainMod, K, exec, $launch Komodo
|
#bind = $mainMod, K, exec, $launch Komodo
|
||||||
bind = $mainMod SHIFT, F, exec, $fileBrowser
|
bind = $mainMod SHIFT, F, exec, $fileBrowser
|
||||||
bind = $mainMod, G, exec, $pwa "https://git.housh.dev"
|
bind = $mainMod, G, exec, $pwa "https://git.housh.dev"
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
# NOTE: Do not bind apps to H, J, K, or L!
|
||||||
bind = $mainMod, M, exec, ~/.local/bin/toggle-waybar
|
bind = $mainMod, M, exec, ~/.local/bin/toggle-waybar
|
||||||
bind = $mainMod, N, exec, $terminal -e nvim
|
bind = $mainMod, N, exec, $terminal -e nvim
|
||||||
bind = $mainMod, P, exec, $pwa "https://pass.proton.me"
|
bind = $mainMod, P, exec, $pwa "https://pass.proton.me"
|
||||||
@@ -68,12 +68,16 @@ bind = $mainMod, H, movefocus, l
|
|||||||
bind = $mainMod, L, movefocus, r
|
bind = $mainMod, L, movefocus, r
|
||||||
bind = $mainMod, K, movefocus, u
|
bind = $mainMod, K, movefocus, u
|
||||||
bind = $mainMod, J, movefocus, d
|
bind = $mainMod, J, movefocus, d
|
||||||
|
|
||||||
# Move windows with mainMod + Shift
|
# Move windows with mainMod + Shift
|
||||||
bind = $mainMod SHIFT, H, movewindow, l
|
bind = $mainMod SHIFT, H, movewindow, l
|
||||||
|
#bind = $mainMod SHIFT, H, swapsplit
|
||||||
bind = $mainMod SHIFT, L, movewindow, r
|
bind = $mainMod SHIFT, L, movewindow, r
|
||||||
bind = $mainMod SHIFT, K, movewindow, u
|
bind = $mainMod SHIFT, K, movewindow, u
|
||||||
bind = $mainMod SHIFT, J, movewindow, d
|
bind = $mainMod SHIFT, J, movewindow, d
|
||||||
|
|
||||||
|
bind = $HYPER, J, togglesplit # dwindle
|
||||||
|
|
||||||
# FIX: Changes size of window, this works a different depending on if
|
# FIX: Changes size of window, this works a different depending on if
|
||||||
# the window is on the right or left of the screen.
|
# the window is on the right or left of the screen.
|
||||||
#
|
#
|
||||||
@@ -101,8 +105,8 @@ bind = $HYPER, 0, exec, ~/.local/bin/mv-all-workspaces-to-monitor 0
|
|||||||
bind = $HYPER, 1, exec, ~/.local/bin/mv-all-workspaces-to-monitor 1
|
bind = $HYPER, 1, exec, ~/.local/bin/mv-all-workspaces-to-monitor 1
|
||||||
|
|
||||||
# Move current workspace.
|
# Move current workspace.
|
||||||
bind = $HYPER, H, movecurrentworkspacetomonitor, 1
|
# bind = $HYPER, H, movecurrentworkspacetomonitor, 1
|
||||||
bind = $HYPER, L, movecurrentworkspacetomonitor, 0
|
# bind = $HYPER, L, movecurrentworkspacetomonitor, 0
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
|
|||||||
@@ -8,41 +8,41 @@ local fn = vim.fn
|
|||||||
|
|
||||||
vim.cmd.set("inccommand=split")
|
vim.cmd.set("inccommand=split")
|
||||||
o.filetype = "on"
|
o.filetype = "on"
|
||||||
o.updatetime = 500 -- faster completion
|
o.updatetime = 500 -- faster completion
|
||||||
o.timeoutlen = 800 -- time to wait for a mapped sequence to complete (in milliseconds)
|
o.timeoutlen = 800 -- time to wait for a mapped sequence to complete (in milliseconds)
|
||||||
o.ttimeoutlen = 300 -- Time in milliseconds to wait for a key code sequence to complete
|
o.ttimeoutlen = 300 -- Time in milliseconds to wait for a key code sequence to complete
|
||||||
o.backup = false -- creates a backup file
|
o.backup = false -- creates a backup file
|
||||||
o.swapfile = false -- enable/disable swap file creation
|
o.swapfile = false -- enable/disable swap file creation
|
||||||
o.dir = fn.stdpath("data") .. "/swp" -- swap file directory
|
o.dir = fn.stdpath("data") .. "/swp" -- swap file directory
|
||||||
o.undofile = false -- enable/disable undo file creation
|
o.undofile = false -- enable/disable undo file creation
|
||||||
o.undodir = fn.stdpath("data") .. "/undodir" -- set undo directory
|
o.undodir = fn.stdpath("data") .. "/undodir" -- set undo directory
|
||||||
o.history = 500 -- Use the 'history' option to set the number of lines from command mode that are remembered.
|
o.history = 500 -- Use the 'history' option to set the number of lines from command mode that are remembered.
|
||||||
o.hidden = true -- required to keep multiple buffers and open multiple buffers
|
o.hidden = true -- required to keep multiple buffers and open multiple buffers
|
||||||
o.clipboard = "unnamedplus" -- allows neovim to access the system clipboard
|
--o.clipboard = "unnamedplus" -- allows neovim to access the system clipboard
|
||||||
o.fileencoding = "utf-8" -- the encoding written to a file
|
o.fileencoding = "utf-8" -- the encoding written to a file
|
||||||
o.conceallevel = 0 -- so that `` is visible in markdown files
|
o.conceallevel = 0 -- so that `` is visible in markdown files
|
||||||
o.number = true -- set numbered lines
|
o.number = true -- set numbered lines
|
||||||
o.relativenumber = true -- set relative numbered lines
|
o.relativenumber = true -- set relative numbered lines
|
||||||
o.cmdheight = 1 -- space for displaying messages/commands
|
o.cmdheight = 1 -- space for displaying messages/commands
|
||||||
o.showmode = false -- we don't need to see things like -- INSERT -- anymore
|
o.showmode = false -- we don't need to see things like -- INSERT -- anymore
|
||||||
o.showtabline = 2 -- always show tabs
|
o.showtabline = 2 -- always show tabs
|
||||||
o.laststatus = 2 -- The value of this option influences when the last window will have a status line (2 always)
|
o.laststatus = 2 -- The value of this option influences when the last window will have a status line (2 always)
|
||||||
o.smartcase = true -- smart case
|
o.smartcase = true -- smart case
|
||||||
o.smartindent = true -- make indenting smarter again
|
o.smartindent = true -- make indenting smarter again
|
||||||
o.splitbelow = true -- force all horizontal splits to go below current window
|
o.splitbelow = true -- force all horizontal splits to go below current window
|
||||||
o.splitright = true -- force all vertical splits to go to the right of current window
|
o.splitright = true -- force all vertical splits to go to the right of current window
|
||||||
o.autoindent = true -- turn on auto indent.
|
o.autoindent = true -- turn on auto indent.
|
||||||
o.expandtab = true -- convert tabs to spaces
|
o.expandtab = true -- convert tabs to spaces
|
||||||
o.smarttab = true -- turn on smart tab
|
o.smarttab = true -- turn on smart tab
|
||||||
o.shiftwidth = 2 -- the number of spaces inserted for each indentation
|
o.shiftwidth = 2 -- the number of spaces inserted for each indentation
|
||||||
o.tabstop = 2 -- how many columns a tab counts for
|
o.tabstop = 2 -- how many columns a tab counts for
|
||||||
o.termguicolors = true -- set term gui colors (most terminals support this)
|
o.termguicolors = true -- set term gui colors (most terminals support this)
|
||||||
o.cursorline = true -- highlight the current line
|
o.cursorline = true -- highlight the current line
|
||||||
o.scrolloff = 20 -- Minimal number of screen lines to keep above and below the cursor
|
o.scrolloff = 20 -- Minimal number of screen lines to keep above and below the cursor
|
||||||
o.sidescrolloff = 5 -- The minimal number of columns to scroll horizontally
|
o.sidescrolloff = 5 -- The minimal number of columns to scroll horizontally
|
||||||
o.hlsearch = false -- highlight all matches on previous search pattern
|
o.hlsearch = false -- highlight all matches on previous search pattern
|
||||||
o.ignorecase = true -- ignore case in search patterns
|
o.ignorecase = true -- ignore case in search patterns
|
||||||
o.foldenable = false -- disable folding; enable with zi
|
o.foldenable = false -- disable folding; enable with zi
|
||||||
o.foldmethod = "expr"
|
o.foldmethod = "expr"
|
||||||
o.foldexpr = "nvim_treesitter#foldexpr()"
|
o.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
vim.cmd.set("nolist") -- don't show listchars.
|
vim.cmd.set("nolist") -- don't show listchars.
|
||||||
@@ -51,10 +51,10 @@ o.listchars = "eol:¬,tab:>·,trail:~,extends:>,precedes:<,space:␣"
|
|||||||
o.shortmess = o.shortmess + "c" -- prevent "pattern not found" messages
|
o.shortmess = o.shortmess + "c" -- prevent "pattern not found" messages
|
||||||
wo.colorcolumn = "99999"
|
wo.colorcolumn = "99999"
|
||||||
o.wildmode = "full"
|
o.wildmode = "full"
|
||||||
o.lazyredraw = false -- do not redraw screen while running macros
|
o.lazyredraw = false -- do not redraw screen while running macros
|
||||||
o.grepprg = "rg --hidden --vimgrep --smart-case --"
|
o.grepprg = "rg --hidden --vimgrep --smart-case --"
|
||||||
o.completeopt = { "menu", "menuone", "noselect", "noinsert" } -- A comma separated list of options for Insert mode completion
|
o.completeopt = { "menu", "menuone", "noselect", "noinsert" } -- A comma separated list of options for Insert mode completion
|
||||||
o.wildignorecase = true -- When set case is ignored when completing file names and directories
|
o.wildignorecase = true -- When set case is ignored when completing file names and directories
|
||||||
o.wildignore = [[
|
o.wildignore = [[
|
||||||
.git,.hg,.svn
|
.git,.hg,.svn
|
||||||
*.aux,*.out,*.toc
|
*.aux,*.out,*.toc
|
||||||
|
|||||||
@@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
systemctl --user enable --now hyprpaper.service
|
systemctl --user enable --now hyprpaper.service
|
||||||
systemctl --user enable --now hypridle.service
|
systemctl --user enable --now hypridle.service
|
||||||
|
espanso service register
|
||||||
|
sudo setcap "cap_dac_override+p" $(which espanso)
|
||||||
|
|||||||
@@ -52,7 +52,11 @@ yay -S --noconfirm \
|
|||||||
ttf-inconsolata-nerd
|
ttf-inconsolata-nerd
|
||||||
|
|
||||||
# Application launcher
|
# Application launcher
|
||||||
yay -S --noconfirm walker elephant
|
yay -S --noconfirm walker \
|
||||||
|
elephant \
|
||||||
|
elephant-calc \
|
||||||
|
elephant-symbols \
|
||||||
|
elephant-websearch
|
||||||
|
|
||||||
# Bluetooth management
|
# Bluetooth management
|
||||||
yay -S --noconfirm blueberry-wayland
|
yay -S --noconfirm blueberry-wayland
|
||||||
@@ -75,3 +79,6 @@ yay -S --noconfirm yazi nautilus
|
|||||||
|
|
||||||
# Email
|
# Email
|
||||||
yay -S --noconfirm thunderbird
|
yay -S --noconfirm thunderbird
|
||||||
|
|
||||||
|
# Text expander
|
||||||
|
yay -S --noconfirm espanso-wayland-git
|
||||||
|
|||||||
1
systemd/user/default.target.wants/espanso.service
Symbolic link
1
systemd/user/default.target.wants/espanso.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/home/michael/.config/systemd/user/espanso.service
|
||||||
11
systemd/user/espanso.service
Normal file
11
systemd/user/espanso.service
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=espanso
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/espanso launcher
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
@@ -127,8 +127,8 @@ set -ga status-right "#[bg=#{@thm_bg},fg=#{@thm_yellow}]#{?window_zoomed_flag,
|
|||||||
|
|
||||||
|
|
||||||
# bootstrap tpm
|
# bootstrap tpm
|
||||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
if "test ! -d ~/.config/tmux/plugins/tpm" \
|
||||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'"
|
||||||
|
|
||||||
# Configure Tmux
|
# Configure Tmux
|
||||||
set -g status-position top
|
set -g status-position top
|
||||||
@@ -163,4 +163,4 @@ set -g window-status-current-format " #I#{?#{!=:#{window_name},Window},: #W,} "
|
|||||||
set -g window-status-current-style "bg=#{@thm_peach},fg=#{@thm_bg},bold"
|
set -g window-status-current-style "bg=#{@thm_peach},fg=#{@thm_bg},bold"
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
force_keyboard_focus = false # forces keyboard forcus to stay in Walker
|
force_keyboard_focus = true # forces keyboard forcus to stay in Walker
|
||||||
close_when_open = true # close walker when invoking while already opened
|
close_when_open = true # close walker when invoking while already opened
|
||||||
selection_wrap = false # wrap list if at bottom or top
|
selection_wrap = false # wrap list if at bottom or top
|
||||||
global_argument_delimiter = "#" # query: firefox#https://benz.dev => part after delimiter will be ignored when querying. this should be the same as in the elephant config
|
global_argument_delimiter = "#" # query: firefox#https://benz.dev => part after delimiter will be ignored when querying. this should be the same as in the elephant config
|
||||||
|
|||||||
Reference in New Issue
Block a user