update config file

This commit is contained in:
lostecho
2023-07-12 15:41:39 +08:00
parent 4cbe664a8d
commit ec395e9a08
27 changed files with 715 additions and 453 deletions

View File

@@ -20,26 +20,28 @@ monitor=DP-2,2560x1440@75,0x0,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland # hyprland init parameter
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/bgaction # swww wallpaper
exec-once = ~/.local/share/hyprload/hyprload.sh
#exec = ~/.config/HyprV/hyprv_util setbg
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = waybar # status bar
exec-once = dunst # notification daemon
exec-once = fcitx --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-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 = blueman-applet
exec-once = nm-applet --indicator # Systray app for Network/Wifi
exec-once = fcitx5 --replace -d # input method
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = cliphist wipe # clear clipboard
exec-once = udiskie &
exec-once = $HOME/.local/share/hyprload/hyprload.sh
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
#source = ~/.config/hypr/env_var.conf
source = ~/.config/hypr/media-binds.conf
# Some default env vars.
env = XCURSOR_SIZE,24
@@ -138,6 +140,9 @@ gestures {
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic mouse V1 {
#sensitivity = -0.5
}
device:apple-inc.-magic-trackpad-1 {
#scroll_factor = 1.0
#middle_button_emulation=0
@@ -153,12 +158,11 @@ windowrulev2 = opacity 1.0 1.0, class:^(Google-chrome)$
windowrulev2 = animation popin,class:^(Google-chrome)$
windowrulev2 = opacity 0.8 0.9,class:^(kitty)$
windowrulev2 = animation popin,class:^(kitty)$,title:^(update-sys)$
# windowrulev2 = animation popin,class:^(thunar)$
# windowrulev2 = opacity 0.8 0.8,class:^(thunar)$
windowrulev2 = animation slide,class:^(wofi)$
windowrulev2 = move 100%-433 53,class:^(wofi)$,title:^(clippick)$
windowrulev2 = opacity 0.8 0.8,class:^(VSCodium)$
windowrulev2 = opacity 0.8 1.0,class:^(obsidian)$
windowrulev2 = tile,title:^(微信读书)
windowrulev2 = tile,title:^(微信读书)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -168,7 +172,6 @@ $mainMod = SUPER
# 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, dolphin
bind = $mainMod, O, exec, obsidian
bind = $mainMod, P, exec, logseq
@@ -183,7 +186,7 @@ bind = $mainMod, W, exec, google-chrome-stable --profile-directory=Default --app
# bind = $mainMod, Y, exec, grim -g "$(slurp)" $screen_file
# bind = $mainMod SHIFT, Y, exec, grim - | wl-copy
bind = $mainMod, F, togglefloating,
bind = $mainMod SHIFT, P, pseudo, # dwindle
bind = $mainMod SHIFT, I, pseudo, # dwindle
bind = $mainMod SHIFT, J, togglesplit, # dwindle
bind = $mainMod, Space, fullscreen
@@ -223,8 +226,15 @@ bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod SHIFT, mouse:272, resizewindow
bindm = $mainMod, mouse:273, resizewindow
# Brightness control
binde = $mainMod SHIFT, P, exec, brightnessctl set 5%+
binde = $mainMod SHIFT, O, exec, brightnessctl set 5%-
binde = $mainMod SHIFT, L, exec, ddcutil setvcp 10 + 10
binde = $mainMod SHIFT, K, exec, ddcutil setvcp 10 - 10
#binde = $mainMod SHIFT, L, exec, brightnessctl set 5%+
#binde = $mainMod SHIFT, K, exec, brightnessctl set 5%-
# Sound control
binde = $mainMod SHIFT, O, exec, pamixer -d 5
binde = $mainMod SHIFT, P, exec, pamixer -i 5