regular update
This commit is contained in:
parent
d33ecc32e7
commit
3347dada32
22 changed files with 322 additions and 70 deletions
|
|
@ -142,22 +142,22 @@ misc {
|
|||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrulev2 = suppressevent maximize, class:.*
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
# Albert
|
||||
windowrule=noborder,^(albert)$
|
||||
windowrule=noblur,^(albert)$
|
||||
windowrule=noshadow,^(albert)$
|
||||
windowrule=float,^(albert)$
|
||||
windowrule=stayfocused,^(albert)$
|
||||
windowrule=nodim,^(albert)$
|
||||
windowrule=noborder,class:^(albert)$
|
||||
windowrule=noblur,class:^(albert)$
|
||||
windowrule=noshadow,class:^(albert)$
|
||||
windowrule=float,class:^(albert)$
|
||||
windowrule=stayfocused,class:^(albert)$
|
||||
windowrule=nodim,class:^(albert)$
|
||||
|
||||
# Prism Launcher
|
||||
windowrulev2=pseudo, class:(org.prismlauncher.PrismLauncher)
|
||||
windowrulev2=size 65% 70%, class:(org.prismlauncher.PrismLauncher), title:^(Prism Launcher .*)$
|
||||
windowrule=pseudo, class:(org.prismlauncher.PrismLauncher)
|
||||
windowrule=size 65% 70%, class:(org.prismlauncher.PrismLauncher), title:^(Prism Launcher .*)$
|
||||
|
||||
# TODO Automatically fullscreen single apps
|
||||
# - Seems impossible for now (try mixing with workspace rules)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
#$fileManager = cosmic-files
|
||||
$fileManager = nautilus
|
||||
$menu = albert toggle
|
||||
$notificationsManager = fnott
|
||||
|
||||
|
|
|
|||
150
.config/hypr/config/input-en.conf
Normal file
150
.config/hypr/config/input-en.conf
Normal file
|
|
@ -0,0 +1,150 @@
|
|||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
### English configuration (not finished yet)
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0.1 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
disable_while_typing = false
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# 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
|
||||
|
||||
# Main desktop controls
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, R, exec, $menu # Omnibar
|
||||
bind = $mainMod, D, exec, $menu # Legacy menu shortcut
|
||||
bind = $mainMod, L, exec, hyprlock # Lockscreen
|
||||
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh # Toggle sidebar
|
||||
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh # Reload desktop
|
||||
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh # Gamemode
|
||||
bind = $mainMod SHIFT, M, exit, # Exit desktop session
|
||||
|
||||
# Shortcuts
|
||||
bind = $mainMod, RETURN, exec, $terminal
|
||||
bind = $mainMod, SPACE, exec, $terminal
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bindel = , XF86Launch1, exec, kitty vim ~/.config/hypr/config
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Layout
|
||||
bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod, V, togglesplit, # Horizontal/vertical split
|
||||
bind = $mainMod, T, togglefloating,
|
||||
bind = $mainMod, H, pseudo, # Toggle pseudo-tiling
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, ampersand, workspace, 1
|
||||
bind = $mainMod, eacute, workspace, 2
|
||||
bind = $mainMod, quotedbl, workspace, 3
|
||||
bind = $mainMod, apostrophe, workspace, 4
|
||||
bind = $mainMod, parenleft, workspace, 5
|
||||
bind = $mainMod, minus, workspace, 6
|
||||
bind = $mainMod, egrave, workspace, 7
|
||||
bind = $mainMod, underscore, workspace, 8
|
||||
bind = $mainMod, ccedilla, workspace, 9
|
||||
bind = $mainMod, agrave, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, eacute, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, minus, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, egrave, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, underscore, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, agrave, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Minimize function (uses scratchpad)
|
||||
# For testing, may be removed in future releases
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
bind = $mainMod, N, movetoworkspace, +0
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
bind = $mainMod, N, movetoworkspace, special:magic
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
|
||||
# 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
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
|
||||
# Function keys
|
||||
|
||||
## Volume
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
|
||||
## Brightness
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 5%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 5%-
|
||||
bindel = SHIFT, XF86MonBrightnessUp, exec, brightnessctl s 1%+
|
||||
bindel = SHIFT, XF86MonBrightnessDown, exec, brightnessctl s 1%-
|
||||
|
||||
## Player controls
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
## Screenshot
|
||||
bind = , Print, exec, ~/.config/hypr/scripts/screenshot.sh
|
||||
|
||||
## Touchpad toggle
|
||||
### On galaxy books, pressing the disable touchpad key also triggers SUPER and
|
||||
### CONTROL keys, this is why there are present here
|
||||
bind = SUPER CONTROL, XF86TouchpadToggle, exec, ~/.config/hypr/scripts/toggle-touchpad.sh
|
||||
|
||||
## Testing
|
||||
#bind = $mainMod, TAB, overview:toggle, toggle
|
||||
|
|
@ -42,18 +42,22 @@ device {
|
|||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
# Main desktop controls
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, R, exec, $menu # Omnibar
|
||||
bind = $mainMod, D, exec, $menu # Legacy menu shortcut
|
||||
bind = $mainMod, L, exec, hyprlock # Lockscreen
|
||||
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh # Toggle sidebar
|
||||
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh # Reload desktop
|
||||
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh # Gamemode
|
||||
bind = $mainMod SHIFT, M, exit, # Exit desktop session
|
||||
|
||||
# Shortcuts
|
||||
bind = $mainMod, RETURN, exec, $terminal
|
||||
bind = $mainMod, SPACE, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, T, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, H, pseudo, # dwindle
|
||||
bind = $mainMod, V, togglesplit, # dwindle
|
||||
bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod, L, exec, hyprlock
|
||||
bindel = , XF86Launch1, exec, kitty vim ~/.config/hypr/config
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
|
|
@ -61,6 +65,12 @@ bind = $mainMod, right, movefocus, r
|
|||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Layout
|
||||
bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod, V, togglesplit, # Horizontal/vertical split
|
||||
bind = $mainMod, T, togglefloating,
|
||||
bind = $mainMod, H, pseudo, # Toggle pseudo-tiling
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, ampersand, workspace, 1
|
||||
bind = $mainMod, eacute, workspace, 2
|
||||
|
|
@ -105,40 +115,34 @@ bind = $mainMod, mouse_up, workspace, e-1
|
|||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
|
||||
# Function keys
|
||||
|
||||
## Volume
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 6%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 6%-
|
||||
bindel = SHIFT, XF86MonBrightnessUp, exec, brightnessctl s 2%+
|
||||
bindel = SHIFT, XF86MonBrightnessDown, exec, brightnessctl s 2%-
|
||||
## Brightness
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 5%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 5%-
|
||||
bindel = SHIFT, XF86MonBrightnessUp, exec, brightnessctl s 1%+
|
||||
bindel = SHIFT, XF86MonBrightnessDown, exec, brightnessctl s 1%-
|
||||
|
||||
# (Requires playerctl)
|
||||
## Player controls
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Function keys
|
||||
|
||||
# Settings
|
||||
bindel = , XF86Launch1, exec, kitty vim ~/.config/hypr/config
|
||||
# Screenshot
|
||||
## Screenshot
|
||||
bind = , Print, exec, ~/.config/hypr/scripts/screenshot.sh
|
||||
# Touchpad toggle
|
||||
# (On galaxy books, pressing the disable touchpad key also triggers SUPER and CONTROL keys, this is why there are present here)
|
||||
|
||||
## Touchpad toggle
|
||||
### On galaxy books, pressing the disable touchpad key also triggers SUPER and
|
||||
### CONTROL keys, this is why there are present here
|
||||
bind = SUPER CONTROL, XF86TouchpadToggle, exec, ~/.config/hypr/scripts/toggle-touchpad.sh
|
||||
|
||||
# Desktop related shortcuts
|
||||
|
||||
# Toggle waybar
|
||||
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh
|
||||
|
||||
# Reload desktop
|
||||
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh
|
||||
|
||||
# Gamemode
|
||||
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
## Testing
|
||||
#bind = $mainMod, TAB, overview:toggle, toggle
|
||||
|
|
|
|||
20
.config/hypr/config/minimalist-mod.conf
Normal file
20
.config/hypr/config/minimalist-mod.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Mod config file to make the desktop more minimalist
|
||||
|
||||
general {
|
||||
gaps_in = 0
|
||||
gaps_out = 0
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
|
||||
shadow {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = false
|
||||
|
||||
}
|
||||
12
.config/hypr/config/plugins.conf
Normal file
12
.config/hypr/config/plugins.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Plugins settings
|
||||
|
||||
plugin {
|
||||
overview {
|
||||
# disableGestures = true
|
||||
reverseSwipe = true
|
||||
|
||||
overrideGaps = true
|
||||
gapsIn = 10
|
||||
gapsOut = 20
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue