diff --git a/dotfiles/config/hypr/hyprland.conf b/dotfiles/config/hypr/hyprland.conf index 4f044de..5466a95 100644 --- a/dotfiles/config/hypr/hyprland.conf +++ b/dotfiles/config/hypr/hyprland.conf @@ -26,11 +26,15 @@ exec-once = fcitx5 --replace -d # input method exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.) exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.) exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland # hyprland init parameter +# exec-once = cliphist wipe # clear clipboard exec-once = /usr/lib/polkit-kde-authentication-agent-1 # root certifaction -exec = ~/.config/hypr/scripts/bgaction # swww wallpaper +exec-once = ~/.config/hypr/scripts/bgaction # swww wallpaper +exec-once = wl-paste --type text --watch cliphist store +exec-once = wl-paste --type image --watch cliphist store # exec-once = hyprpaper # wallpaper # exec-once = ~/.config/hypr/scripts/launch_bar # status bar # exec-once = nm-applet --indicator # Systray app for Network/Wifi +exec-once = udiskie & # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf @@ -152,17 +156,24 @@ windowrulev2 = opacity 0.8 1.0,class:^(obsidian)$ # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER +# $screen_file=~/.screenshot/screen_shot_$(date + "%Y-%m-%d_%H-%M-%S").png # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, kitty bind = $mainMod, R, exec, pkill wofi; wofi --show drun -bind = $mainMod, E, exec, kitty ranger +# bind = $mainMod, E, exec, kitty ranger +bind = $mainMod, E, exec, dolphin bind = $mainMod, I, exec, env DESKTOPINTEGRATION=false /usr/bin/obsidian %u --no-sandbox %U bind = $mainMod, K, exec, /usr/bin/logseq %U bind = $mainMod, L, exec, swaylock # Lock the screen bind = $mainMod, G, exec, google-chrome-stable bind = $mainMod, C, killactive, bind = $mainMod, M, exec, wlogout --protocol layer-shell # show the logout window +# bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy +# bind = $mainMod, U, exec, grim -g "$(slurp)" - | wl-copy +# bind = $mainMod SHIFT, U, exec, grim $screen_file +# bind = $mainMod, Y, exec, grim -g "$(slurp)" $screen_file +# bind = $mainMod SHIFT, Y, exec, grim - | wl-copy bind = $mainMod, F, togglefloating, bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 3e47c88..6515e2c 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -83,13 +83,13 @@ source $ZSH/oh-my-zsh.sh # User configuration # export MANPATH="/usr/local/man:$MANPATH" -export PATH="/home/lostecho/.local/bin:$PATH" +export PATH="/home/lostecho/.local/bin:/home/lostecho/.cargo/bin:$PATH" # You may need to manually set your language environment export LANG=en_US.UTF-8 export EDITOR=vim -# export all_proxy=http://192.168.31.40:7890 -# export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab +#export all_proxy=http://192.168.31.40:7890 +#export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab # Preferred editor for local and remote sessions # if [[ -n $SSH_CONNECTION ]]; then @@ -124,6 +124,22 @@ alias szsh="source ~/.zshrc" # source the zshrc file # quick command alias pdf="zathura" +# remotedesktop +alias nuc="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:NUC /f" +#alias nuc="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:192.168.31.139 /f" + +# pacman command +#alias pins="sudo pacman -S" +#alias psea="sudo pacman -Ss" +#alias puni="sudo pacman -Rsn" +alias yins="yay -S" +alias ysea="yay -Ss" +alias yuni="yay -Rsn" +alias pins="paru -S" +alias psea="paru -Ss" +alias puni="paru -Rsn" +alias psyuu="paru -Syuu" + # install software alias installaur="sudo pacman -S yay paru" alias installinput="sudo pacman -S wqy-microhei fcitx5-im fcitx5-chinese-addons fcitx5-material-color && yay -S fcitx5-input-support"