Compare commits

..

No commits in common. "1f3fc55e006cc35aca4ca5fdc88cd65795ba525b" and "187c0f3b8e904fce9a7b7f473599c0d26ecc500f" have entirely different histories.

7 changed files with 12 additions and 64 deletions

3
bin/hyprland-swap_workspaces Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs hyprctl dispatch swapactiveworkspaces

View file

@ -1,3 +0,0 @@
#!/bin/sh -x
monitors=$(hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs)
hyprctl dispatch swapactiveworkspaces $monitors

View file

@ -16,13 +16,6 @@ $joplin_class = @joplin/app-desktop
$bitwarden_class = Bitwarden $bitwarden_class = Bitwarden
$element_class = Element $element_class = Element
$discord_class = WebCord $discord_class = WebCord
$deezer_class = Deezer
# Colors
$col_accentdark = rgb(9933ff)
$col_accentlight = rgb(d966ff)
$col_inactive = rgba(80808080)
$col_textlight = rgba(ffffffe8)
# Plugins # Plugins
plugin = /usr/lib/libhy3.so plugin = /usr/lib/libhy3.so

View file

@ -15,12 +15,13 @@ bind = SUPER, X, workspace, 9
bind = SUPER, W, workspace, 10 bind = SUPER, W, workspace, 10
bind = SUPER, mouse_down, workspace, e-1 bind = SUPER, mouse_down, workspace, e-1
bind = SUPER, mouse_up, workspace, e+1 bind = SUPER, mouse_up, workspace, e+1
bind = SUPER Alt_L, Return, exec, hyprswapworkspaces
# Windows # Windows
bind = SUPER SHIFT, Q, killactive
bind = SUPER SHIFT, F, fullscreen
bind = SUPER SHIFT Alt_L, F, fakefullscreen
bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow bindm = SUPER, mouse:273, resizewindow
bind = SUPER SHIFT, Q, hy3:killactive
bind = SUPER SHIFT, 10, movetoworkspacesilent, 1 bind = SUPER SHIFT, 10, movetoworkspacesilent, 1
bind = SUPER SHIFT, 11, movetoworkspacesilent, 2 bind = SUPER SHIFT, 11, movetoworkspacesilent, 2
bind = SUPER SHIFT, 12, movetoworkspacesilent, 3 bind = SUPER SHIFT, 12, movetoworkspacesilent, 3
@ -31,28 +32,18 @@ bind = SUPER SHIFT, V, movetoworkspacesilent, 7
bind = SUPER SHIFT, C, movetoworkspacesilent, 8 bind = SUPER SHIFT, C, movetoworkspacesilent, 8
bind = SUPER SHIFT, X, movetoworkspacesilent, 9 bind = SUPER SHIFT, X, movetoworkspacesilent, 9
bind = SUPER SHIFT, W, movetoworkspacesilent, 10 bind = SUPER SHIFT, W, movetoworkspacesilent, 10
bind = SUPER SHIFT, space, pin, active
bind = SUPER SHIFT, A, hy3:movewindow, l
bind = SUPER SHIFT, Z, hy3:movewindow, u
bind = SUPER SHIFT, S, hy3:movewindow, d
bind = SUPER SHIFT, D, hy3:movewindow, r
bind = SUPER Alt_L, space, togglefloating bind = SUPER Alt_L, space, togglefloating
bind = SUPER Alt_L, F, fullscreen bind = SUPER SHIFT, space, pin, active
bind = SUPER SHIFT Alt_L, F, fakefullscreen
# Focus # Focus
bind = SUPER, A, hy3:movefocus, l bind = SUPER, A, hy3:movefocus, l
bind = SUPER, Z, hy3:movefocus, u bind = SUPER, Z, hy3:movefocus, u
bind = SUPER, S, hy3:movefocus, d bind = SUPER, S, hy3:movefocus, d
bind = SUPER, D, hy3:movefocus, r bind = SUPER, D, hy3:movefocus, r
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_up, hy3:focustab, r, require_hovered, wrap
bindn = , mouse_down, hy3:focustab, l, require_hovered, wrap
# Groups # Groups
bind = SUPER, Q, hy3:makegroup, tab, force_ephemeral bind = SUPER, Q, hy3:makegroup, h
bind = SUPER, E, hy3:changegroup, opposite bind = SUPER, E, hy3:changegroup, opposite
bind = SUPER, B, hy3:changegroup, toggletab
# Global # Global
bind = SUPER SHIFT, BackSpace, exit bind = SUPER SHIFT, BackSpace, exit
@ -75,15 +66,4 @@ bind = SHIFT Alt_L, Print, exec, glurp area file
bind = SUPER, L, exec, $locker bind = SUPER, L, exec, $locker
# Sound # Sound
binde = SUPER, Prior, exec, swayosd-client --output-volume=raise # TODO
binde = SUPER, Next, exec, swayosd-client --output-volume=lower
# Resize
bind = SUPER Alt_L, R, submap, resize
submap = resize
binde = , A, resizeactive, -25 0
binde = , Z, resizeactive, 0 -25
binde = , S, resizeactive, 0 25
binde = , D, resizeactive, 25 0
bind = , escape, submap, reset
submap = reset

View file

@ -2,9 +2,9 @@
general { general {
# Borders # Borders
border_size = 2 border_size = 2
col.inactive_border = $col_inactive col.inactive_border = rgba(80808080)
col.nogroup_border = $col_inactive col.nogroup_border = rgba(80808080)
col.active_border = $col_accentdark $col_accentlight 90deg col.active_border = rgb(9933ff) rgb(d966ff) 270deg
col.nogroup_border_active = rgb(00cc66) rgb(33ff99) 270deg col.nogroup_border_active = rgb(00cc66) rgb(33ff99) 270deg
resize_on_border = false resize_on_border = false

View file

@ -6,29 +6,5 @@ plugin {
# Groups # Groups
node_collapse_policy = 0 node_collapse_policy = 0
# Tabs
tabs {
height = 15
padding = 5
from_top = true
rounding = 8
render_text = true
text_center = false
text_font = Hack Nerd Font
text_height = 8
text_padding = 10
col.active = $col_accentdark
col.urgent = rgb(ffd966)
col.inactive = $col_inactive
col.text.active = $col_textlight
col.text.urgent = rgba(000000e8)
col.text.inactive = $col_textlight
}
# Autotile
autotile {
enable = true
}
} }
} }

View file

@ -3,4 +3,3 @@ windowrulev2 = workspace 4 silent, class:($joplin_class)
windowrulev2 = workspace 4 silent, class:($bitwarden_class) windowrulev2 = workspace 4 silent, class:($bitwarden_class)
windowrulev2 = workspace 4 silent, class:($element_class) windowrulev2 = workspace 4 silent, class:($element_class)
windowrulev2 = workspace 4 silent, class:($discord_class) windowrulev2 = workspace 4 silent, class:($discord_class)
windowrulev2 = workspace 4 silent, class:($deezer_class)