Skip to content

Commit

Permalink
hyprland hycov hy3 hyprspace
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcPartensky committed May 22, 2024
1 parent 3395c45 commit 5f0f710
Showing 1 changed file with 157 additions and 26 deletions.
183 changes: 157 additions & 26 deletions hypr/.config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,46 @@
plugin=/home/marc/.local/share/hyprpm/hy3/hy3.so
plugin=/home/marc/.local/share/hyprpm/hycov/hycov.so
# plugin=/home/marc/.local/share/hyprpm/Hyprspace/Hyprspace.so

# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.


plugin {
# hy3 {
# tabs {
# height = 2
# padding = 6
# render_text = false
# }

# autotile {
# enable = true
# trigger_width = 1500
# trigger_height = 500
# }
# }
hycov {
enable_alt_release_exit = 0
swipe_fingers = 4 # finger number of gesture,move any directory
}
Hyprspace {
overview {
close = 0
disableGestures = 1
}
gestures {
workspace_swipe_fingers = 4
}
}
split-monitor-workspaces {
count = 10
keep_focused = 0
enable_notifications = 0
}
}


#
# Please note not all available settings / options are set here.
Expand Down Expand Up @@ -59,7 +97,9 @@ general {
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)

# damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
layout=dwindle
# layout=dwindle
layout = hy3
resize_on_border = true
}

