1
0
Fork 0

Some whitespaceaction

This commit is contained in:
J. Elfring 2024-11-03 20:55:43 +01:00
parent 390c5b2802
commit e95f85bd7f
3 changed files with 65 additions and 54 deletions

View file

@ -2,14 +2,6 @@
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
# Please note not all available settings / options are set here.
# For a full list, see the wiki
# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf
################
### MONITORS ###
################
@ -23,8 +15,6 @@ monitor=,preferred,auto,1
###################
# See https://wiki.hyprland.org/Configuring/Keywords/
# Set programs that you use
$terminal = kitty
$fileManager = pcmanfm
$menu = wofi --show drun
@ -58,6 +48,7 @@ env = HYPRCURSOR_SIZE,24
#####################
### LOOK AND FEEL ###
#####################
source = src_hyprland/lookNfeel.conf
@ -104,7 +95,7 @@ device {
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# See https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod SHIFT, E, exit,
bind = $mainMod SHIFT, C, killactive,
bind = $mainMod SHIFT, F, togglefloating,

View file

@ -1,13 +1,23 @@
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, down, movefocus, d
bind = $mainMod, up, movefocus, u
bind = $mainMod, right, movefocus, r
bind = $mainMod, h, movefocus, l
bind = $mainMod, j, movefocus, d
bind = $mainMod, k, movefocus, u
bind = $mainMod, l, movefocus, r
bind = $mainMod, LEFT, movefocus, l
bind = $mainMod, DOWN, movefocus, d
bind = $mainMod, UP, movefocus, u
bind = $mainMod, RIGHT, movefocus, r
bind = $mainMod, H, movefocus, l
bind = $mainMod, J, movefocus, d
bind = $mainMod, K, movefocus, u
bind = $mainMod, L, movefocus, r
# Move windows
bind = $mainMod SHIFT, LEFT, movewindow, l
bind = $mainMod SHIFT, DOWN, movewindow, d
bind = $mainMod SHIFT, UP, movewindow, u
bind = $mainMod SHIFT, RIGHT, movewindow, r
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, J, movewindow, d
bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, L, movewindow, r
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
@ -33,13 +43,23 @@ bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
# Example special workspace (scratchpad)
bind = , F1, togglespecialworkspace, magic
bind = SHIFT, F1, movetoworkspace, special:magic
# Special workspace (scratchpad)
bind = $mainMod , S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
# Scroll through existing workspaces with mainMod + scroll and CTRL + left/right, h/l
bind = $mainMod, MOUSE_UP, workspace, e-1
bind = $mainMod CTRL, LEFT, workspace, e-1
bind = $mainMod CTRL, H, workspace, e-1
bind = $mainMod, MOUSE_DOWN, workspace, e+1
bind = $mainMod CTRL, RIGHT, workspace, e+1
bind = $mainMod CTRL, L, workspace, e+1
# Move window to workspace left/right
# Move workspace to display
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
@ -48,14 +68,14 @@ bindm = $mainMod, mouse:273, resizewindow
# Resize windows
bind = $mainMod, R, submap, resize
submap = resize
binde = , left, resizeactive, -15 0
binde = , down, resizeactive, 0 15
binde = , up, resizeactive, 0 -15
binde = , right, resizeactive, 15 0
binde = , h, resizeactive, -15 0
binde = , j, resizeactive, 0 15
binde = , k, resizeactive, 0 -15
binde = , l, resizeactive, 15 0
bind = , escape, submap, reset
binde = , LEFT, resizeactive, -15 0
binde = , DOWN, resizeactive, 0 15
binde = , UP, resizeactive, 0 -15
binde = , RIGHT, resizeactive, 15 0
binde = , H, resizeactive, -15 0
binde = , J, resizeactive, 0 15
binde = , K, resizeactive, 0 -15
binde = , L, resizeactive, 15 0
bind = , ESCAPE, submap, reset
submap = reset