hypr: add clipboard manger

This commit is contained in:
thomasabishop 2024-03-28 14:40:10 +00:00
parent f9c52d5fd3
commit 138a00800a
2 changed files with 11 additions and 3 deletions

View file

@ -7,6 +7,7 @@ monitor=eDP-1,preferred,3440x1648,1 # ThinkPad
# Execute your favorite apps at launch
exec-once = hyprlock
exec-once = clipse -listen
exec-once = waybar & hyprpaper & swaync
exec-once=hyperctl setcursor Breeze 24
@ -16,11 +17,16 @@ exec-once=hyperctl setcursor Breeze 24
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
windowrulev2 = float,class:(floating) # ensure you have defined a floating window class
# Set programs that you use
$terminal = kitty
$fileManager = nemo
$menu = tofi-drun --drun-launch=true
# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
@ -138,13 +144,16 @@ bind = $mainMod, Q, exec, $terminal -e tmux
bind = $mainMod, R, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
# bind = $mainMod, V, togglefloating,
bind = ALT, SPACE , exec, $menu
bind = ALT, B, exec, $HOME/dotfiles/scripts/third-party/tofi_window_switch.sh
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, T, togglesplit, # dwindle
bind = $mainMod, F, fullscreen, 1
bind = ALT, TAB, exec, $HOME/.cargo/bin/window_switcher
bind = $mainMod, V, exec, kitty --class floating -e zsh -c 'clipse $PPID' # bind the open clipboard operation to a nice key.
bind=SUPER,TAB,workspace,previous

View file

@ -10,8 +10,7 @@ opt.softtabstop = 4
opt.shiftwidth = 4
opt.colorcolumn = "80"
opt.textwidth = 80
-- opt.clipboard = "unnamedplus"
opt.clipboard:append("unnamedplus")
opt.clipboard = "unnamedplus"
opt.cursorline = true
opt.background = "dark"
opt.mouse = ""