More hyprland

This commit is contained in:
2023-10-22 22:22:04 +02:00
parent 85c74a418d
commit 6295099bd9
3 changed files with 56 additions and 10 deletions

View File

@ -12,8 +12,19 @@ monitor=,preferred,auto,auto
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Some default env vars.
# default env vars.
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = XCURSOR_SIZE,24
env = PATH,$HOME/.local/bin:$HOME/.cargo/bin:$PATH
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt5ct
env = GTK_USE_PORTAL,1
env = BROWSER,firefox
env = MOZ_ENABLE_WAYLAND,1
env = EDITOR,nvim
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
@ -29,16 +40,34 @@ input {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
# mouse sensitivity, -1.0 - 1.0, 0 means no modification.
{% if hostname == "sputnik" %}
sensitivity = -0.9
{% else %}
sensitivity = 0
{% end %}
}
# DIY keyboard config
device:tux-tangentbord1 {
kb_layout = us
kb_variant =
kb_model =
kb_options = compose:menu
kb_rules =
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
{% if hostname == "sputnik" %}
gaps_out = 10
{% else %}
gaps_out = 20
{% end %}
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.active_border = rgba(f5deb3ff) rgba(f5deb3ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
@ -98,12 +127,13 @@ device:epic-mouse-v1 {
sensitivity = -0.5
}
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Window-Rules/
windowrule=float,title:Volume
windowrule=size 300 100,title:Volume
windowrule=move 100%-375 75,title:Volume
windowrule=noanim,title:Volume
windowrule=rounding 35,title:Volume
windowrule=nofocus,title:Volume
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = ALT
@ -112,7 +142,7 @@ $mainMod = ALT
bind = $mainMod, Return, exec, alacritty
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
#bind = $mainMod, N, exec, screenlock, #TODO
bind = $mainMod_SHIFT, L, exec, screenlock
#bind = $mainMod, E, exec, dolphin
bind = $mainMod, Space, togglefloating,
bind = $mainMod, D, exec, wofi --show drun
@ -120,6 +150,16 @@ bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, E, togglesplit, # dwindle
bind = $mainMod, F, fullscreen,
bindl = , xf86audiolowervolume, exec, voldown
bindl = , xf86audioraisevolume, exec, volup
bindl = , xf86audiomute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bindl = , xf86audiomicmute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindl = , xf86monbrightnessdown, exec, brightnessctl --min-value=10 set 10%-
bindl = , xf86monbrightnessup, exec, brightnessctl --min-value=10 set +10%
bindl = , xf86audioplay, exec, playerctl play-pause
bindl = , xf86audionext, exec, playerctl next
bindl = , xf86audioprev, exec, playerctl previous
# Move focus with mainMod + arrow keys
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
@ -171,4 +211,5 @@ monitor=DP-3,2560x1440@59.95100,5666x0,1.0,transform,3
# flipped + 180 degrees -> 6
# flipped + 270 degrees -> 7
exec-once=hyprpaper
exec-once=waybar

View File

@ -0,0 +1,2 @@
preload = ~/.config/wallpapers/2560x1440/rocket.jpg
wallpaper = ,~/.config/wallpapers/2560x1440/rocket.jpg