Waybar: language module; Hyprland: resize mode
This commit is contained in:
parent
4cbd7da3c5
commit
471a567e40
|
|
@ -1,5 +1,6 @@
|
||||||
$mmod = SUPER
|
$mmod = SUPER
|
||||||
$smod = SUPER_SHIFT
|
$smod = SUPER_SHIFT
|
||||||
|
$shift = SHIFT
|
||||||
|
|
||||||
# Managing windows
|
# Managing windows
|
||||||
bind = $smod, Q, killactive,
|
bind = $smod, Q, killactive,
|
||||||
|
|
@ -34,6 +35,7 @@ bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bind = , Caps_Lock, exec, sleep 0.2 && swayosd --caps-lock
|
bind = , Caps_Lock, exec, sleep 0.2 && swayosd --caps-lock
|
||||||
bind = $mmod, V, exec, clipman pick -t wofi
|
bind = $mmod, V, exec, clipman pick -t wofi
|
||||||
bind = $smod, P, exec, ~/.scripts/colorpicker
|
bind = $smod, P, exec, ~/.scripts/colorpicker
|
||||||
|
bind = $smod, K, exec, ~/.scripts/system/kblayout-picker
|
||||||
bind = $smod, Tab, exec, footclient -a sysmonitor btm -b
|
bind = $smod, Tab, exec, footclient -a sysmonitor btm -b
|
||||||
|
|
||||||
# Change current workspace
|
# Change current workspace
|
||||||
|
|
@ -60,4 +62,26 @@ bind = $mmod, mouse_up, workspace, e-1
|
||||||
bindm = $mmod, mouse:272, movewindow
|
bindm = $mmod, mouse:272, movewindow
|
||||||
bindm = $mmod, mouse:273, resizewindow
|
bindm = $mmod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Mouse bindings
|
# Window resize/move submap
|
||||||
|
bind = $smod, R, submap,
|
||||||
|
submap =
|
||||||
|
|
||||||
|
binde = $mmod, right, resizeactive, 10 0
|
||||||
|
binde = $mmod, left, resizeactive, -10 0
|
||||||
|
binde = $mmod, up, resizeactive, 0 -10
|
||||||
|
binde = $mmod, down, resizeactive, 0 10
|
||||||
|
binde = $smod, right, resizeactive, 50 0
|
||||||
|
binde = $smod, left, resizeactive, -50 0
|
||||||
|
binde = $smod, up, resizeactive, 0 -50
|
||||||
|
binde = $smod, down, resizeactive, 0 50
|
||||||
|
binde = , right, moveactive, 10 0
|
||||||
|
binde = , left, moveactive, -10 0
|
||||||
|
binde = , up, moveactive, 0 -10
|
||||||
|
binde = , down, moveactive, 0 10
|
||||||
|
binde = $shift, right, moveactive, 50 0
|
||||||
|
binde = $shift, left, moveactive, -50 0
|
||||||
|
binde = $shift, up, moveactive, 0 -50
|
||||||
|
binde = $shift, down, moveactive, 0 50
|
||||||
|
|
||||||
|
bind = , Escape, submap, reset
|
||||||
|
submap = reset
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,14 @@
|
||||||
"clock",
|
"clock",
|
||||||
"custom/weather",
|
"custom/weather",
|
||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
"idle_inhibitor"
|
"idle_inhibitor",
|
||||||
|
"hyprland/submap"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"wlr/workspaces"
|
"wlr/workspaces"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"hyprland/language",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"network",
|
"network",
|
||||||
"tray"
|
"tray"
|
||||||
|
|
@ -115,5 +117,13 @@
|
||||||
"activated": "",
|
"activated": "",
|
||||||
"deactivated": ""
|
"deactivated": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"hyprland/submap": {
|
||||||
|
"format": "{}",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"hyprland/language": {
|
||||||
|
"format": " {}",
|
||||||
|
"on-click-right": "~/.scripts/system/kblayout-picker"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ tooltip {
|
||||||
#tray,
|
#tray,
|
||||||
#backlight,
|
#backlight,
|
||||||
#language,
|
#language,
|
||||||
|
#submap,
|
||||||
#custom-pacman,
|
#custom-pacman,
|
||||||
#custom-weather,
|
#custom-weather,
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
|
|
@ -89,13 +90,15 @@ tooltip {
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#network,
|
#network,
|
||||||
#tray,
|
#tray,
|
||||||
#idle_inhibitor {
|
#idle_inhibitor,
|
||||||
|
#language {
|
||||||
color: @nord_light_font;
|
color: @nord_light_font;
|
||||||
background: @nord_bg;
|
background: @nord_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor.activated,
|
#idle_inhibitor.activated,
|
||||||
#custom-pacman.urgent {
|
#custom-pacman.urgent,
|
||||||
|
#submap {
|
||||||
color: @nord_dark_font;
|
color: @nord_dark_font;
|
||||||
background: @nord_light;
|
background: @nord_light;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue