More hyprland
This commit is contained in:
@ -12,8 +12,19 @@ monitor=,preferred,auto,auto
|
|||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# 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 = 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/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
input {
|
input {
|
||||||
@ -29,16 +40,34 @@ input {
|
|||||||
natural_scroll = no
|
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 {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
|
{% if hostname == "sputnik" %}
|
||||||
|
gaps_out = 10
|
||||||
|
{% else %}
|
||||||
gaps_out = 20
|
gaps_out = 20
|
||||||
|
{% end %}
|
||||||
border_size = 2
|
border_size = 2
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
col.active_border = rgba(f5deb3ff) rgba(f5deb3ee) 45deg
|
||||||
col.inactive_border = rgba(595959aa)
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
@ -98,12 +127,13 @@ device:epic-mouse-v1 {
|
|||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example windowrule v1
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/
|
||||||
# windowrule = float, ^(kitty)$
|
windowrule=float,title:Volume
|
||||||
# Example windowrule v2
|
windowrule=size 300 100,title:Volume
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
windowrule=move 100%-375 75,title:Volume
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
windowrule=noanim,title:Volume
|
||||||
|
windowrule=rounding 35,title:Volume
|
||||||
|
windowrule=nofocus,title:Volume
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
$mainMod = ALT
|
$mainMod = ALT
|
||||||
@ -112,7 +142,7 @@ $mainMod = ALT
|
|||||||
bind = $mainMod, Return, exec, alacritty
|
bind = $mainMod, Return, exec, alacritty
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
#bind = $mainMod, N, exec, screenlock, #TODO
|
bind = $mainMod_SHIFT, L, exec, screenlock
|
||||||
#bind = $mainMod, E, exec, dolphin
|
#bind = $mainMod, E, exec, dolphin
|
||||||
bind = $mainMod, Space, togglefloating,
|
bind = $mainMod, Space, togglefloating,
|
||||||
bind = $mainMod, D, exec, wofi --show drun
|
bind = $mainMod, D, exec, wofi --show drun
|
||||||
@ -120,6 +150,16 @@ bind = $mainMod, P, pseudo, # dwindle
|
|||||||
bind = $mainMod, E, togglesplit, # dwindle
|
bind = $mainMod, E, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen,
|
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
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, H, movefocus, l
|
bind = $mainMod, H, movefocus, l
|
||||||
bind = $mainMod, L, movefocus, r
|
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 + 180 degrees -> 6
|
||||||
# flipped + 270 degrees -> 7
|
# flipped + 270 degrees -> 7
|
||||||
|
|
||||||
|
exec-once=hyprpaper
|
||||||
exec-once=waybar
|
exec-once=waybar
|
||||||
2
tree/.config/hypr/hyprpaper.conf
Normal file
2
tree/.config/hypr/hyprpaper.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
preload = ~/.config/wallpapers/2560x1440/rocket.jpg
|
||||||
|
wallpaper = ,~/.config/wallpapers/2560x1440/rocket.jpg
|
||||||
@ -25,6 +25,9 @@ end
|
|||||||
{% if hostname == "buran" %}
|
{% if hostname == "buran" %}
|
||||||
# list display outputs using hyprctl
|
# list display outputs using hyprctl
|
||||||
set outputs (hyprctl monitors | rg Monitor | sed 's/Monitor //' | sed 's/ (ID.*$//')
|
set outputs (hyprctl monitors | rg Monitor | sed 's/Monitor //' | sed 's/ (ID.*$//')
|
||||||
|
{% elif hostname == "sputnik" %}
|
||||||
|
# list display outputs using hyprctl
|
||||||
|
set outputs (hyprctl monitors | rg Monitor | sed 's/Monitor //' | sed 's/ (ID.*$//')
|
||||||
{% else %}
|
{% else %}
|
||||||
# list display outputs using swaymsg
|
# list display outputs using swaymsg
|
||||||
set outputs (swaymsg -t get_outputs -r | grep "name" | sed 's/^.*"name": "//' | sed 's/",$//')
|
set outputs (swaymsg -t get_outputs -r | grep "name" | sed 's/^.*"name": "//' | sed 's/",$//')
|
||||||
|
|||||||
Reference in New Issue
Block a user