update config file
This commit is contained in:
@@ -13,9 +13,9 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=eDP-1,1920x1080@60,0x1440,1
|
||||
#monitor=eDP-1,1920x1080@60,0x1440,1
|
||||
#monitor=DP-1,preferred,auto,1
|
||||
monitor=DP-1,2560x1440@75,0x0,1
|
||||
monitor=DP-2,2560x1440@75,0x0,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
@@ -23,19 +23,20 @@ monitor=DP-1,2560x1440@75,0x0,1
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once = waybar # status bar
|
||||
exec-once = dunst # notification daemon
|
||||
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 = 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 = 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 &
|
||||
exec-once = $HOME/.local/share/hyprload/hyprload.sh
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
@@ -57,6 +58,7 @@ input {
|
||||
natural_scroll = yes
|
||||
tap-to-click = yes
|
||||
drag_lock = yes
|
||||
scroll_factor = 0.3
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
@@ -65,9 +67,9 @@ input {
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 5
|
||||
border_size = 5
|
||||
gaps_in = 2
|
||||
gaps_out = 2
|
||||
border_size = 2
|
||||
col.active_border = rgba(5fc9f8ee) rgba(fecb2eee) rgba(fd9426ee) rgba(fc3158ee) rgba(147efbee) rgba(53d769ee) rgba(fc3d39ee) rgba(f77737ee) rgba(fcaf45ee) rgba(ffdc80ee) 36deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
@@ -90,7 +92,7 @@ decoration {
|
||||
inactive_opacity=0.95
|
||||
fullscreen_opacity=1.0
|
||||
|
||||
rounding = 10
|
||||
rounding = 5
|
||||
blur = yes
|
||||
blur_size = 5
|
||||
blur_passes = 2
|
||||
@@ -130,13 +132,15 @@ master {
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = off
|
||||
workspace_swipe = yes
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
@@ -154,6 +158,7 @@ windowrulev2 = animation popin,class:^(kitty)$,title:^(update-sys)$
|
||||
windowrulev2 = animation slide,class:^(wofi)$
|
||||
windowrulev2 = move 100%-433 53,class:^(wofi)$,title:^(clippick)$
|
||||
windowrulev2 = opacity 0.8 1.0,class:^(obsidian)$
|
||||
windowrulev2 = tile,title:^(微信读书)
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
@@ -165,20 +170,21 @@ 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, N, exec, env DESKTOPINTEGRATION=false /usr/bin/obsidian %u --no-sandbox %U
|
||||
bind = $mainMod, W, exec, /usr/bin/logseq %U
|
||||
bind = $mainMod, O, exec, obsidian
|
||||
bind = $mainMod, P, exec, logseq
|
||||
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, W, exec, google-chrome-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd
|
||||
# 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
|
||||
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
||||
bind = $mainMod SHIFT, J, togglesplit, # dwindle
|
||||
bind = $mainMod, Space, fullscreen
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
|
||||
Reference in New Issue
Block a user