mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(hypr): Enabling lockscreen and switching daemon
This commit is contained in:
parent
68fee530a1
commit
14fe2aad5f
12 changed files with 634 additions and 310 deletions
|
|
@ -44,7 +44,7 @@ xwayland {
|
|||
# monitor=,preferred,auto,auto
|
||||
# Format:
|
||||
# MONITOR_NAME,RESOLUTION@REFRESH_RATE,OFFSET_XxOFFSET_Y,SCALE
|
||||
monitor=DP-2,3840x2160@60,0x0,1.875
|
||||
monitor=DP-2,3840x2160@60,0x0,1.667
|
||||
|
||||
|
||||
###################
|
||||
|
|
@ -71,10 +71,11 @@ $menu = rofi
|
|||
# Top Bar
|
||||
exec-once = waybar &
|
||||
# Notifications
|
||||
exec-once = mako &
|
||||
exec-once = dunst &
|
||||
# exec-once = hyprpanel &
|
||||
# wallpapers
|
||||
exec-once = hyprpaper &
|
||||
exec-once = swww-daemon &
|
||||
exec-once = hypridle &
|
||||
# Authentication agent
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
# Input Method
|
||||
|
|
@ -106,8 +107,7 @@ env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps
|
|||
# https://discuss.kde.org/t/the-themes-i-use-with-qt6ct-are-not-applied-in-discover/17118
|
||||
env = QT_QUICK_CONTROLS_STYLE,org.kde.desktop
|
||||
|
||||
env = LC_CTYPE,zh_CN.UTF-8
|
||||
env = LC_ALL,zh_CN.UTF-8
|
||||
env = LC_CTYPE,en_GB.UTF-8
|
||||
|
||||
|
||||
#####################
|
||||
|
|
@ -144,8 +144,8 @@ decoration {
|
|||
rounding = 10
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
active_opacity = 0.97
|
||||
inactive_opacity = 0.85
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
|
|
@ -268,8 +268,11 @@ bind = $mainMod, R, exec, $terminal
|
|||
bind = $mainMod, Q, killactive,
|
||||
# bind = $mainMod, M, exit,
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
bind = $mainMod, V, exec, cliphist list | rofi --dmenu | cliphist decode | wl-copy
|
||||
bind = $mainMod SHIFT, F, togglefloating
|
||||
bind = $mainMod, V, exec, cliphist list | $menu -dmenu | cliphist decode | wl-copy
|
||||
bind = $mainMod, W, exec, $menu -show window
|
||||
bind = $mainMod SHIFT, F, exec, hyprctl --batch "dispatch togglefloating ; dispatch resizeactive exact 800 1000 ; dispatch centerwindow 1;"
|
||||
|
||||
|
||||
|
||||
bind = alt, space, exec, $menu -show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
|
|
@ -284,12 +287,14 @@ bind = $mainMod, h, movefocus, l
|
|||
bind = $mainMod, i, movefocus, r
|
||||
bind = $mainMod, e, movefocus, u
|
||||
bind = $mainMod, n, movefocus, d
|
||||
bind = $mainMod alt, h, swapwindow, l
|
||||
bind = $mainMod alt, i, swapwindow, r
|
||||
bind = $mainMod alt, e, swapwindow, u
|
||||
bind = $mainMod alt, n, swapwindow, d
|
||||
bind = $mainMod SHIFT, h, swapwindow, l
|
||||
bind = $mainMod SHIFT, i, swapwindow, r
|
||||
bind = $mainMod SHIFT, e, swapwindow, u
|
||||
bind = $mainMod SHIFT, n, swapwindow, d
|
||||
|
||||
bind = $mainMod, c, exec, hyprshot -m region -o $HOME/Pictures/Screenshots/
|
||||
bind = $mainMod SHIFT, l, exec, swaylock
|
||||
|
||||
bind = $mainMod, c, exec, grimblast copysave area $HOME/Pictures/Screenshots/"$(date +%Y%m%d-%H%M%S)"
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
|
|
@ -359,3 +364,5 @@ windowrulev2 = suppressevent maximize, class:.*
|
|||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
windowrulev2 = float, class:qt6ct,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue