update config file

This commit is contained in:
lostecho
2023-04-19 00:03:55 +08:00
parent 487cf457e7
commit bba3272093
2 changed files with 32 additions and 5 deletions

View File

@@ -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