decoration {
Expand All @@ -83,7 +123,8 @@ animations {
animation=border,1,10,default
animation=fade,1,10,default
# animation=workspaces,1,6,overshot,slide
animation=workspaces,1,6,overshot,slidevert
animation=workspaces,1,10,overshot,slidevert
# animation=workspaces,11,20,overshot,slide
}
# animations {
# enabled=1
Expand All @@ -100,7 +141,7 @@ dwindle {

gestures {
workspace_swipe=true
# workspace_swipe_fingers=3
workspace_swipe_fingers=3
}

misc {
Expand All @@ -117,6 +158,7 @@ misc {
#windowrule=monitor 0,xyz

# windowrule=tile,title:^(Spotify)$ # spotify does not work
# windowrulev2=opacity 0.8 0.8,class:^(rofi.*)$
windowrule=float,^(blueberry.py)$
windowrule=size 40% 85%,^(blueberry.py)$
windowrule=center,^(blueberry.py)$
Expand All @@ -127,21 +169,33 @@ windowrule=workspace 1,^(Alacritty)$
# windowrule=float,^(Alacritty)$
# windowrule=size 50% 95%,^(Alacritty)$
windowrule=center,^(Alacritty)$
windowrule=workspace 2,^(Firefox)$
windowrule=workspace 2,^(firefox)$
windowrule=workspace 3,title:^(Spotify)$
windowrule=workspace 3,title:^(Spotube)$
windowrule=workspace 4,title:^(WebCord)$
windowrule=workspace 4,title:^(Discord)$
windowrule=workspace 4,title:^(Whatsapp)$
windowrule=fakefullscreen,title:^(Signal)$
windowrule=workspace 4,title:^(Signal)$
windowrule=workspace 5,title:^(Caprine)$
windowrule=workspace 6,title:^(Mailspring)$
# windowrule=nofullscreenrequest,title:^(Mailspring)$
# windowrule=nofullscreenrequest,title:^(Signal)$
windowrule=fakefullscreen,title:^(Mailspring)$
windowrule=workspace 6,title:^(Geary)$
windowrule=workspace 6,title:^(proton-mail-viewer)$
windowrule=fakefullscreen,title:^(proton-mail-viewer)$
windowrule=workspace 9,title:^(nautilus)$
windowrule=workspace 10,title:^(Focalboard)$

windowrule=workspace 12,^(firefox)$
windowrule=workspace 13,^(youtube)$

# workspace=name:myworkspace,gapsin:0,gapsout:
workspace = 1, name:coding, rounding:true, decorate:false, gapsin:5, gapsout:10, border:true, decorate:true, monitor:eDP-1
workspace = 2, name:browser, monitor:eDP-1
workspace = 3, name:music, monitor:eDP-1

workspace = 4, name:chat, monitor:eDP-1
workspace = 5, name:mail, monitor:eDP-1
workspace = 10, name:board, monitor:eDP-1

# bind=SUPER,U,layoutmsg,preselect 1
# bind=SUPER,Y,layoutmsg,swapwithmaster master
Expand All @@ -157,10 +211,14 @@ bind=SUPER,C,killactive,
bind=SUPERSHIFT,C,exec,xdotool getwindowfocus windowkill
bind=SUPERSHIFT,Q,exit,
bind=SUPER,M,fullscreen
bind=SUPER,S,exec,spotify
# bind=SUPER,S,exec,spotify
bind=SUPER,S,exec,spotube
bind=SUPER,V,togglefloating,
bind=SUPER,D,exec,rofi --insensitive -show drun -o DP-3 --allow-images
bind=SUPER,P,pseudo,
bind=SUPER,T,togglegroup,
bind=SUPER,D,exec,rofi --insensitive -show drun -o DP-3 -steal-focus True -allow-images -show-icons
bind=SUPER,P,exec,~/.local/bin/rofi-git
bind=SUPER,U,exec,~/.local/bin/clean-workspaces
# bind=SUPER,P,pseudo,
bind=CTRLSHIFT,L,exec,.local/bin/lock
bind=ALT,L,exec,nautilus
bind=ALT,F,exec,firefox-nightly
Expand Down Expand Up @@ -199,7 +257,7 @@ bind=ALT,S,exec,playerctl -p Spotube previous
bind=SHIFT,XF86AudioRaiseVolume,exec,.local/bin/spenv volume +15
bind=SHIFT,XF86AudioLowerVolume,exec,.local/bin/spenv volume -15

bind=ALT,R,submap,resize # will switch to a submap called resize
bind=SUPER,R,submap,resize # will switch to a submap called resize
submap=resize # will start a submap called "resize"
bind=,h,resizeactive,-10 0
bind=,l,resizeactive,10 0
Expand All @@ -212,21 +270,48 @@ submap=reset
# bind=SUPERSHIFT,j,resizeactive,0 -10
# bind=SUPERSHIFT,k,resizeactive,0 10

bind=SUPER,l,movefocus,l
bind=SUPER,h,movefocus,r
bind=SUPER,k,movefocus,u
bind=SUPER,j,movefocus,d

bind=SUPER,1,workspace,1
bind=SUPER,2,workspace,2
bind=SUPER,3,workspace,3
bind=SUPER,4,workspace,4
bind=SUPER,5,workspace,5
bind=SUPER,6,workspace,6
bind=SUPER,7,workspace,7
bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9
bind=SUPER,0,workspace,10
# bind=SUPER,l,movefocus,l
# bind=SUPER,h,movefocus,r
# bind=SUPER,k,movefocus,u
# bind=SUPER,j,movefocus,d

bind=SUPER,l,hy3:movefocus,h
bind=SUPER,h,hy3:movefocus,l
bind=SUPER,k,hy3:movefocus,u
bind=SUPER,j,hy3:movefocus,d

# bind=SUPER,1,workspace,1
# bind=SUPER,2,workspace,2
# bind=SUPER,3,workspace,3
# bind=SUPER,4,workspace,4
# bind=SUPER,5,workspace,5
# bind=SUPER,6,workspace,6
# bind=SUPER,7,workspace,7
# bind=SUPER,8,workspace,8
# bind=SUPER,9,workspace,9
# bind=SUPER,0,workspace,10


bind=SUPER, 1, split-workspace, 1
bind=SUPER, 2, split-workspace, 2
bind=SUPER, 3, split-workspace, 3
bind=SUPER, 4, split-workspace, 4
bind=SUPER, 5, split-workspace, 5
bind=SUPER, 6, split-workspace, 6
bind=SUPER, 7, split-workspace, 7
bind=SUPER, 8, split-workspace, 8
bind=SUPER, 9, split-workspace, 9
bind=SUPER, 0, split-workspace, 10
bind=SUPER+SHIFT, 1, split-workspace, 11
bind=SUPER+SHIFT, 2, split-workspace, 12
bind=SUPER+SHIFT, 3, split-workspace, 13
bind=SUPER+SHIFT, 4, split-workspace, 14
bind=SUPER+SHIFT, 5, split-workspace, 15
bind=SUPER+SHIFT, 6, split-workspace, 16
bind=SUPER+SHIFT, 7, split-workspace, 17
bind=SUPER+SHIFT, 8, split-workspace, 18
bind=SUPER+SHIFT, 9, split-workspace, 19
bind=SUPER+SHIFT, 10, split-workspace, 20

bind=ALT,1,movetoworkspace,1
bind=ALT,2,movetoworkspace,2
Expand All @@ -238,10 +323,56 @@ bind=ALT,7,movetoworkspace,7
bind=ALT,8,movetoworkspace,8
bind=ALT,9,movetoworkspace,9
bind=ALT,0,movetoworkspace,10
bind=ALT+SHIFT, 1, split-movetoworkspace, 11
bind=ALT+SHIFT, 2, split-movetoworkspace, 12
bind=ALT+SHIFT, 3, split-movetoworkspace, 13
bind=ALT+SHIFT, 4, split-movetoworkspace, 14
bind=ALT+SHIFT, 5, split-movetoworkspace, 15
bind=ALT+SHIFT, 6, split-movetoworkspace, 16
bind=ALT+SHIFT, 7, split-movetoworkspace, 17
bind=ALT+SHIFT, 8, split-movetoworkspace, 18
bind=ALT+SHIFT, 9, split-movetoworkspace, 19
bind=ALT+SHIFT, 0, split-movetoworkspace, 20

bind=SUPER,tab, split-changemonitor,next

bind=SUPER,mouse_down,workspace,e+1
bind=SUPER,mouse_up,workspace,e-1

# hycov
# bind key to toggle overview (normal)
bind = SUPER,grave,hycov:toggleoverview
# bind key to toggle overview (force mode, not affected by `only_active_workspace` or `only_active_monitor`)
# bind = SUPER,grave,hycov:toggleoverview,forceall #grave key is the '~' key
# bind key to toggle overview (shows all windows in one monitor, not affected by `only_active_workspace` or `only_active_monitor`)
bind = SUPER,g,hycov:toggleoverview,forceallinone

# bind=SUPER+CONTROL, 1, hy3:focustab, index, 01
# bind=SUPER+CONTROL, 2, hy3:focustab, index, 02
# bind=SUPER+CONTROL, 3, hy3:focustab, index, 03
# bind=SUPER+CONTROL, 4, hy3:focustab, index, 04
# bind=SUPER+CONTROL, 5, hy3:focustab, index, 05
# bind=SUPER+CONTROL, 6, hy3:focustab, index, 06
# bind=SUPER+CONTROL, 7, hy3:focustab, index, 07
# bind=SUPER+CONTROL, 8, hy3:focustab, index, 08
# bind=SUPER+CONTROL, 9, hy3:focustab, index, 09
# bind=SUPER+CONTROL, 0, hy3:focustab, index, 10

bind=SUPER+SHIFT,h,hy3:makegroup, h
bind=SUPER+SHIFT,v,hy3:makegroup, v
bind=SUPER,b,hy3:expand, base

# bind=SUPER+SHIFT, q, hy3:killactive
#
bind=SUPER,h,hycov:movefocus,l
bind=SUPER,l,hycov:movefocus,r
bind=SUPER,k,hycov:movefocus,u
bind=SUPER,j,hycov:movefocus,d

# bind=SUPER,U,resizeactive,exact 1080 1080
bind=SUPER+SHIFT,k,resizeactive,exact 1080 1080
bind=SUPER+SHIFT,j,resizeactive,exact 1080 200

exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=~/.local/bin/poststartx
exec-once=~/.local/bin/restartbluetooth
Expand Down

0 comments on commit 5f0f710

Please sign in to comment.