Updates
This commit is contained in:
@@ -8,73 +8,83 @@
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Monitor Setup
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
# -----------------------------------------------------
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# -----------------------------------------------------
|
||||
# Autostart
|
||||
# -----------------------------------------------------
|
||||
exec-once = waybar
|
||||
exec-once = swww init
|
||||
exec-once = ~/dotfiles/scripts/updatewal-swww.sh
|
||||
exec-once = dunst
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
exec-once = waybar & swww init & ~/dotfiles/scripts/updatewal-swww.sh
|
||||
# -----------------------------------------------------
|
||||
# Load pywal color file
|
||||
# -----------------------------------------------------
|
||||
source = /home/raabe/.cache/wal/colors-hyprland.conf
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Some default env vars.
|
||||
# -----------------------------------------------------
|
||||
# Env vars
|
||||
# -----------------------------------------------------
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
# -----------------------------------------------------
|
||||
# Keyboard layout and mouse
|
||||
# -----------------------------------------------------
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# -----------------------------------------------------
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 10
|
||||
gaps_out = 20
|
||||
border_size = 3
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
# Single Color for active window
|
||||
col.active_border = $color11
|
||||
# Color Gradient for active window
|
||||
# col.active_border = $color11 $background $background $color14 45deg
|
||||
col.inactive_border = rgba(ffffffee)
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# -----------------------------------------------------
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# -----------------------------------------------------
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
@@ -83,6 +93,9 @@ animations {
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Layouts
|
||||
# -----------------------------------------------------
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
@@ -105,22 +118,19 @@ device:epic-mouse-v1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# -----------------------------------------------------
|
||||
# Window rules
|
||||
# -----------------------------------------------------
|
||||
windowrule = tile,title:^(Outlook)(.*)$
|
||||
windowrule = tile,title:^(Teams)(.*)$
|
||||
# windowrule = tile, ^(brave)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrule = tile,title:^(Microsoft)(.*)$
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# -----------------------------------------------------
|
||||
# Key bindings
|
||||
# -----------------------------------------------------
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, RETURN, exec, alacritty
|
||||
bind = $mainMod, Q, killactive
|
||||
bind = $mainMod CTRL, Q, exit,
|
||||
bind = $mainMod CTRL, Q, exec, ~/dotfiles/scripts/powermenu-hypr.sh
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
bind = $mainMod, T, togglefloating
|
||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/scripts/updatewal-swww.sh
|
||||
@@ -128,14 +138,11 @@ bind = $mainMod, B, exec, brave
|
||||
bind = $mainMod CTRL, RETURN, exec, ~/dotfiles/scripts/applauncher.sh
|
||||
bind = $mainMod, P, pseudo # dwindle
|
||||
bind = $mainMod, J, togglesplit # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/reload.sh
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
@@ -146,8 +153,6 @@ bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
@@ -158,11 +163,15 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# 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
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Misc settings
|
||||
# -----------------------------------------------------
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user