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,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"useCustomTheme": false,
|
"useCustomTheme": true,
|
||||||
"TitleFore": "#ffffff",
|
"TitleFore": "#6F4CBC",
|
||||||
"TitleBack": "#6F4CBC",
|
"TitleBack": "#1e1e2e",
|
||||||
"TitleInfo": "#3498db",
|
"TitleInfo": "#3498db",
|
||||||
"NormalTitle": "#ffffff",
|
"NormalTitle": "#ffffff",
|
||||||
"DimmedTitle": "#808080",
|
"DimmedTitle": "#808080",
|
||||||
@@ -26,3 +26,4 @@
|
|||||||
"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
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ o.undofile = false -- enable/disable undo file creatio
|
|||||||
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
|
||||||
|
|||||||
@@ -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