some hyprland config updated
This commit is contained in:
parent
f8616da653
commit
800f589128
@ -6,5 +6,8 @@ exec-once = copyq --start-server
|
|||||||
exec-once = /usr/lib/pam_kwallet_init & blueman-applet & hypridle & hyprpaper & nm-applet & waybar
|
exec-once = /usr/lib/pam_kwallet_init & blueman-applet & hypridle & hyprpaper & nm-applet & waybar
|
||||||
exec-once = dunst
|
exec-once = dunst
|
||||||
exec-once = blueman-applet
|
exec-once = blueman-applet
|
||||||
exec-once = ~/.config/hypr/conf/autostart.conf
|
exec-once = ~/.config/hypr/scripts/start-wob.sh
|
||||||
|
exec-once = poweralertd
|
||||||
|
exec-once = [ -x "$(command -v wlsunset)" ] && /home/goodhumored/dotfiles/.config/scripts/sunset.sh "on"
|
||||||
|
exec-once = crow
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@ input {
|
|||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = true
|
natural_scroll = true
|
||||||
}
|
}
|
||||||
repeat_delay = 200
|
repeat_delay = 150
|
||||||
repeat_rate = 50
|
repeat_rate = 45
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
|
@ -9,26 +9,35 @@
|
|||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
|
# apps
|
||||||
bind = $mainMod, T, exec, $terminal # terminal
|
bind = $mainMod, T, exec, $terminal # terminal
|
||||||
bind = $mainMod, F, exec, fullscreen # fullscreen
|
bind = $mainMod SHIFT, T, exec, ~/.config/hypr/scripts/show-crow.sh
|
||||||
bind = $mainMod, Q, killactive, # kill window
|
bind = $mainMod CTRL SHIFT, T, exec, ~/.config/hypr/scripts/translate-selection.sh
|
||||||
bind = $mainMod, E, exec, $fileManager # file manager
|
bind = $mainMod, E, exec, $fileManager # file manager
|
||||||
bind = $mainMod, V, togglefloating, # toggle float
|
|
||||||
bind = $mainMod, A, exec, $toggle_menu_cmd # wofi
|
bind = $mainMod, A, exec, $toggle_menu_cmd # wofi
|
||||||
|
|
||||||
|
# ──────────────────────────────── copyq ──────────────────────────────
|
||||||
|
bind = CTRL_ALT, V, exec, copyq toggle
|
||||||
|
|
||||||
|
bind = $mainMod, F, fullscreen # fullscreen
|
||||||
|
bind = $mainMod, Q, killactive, # kill window
|
||||||
|
bind = $mainMod, V, togglefloating, # toggle float
|
||||||
bind = $mainMod, P, pseudo, # pseudo
|
bind = $mainMod, P, pseudo, # pseudo
|
||||||
bind = $mainMod, DELETE, exit, # pseudo
|
bind = $mainMod, DELETE, exit, # pseudo
|
||||||
bind = $mainMod, R, togglesplit, # toggle split
|
bind = $mainMod, R, togglesplit, # toggle split
|
||||||
bind = $mainMod CTRL, L, exec, hyprlock # lock screen
|
bind = $mainMod CTRL, L, exec, hyprlock # lock screen
|
||||||
|
|
||||||
|
# ─────────────────────────── move workspaces ─────────────────────────
|
||||||
bind = CTRL ALT $mainMod SHIFT, comma, movecurrentworkspacetomonitor, l
|
bind = CTRL ALT $mainMod SHIFT CTRL ALT, H, movecurrentworkspacetomonitor, l
|
||||||
bind = CTRL ALT $mainMod SHIFT, period, movecurrentworkspacetomonitor, r
|
bind = CTRL ALT $mainMod SHIFT CTRL ALT, L, movecurrentworkspacetomonitor, r
|
||||||
|
bind = CTRL ALT $mainMod SHIFT CTRL ALT, J, movecurrentworkspacetomonitor, d
|
||||||
|
bind = CTRL ALT $mainMod SHIFT CTRL ALT, K, movecurrentworkspacetomonitor, u
|
||||||
|
|
||||||
# ────────────────────────── window move focus ────────────────────────
|
# ────────────────────────── window move focus ────────────────────────
|
||||||
bind = $mainMod, left, movefocus, l
|
binde = $mainMod, right, resizeactive, 20 0
|
||||||
bind = $mainMod, right, movefocus, r
|
binde = $mainMod, left, resizeactive, -20 0
|
||||||
bind = $mainMod, up, movefocus, u
|
binde = $mainMod, up, resizeactive, 0 -20
|
||||||
bind = $mainMod, down, movefocus, d
|
binde = $mainMod, down, resizeactive, 0 20
|
||||||
bind = $mainMod, H, movefocus, l
|
bind = $mainMod, H, movefocus, l
|
||||||
bind = $mainMod, L, movefocus, r
|
bind = $mainMod, L, movefocus, r
|
||||||
bind = $mainMod, K, movefocus, u
|
bind = $mainMod, K, movefocus, u
|
||||||
@ -73,8 +82,6 @@ bind = $mainMod, M, togglespecialworkspace, music
|
|||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
# ──────────────────────────────── copyq ──────────────────────────────
|
|
||||||
bind = CTRL_ALT, V, exec, copyq toggle
|
|
||||||
|
|
||||||
# ───────────────────────────── screenshots ───────────────────────────
|
# ───────────────────────────── screenshots ───────────────────────────
|
||||||
bind = $mainMod SHIFT, S, exec, grimblast copy area --freeze --notify --cursor
|
bind = $mainMod SHIFT, S, exec, grimblast copy area --freeze --notify --cursor
|
||||||
|
@ -1 +0,0 @@
|
|||||||
tail -f /tmp/wobpipe
|
|
@ -11,7 +11,6 @@ listener {
|
|||||||
# HYPRLOCK ONTIMEOUT
|
# HYPRLOCK ONTIMEOUT
|
||||||
on-timeout = loginctl lock-session
|
on-timeout = loginctl lock-session
|
||||||
}
|
}
|
||||||
|
|
||||||
# dpms
|
# dpms
|
||||||
listener {
|
listener {
|
||||||
# DPMS TIMEOUT
|
# DPMS TIMEOUT
|
||||||
|
@ -172,17 +172,19 @@ windowrulev2 = pin, title:^(Picture-in-Picture)$
|
|||||||
windowrulev2 = move 69.5% 4%, title:^(Picture-in-Picture)$
|
windowrulev2 = move 69.5% 4%, title:^(Picture-in-Picture)$
|
||||||
|
|
||||||
|
|
||||||
windowrule = maxsize 400 300, (blueman)
|
# different floating modals
|
||||||
windowrule = float, (copyq|pavucontrol|blueman-manager|wofi|rofi)
|
windowrule = maxsize 400 300, (blueman|io.crow_translate.CrowTranslate)
|
||||||
windowrule = pin, (copyq|pavucontrol|blueman-manager|wofi|rofi)
|
windowrule = float, (copyq|pavucontrol|blueman-manager|wofi|rofi|imv|io.crow_translate.CrowTranslate)
|
||||||
windowrule = stayfocused, (copyq|pavucontrol|blueman-manager|wofi|rofi)
|
windowrule = pin, (copyq|pavucontrol|blueman-manager|wofi|rofi|io.crow_translate.CrowTranslate)
|
||||||
|
windowrule = stayfocused, (copyq|pavucontrol|blueman-manager|wofi|rofi|io.crow_translate.CrowTranslate)
|
||||||
|
windowrule = move onscreen cursor,(copyq|pavucontrol|blueman-manager|imv|io.crow_translate.CrowTranslate)
|
||||||
|
|
||||||
windowrule = center, (wofi)
|
windowrule = center, (wofi)
|
||||||
windowrule = workspace 3, title:^(.*)(Telegram)(.*)$
|
windowrule = workspace 3, title:^(.*)(Telegram)(.*)$
|
||||||
windowrule = workspace 1, title:^(.*)(Firefox)(.*)$
|
windowrule = workspace 1, title:^(.*)(Firefox)(.*)$
|
||||||
windowrule = workspace special:music, title:(.*)((M|m)usic|(М|м)узыка)(.*)
|
windowrule = workspace special:music, title:(.*)((M|m)usic|(М|м)узыка)(.*)
|
||||||
windowrule = float, title:(.*)((M|m)usic|(М|м)узыка)(.*)
|
windowrule = float, title:(.*)((M|m)usic|(М|м)узыка)(.*)
|
||||||
windowrule = size 600 500, title:(.*)((M|m)usic|(М|м)узыка)(.*)
|
windowrule = size 1500 900, title:(.*)((M|m)usic|(М|м)узыка)(.*)
|
||||||
windowrule = move onscreen cursor,(copyq|pavucontrol|blueman-manager)
|
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
windowrulev2 = float,class:^(cursor-float)$
|
windowrulev2 = float,class:^(cursor-float)$
|
||||||
windowrulev2 = move onscreen cursor,class:^(cursor-float)$
|
windowrulev2 = move onscreen cursor,class:^(cursor-float)$
|
||||||
@ -191,6 +193,16 @@ windowrulev2 = float,class:^(dmenu)$
|
|||||||
windowrulev2 = pin,class:^(dmenu)$
|
windowrulev2 = pin,class:^(dmenu)$
|
||||||
windowrulev2 = stayfocused,class:^(dmenu)$
|
windowrulev2 = stayfocused,class:^(dmenu)$
|
||||||
# windowrulev2 = move onscreen cursor,class:^(dmenu)$
|
# windowrulev2 = move onscreen cursor,class:^(dmenu)$
|
||||||
|
#
|
||||||
|
|
||||||
|
# matlab
|
||||||
|
windowrule = tile, class:(.*)(MATLAB)(.*)
|
||||||
|
windowrule = workspace 6, class:(.*)(MATLAB)(.*)
|
||||||
|
windowrule = size 400 400, class:(.*)(MATLAB)(.*)
|
||||||
|
|
||||||
|
windowrule = tile, (.*)(Figure)(.*)
|
||||||
|
windowrule = workspace 6, (.*)(Figure)(.*)
|
||||||
|
windowrule = size 400 400, (.*)(Figure)(.*)
|
||||||
|
|
||||||
|
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||||
|
@ -3,3 +3,4 @@
|
|||||||
monitor=eDP-1,1920x1080@60.01,0x0,1.0
|
monitor=eDP-1,1920x1080@60.01,0x0,1.0
|
||||||
monitor=DP-2,1920x1080@60.0,1920x-953,1.0
|
monitor=DP-2,1920x1080@60.0,1920x-953,1.0
|
||||||
monitor=HDMI-A-1,2560x1440@59.95,-640x-1440,1.0
|
monitor=HDMI-A-1,2560x1440@59.95,-640x-1440,1.0
|
||||||
|
monitor=desc:BNQ BenQ G925HDA 29A01966019,prefered,auto,1.0
|
||||||
|
1
.config/hypr/scripts/show-crow.sh
Executable file
1
.config/hypr/scripts/show-crow.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
dbus-send --type=method_call --dest=io.crow_translate.CrowTranslate /io/crow_translate/CrowTranslate/MainWindow io.crow_translate.CrowTranslate.MainWindow.open
|
1
.config/hypr/scripts/start-wob.sh
Executable file
1
.config/hypr/scripts/start-wob.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
tail -f /tmp/wobpipe | wob
|
1
.config/hypr/scripts/translate-selection.sh
Executable file
1
.config/hypr/scripts/translate-selection.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
qdbus io.crow_translate.CrowTranslate /io/crow_translate/CrowTranslate/MainWindow translateSelection
|
Loading…
x
Reference in New Issue
Block a user