This commit is contained in:
lostecho
2023-07-18 13:43:23 +08:00
parent 9c038a6cde
commit 720fb353c8
3 changed files with 35 additions and 30 deletions

View File

@@ -36,7 +36,6 @@ exec-once = blueman-applet
exec-once = fcitx5 --replace -d
exec-once = nm-applet --indicator
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
@@ -168,6 +167,7 @@ plugin {
# button config
}
}
windowrulev2 = tile, title:^(bandu_flutter)$
borders-plus-plus {
#add_borders = 1 # 0 - 2
@@ -187,11 +187,11 @@ windowrulev2 = opacity 0.8 1.0, class:^(obsidian)$
windowrulev2 = opacity 1.0 1.0, class:^(Google-chrome)$
windowrulev2 = animation popin, class:^(Google-chrome)$
windowrulev2 = animation slide, class:^(wofi)$
windowrulev2 = animation popin, class:^(kitty)$, title:^(update-sys)$
#windowrulev2 = move 100%-433 53, class:^(wofi)$, title:^(clippick)$
windowrulev2 = tile, title:^(微信读书)$
windowrulev2 = tile, title:^(Cron)$
windowrulev2 = tile, title:^(Cubox)$
windowrulev2 = tile, title:^(少数派)$
windowrulev2 = tile, title:^(微信读书)$
windowrulev2 = tile, title:^(bandu_flutter)$
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -200,14 +200,16 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/gamemode.sh
bind = $mainMod, A, exec, anytype
bind = $mainMod SHIFT, C, exec, google-chrome-stable --profile-directory=Default --app-id=ciphmlapnadpablfaagijhhenhancbbb
bind = $mainMod, E, exec, thunar
bind = $mainMod SHIFT, E, exec, dolphin
bind = $mainMod CTRL, E, exec, kitty ranger
bind = $mainMod, G, exec, google-chrome-stable
bind = $mainMod SHIFT, G, exec, github-desktop
bind = $mainMod, G, exec, microsoft-edge-stable
bind = $mainMod SHIFT, G, exec, google-chrome-stable
bind = $mainMod CTRL, G, exec, github-desktop
bind = $mainMod, I, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-idea.desktop
bind = $mainMod, J, exec, pkill jupyter-lab; jupyter-lab
bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/PycharmProjects/the-craft-of-selfteaching; jupyter-lab
bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/Documents/the-craft-of-selfteaching; jupyter-lab
bind = $mainMod, K, exec, kate
bind = $mainMod, L, exec, logseq
bind = $mainMod SHIFT, L, exec, swaylock
@@ -218,23 +220,26 @@ bind = $mainMod SHIFT, N, exec, kitty nvim
bind = $mainMod, O, exec, obsidian
bind = $mainMod SHIFT, O, exec, okular
bind = $mainMod, Q, exec, kitty
bind = , XF86Tools , exec, kitty
bind = $mainMod SHIFT, Q, exec, linuxqq
bind = $mainMod, P, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-pycharm.desktop
bind = $mainMod SHIFT, P, exec, pavucontrol
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
bind = $mainMod, S, exec, spotify
bind = $mainMod SHIFT, S, exec, google-chrome-stable --profile-directory=Default --app-id=idhlnkbfpmbggpopjbaemghibaoobglb
bind = $mainMod, T, exec, typora
bind = $mainMod, V, exec, code
bind = $mainMod SHIFT, V, exec, vlc
bind = $mainMod, W, exec, google-chrome-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd
bind = $mainMod SHIFT, W, exec, wechat-uos
bind = $mainMod, X, exec, google-chrome-stable --profile-directory=Default --app-id=jihkolckjdlcnmbfapjpmheicbncfalm
bind = $mainMod, Space, fullscreen,
bind = $mainMod, F3, fullscreen,
bind = $mainMod, F4, togglefloating,
bind = $mainMod, C, killactive,
bind = $mainMod, F, togglefloating,
bind = $mainMod CTRL, P, pseudo,
bind = $mainMod SHIFT, M, exit,
bind = $mainMod SHIFT, S, togglesplit,
bind = $mainMod SHIFT, T, togglesplit,
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
@@ -276,23 +281,23 @@ bindm = $mainMod, mouse:273, resizewindow
bindm = $mainMod SHIFT, mouse:272, resizewindow
# Brightness control
binde = $mainMod, F6, exec, ddcutil setvcp 10 + 10
binde = $mainMod, F5, exec, ddcutil setvcp 10 - 10
binde = , XF86MonBrightnessUp, exec, brightnessctl -c backlight set 1%-
binde = , XF86MonBrightnessDown, exec, brightnessctl -c backlight set +1%
#binde = $mainMod, F6, exec, ddcutil setvcp 10 + 10
#binde = $mainMod, F5, exec, ddcutil setvcp 10 - 10
binde = $mainMod, F5, exec, brightnessctl -c backlight set 1%-
binde = $mainMod, F6, exec, brightnessctl -c backlight set +1%
#binde = , XF86MonBrightnessUp, exec, brightnessctl -c backlight set 1%-
#binde = , XF86MonBrightnessDown, exec, brightnessctl -c backlight set +1%
# Sound control
binde = , F9, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
binde = , F8, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
binde = , F7, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
binde = $mainMod, F10, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
binde = $mainMod, F9, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
binde = $mainMod, F8, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
#binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
#binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
#binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
# Player control
binde = $mainMod, F11, exec, playerctl play-pause
binde = $mainMod, F12, exec, playerctl next
binde = $mainMod, F10, exec, playerctl previous
binde = , XF86AudioPlay, exec, playerctl play-pause
binde = , XF86AudioNext, exec, playerctl next
binde = , XF86AudioPrev, exec, playerctl previous
binde = $mainMod, F7, exec, playerctl play-pause
#binde = , XF86AudioPlay, exec, playerctl play-pause
#binde = , XF86AudioNext, exec, playerctl next
#binde = , XF86AudioPrev, exec, playerctl previous

View File

@@ -195,7 +195,7 @@
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
// "format-good": "", // An empty format will hide the module

View File

@@ -131,9 +131,9 @@ alias hyprloadreload="curl -sSL https://raw.githubusercontent.com/Duckonaut/hypr
alias pdf="zathura"
# remotedesktop
#alias nuc="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:NUC /f /sound"
alias nuc="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:192.168.31.15 /f /sound"
alias nucs="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound"
#alias nuc="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:NUC /f /sound"
alias nuc="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:192.168.31.15 /f /sound"
alias nucs="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound"
# git alias
alias gup="git pull --rebase"