Compare commits
4 Commits
90ef8c3271
...
84bdaa7bd0
Author | SHA1 | Date | |
---|---|---|---|
84bdaa7bd0 | |||
bd3063e370 | |||
c653114e2c | |||
4efd4c3625 |
@@ -8,10 +8,11 @@ bind = $mainMod, Return, exec, foot
|
|||||||
bind = $mainMod, Q, killactive
|
bind = $mainMod, Q, killactive
|
||||||
bind = $mainMod, Space, exec, pgrep wofi || wofi --show drun
|
bind = $mainMod, Space, exec, pgrep wofi || wofi --show drun
|
||||||
#bind = $mainMod, M, exit,
|
#bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, T, pseudo, # dwindle
|
bind = $mainMod, T, pseudo
|
||||||
bind = $mainMod, F, togglefloating,
|
bind = $mainMod, F, togglefloating
|
||||||
bind = $mainMod Shift, F, fullscreen
|
bind = $mainMod Shift, F, fullscreen
|
||||||
bind = $mainMod, R, togglesplit, # dwindle
|
bind = $mainMod, R, togglesplit
|
||||||
|
bind = $mainMod, G, swapsplit
|
||||||
|
|
||||||
# Dunst management
|
# Dunst management
|
||||||
bind = $mainMod Shift, Space, exec, dunstctl close
|
bind = $mainMod Shift, Space, exec, dunstctl close
|
||||||
@@ -44,10 +45,10 @@ bind = $mainMod, k, movefocus, u
|
|||||||
bind = $mainMod, l, movefocus, r
|
bind = $mainMod, l, movefocus, r
|
||||||
|
|
||||||
# Move the focused window around
|
# Move the focused window around
|
||||||
bind = $mainMod Shift, h, movewindow, l
|
bind = $mainMod Shift, h, swapwindow, l
|
||||||
bind = $mainMod Shift, j, movewindow, d
|
bind = $mainMod Shift, j, swapwindow, d
|
||||||
bind = $mainMod Shift, k, movewindow, u
|
bind = $mainMod Shift, k, swapwindow, u
|
||||||
bind = $mainMod Shift, l, movewindow, r
|
bind = $mainMod Shift, l, swapwindow, r
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
@@ -79,6 +80,23 @@ bind = $mainMod SHIFT, MINUS, movetoworkspace, 11
|
|||||||
bind = $mainMod, Period, workspace, e+1
|
bind = $mainMod, Period, workspace, e+1
|
||||||
bind = $mainMod, Comma, workspace, e-1
|
bind = $mainMod, Comma, workspace, e-1
|
||||||
|
|
||||||
# Resize
|
# Move windows around
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
|
||||||
|
# Resize mouse binding and submap
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
bind = $mainMod SHIFT, R, submap, resize
|
||||||
|
submap = resize
|
||||||
|
$resizeFactor = 50
|
||||||
|
bind = , l, resizeactive, $resizeFactor 0
|
||||||
|
bind = , h, resizeactive, -$resizeFactor 0
|
||||||
|
bind = , k, resizeactive, 0 -$resizeFactor
|
||||||
|
bind = , j, resizeactive, 0 $resizeFactor
|
||||||
|
bind = SHIFT, h, moveactive, -$resizeFactor 0
|
||||||
|
bind = SHIFT, j, moveactive, 0 $resizeFactor
|
||||||
|
bind = SHIFT, k, moveactive, 0 -$resizeFactor
|
||||||
|
bind = SHIFT, l, moveactive, $resizeFactor 0
|
||||||
|
bind = , Return, submap, reset
|
||||||
|
bind = , Escape, submap, reset
|
||||||
|
bind = $mainMod SHIFT, R, submap, reset
|
||||||
|
submap = reset
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
"margin-top": 16,
|
"margin-top": 16,
|
||||||
"margin-left": 16,
|
"margin-left": 16,
|
||||||
"margin-right": 16,
|
"margin-right": 16,
|
||||||
"modules-left": ["hyprland/workspaces", "hyprland/window", "sway/mode"],
|
"modules-left": ["hyprland/workspaces", "hyprland/window", "hyprland/submap", "sway/mode"],
|
||||||
"modules-right": ["tray"],
|
"modules-right": ["tray"],
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"all-outputs": false,
|
"all-outputs": false,
|
||||||
@@ -21,6 +21,9 @@
|
|||||||
"separate-outputs": true,
|
"separate-outputs": true,
|
||||||
"format": "{}"
|
"format": "{}"
|
||||||
},
|
},
|
||||||
|
"hyprland/submap": {
|
||||||
|
"on-click": "hyprctl dispatch submap reset"
|
||||||
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 16,
|
"icon-size": 16,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
|
@@ -89,6 +89,16 @@ window#waybar.fullscreen #window {
|
|||||||
color: rgba(40, 40, 40, 0.8);
|
color: rgba(40, 40, 40, 0.8);
|
||||||
background: #d3869b;
|
background: #d3869b;
|
||||||
}
|
}
|
||||||
|
/* Submap display */
|
||||||
|
#submap {
|
||||||
|
color: rgba(235, 219, 178, 0.4);
|
||||||
|
padding: 0 1em;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
#submap.resize {
|
||||||
|
color: rgba(40, 40, 40, 0.8);
|
||||||
|
background: #d3869b;
|
||||||
|
}
|
||||||
|
|
||||||
/* widgets */
|
/* widgets */
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
|
Reference in New Issue
Block a user