mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
hyprland
This commit is contained in:
parent
73574e3464
commit
921942a8ad
1 changed files with 43 additions and 28 deletions
|
|
@ -1,17 +1,13 @@
|
|||
|
||||
# Monitors
|
||||
# ------------
|
||||
|
||||
|
||||
# -----------------------------------------
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
#monitor=,preferred,auto,auto
|
||||
monitor=DP-1,3440x1440@100,0x0,1
|
||||
monitor=HDMI-A-1,1920x1080@60,760x-1080,1
|
||||
|
||||
|
||||
# Variables
|
||||
# -------------
|
||||
# -----------------------------------------
|
||||
|
||||
# colors
|
||||
$color_border = rgb(1a1c2d)
|
||||
|
|
@ -23,21 +19,14 @@ $terminal = alacritty
|
|||
$menu = wofi --show drun
|
||||
$run_prog = wofi --show run
|
||||
|
||||
# Settings
|
||||
# -----------------------------------------
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,22
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = pnx-us-se
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 0,0,-1,-1
|
||||
|
|
@ -49,15 +38,24 @@ general {
|
|||
allow_tearing = false
|
||||
}
|
||||
|
||||
input {
|
||||
kb_layout = pnx-us-se
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
blur {
|
||||
enabled = false
|
||||
size = 1
|
||||
passes = 2
|
||||
}
|
||||
|
||||
drop_shadow = no
|
||||
drop_shadow = false
|
||||
}
|
||||
|
||||
animations {
|
||||
|
|
@ -71,27 +69,41 @@ animations {
|
|||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = no # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
pseudotile = no # master switch for pseudotiling.
|
||||
preserve_split = yes
|
||||
no_gaps_when_only = yes
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = off
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
# disable the anime mascot wallpapers
|
||||
force_default_wallpaper = 0
|
||||
# Disable hyperland logo and splash
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
# Set background color instead.
|
||||
background_color = 0x000000
|
||||
# Disable autoreload as i can reload myself.
|
||||
disable_autoreload = true
|
||||
# Dont hide my cursor!
|
||||
hide_cursor_on_key_press = false
|
||||
}
|
||||
|
||||
debug {
|
||||
overlay = false
|
||||
disable_logs = false
|
||||
}
|
||||
|
||||
# Workspaces and windows
|
||||
# -----------------------------------------
|
||||
|
||||
workspace = 1, monitor:DP-1, default: true
|
||||
workspace = 2, monitor:DP-1
|
||||
workspace = 3, monitor:DP-1
|
||||
|
|
@ -106,11 +118,11 @@ windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
|||
windowrulev2 = workspace 2, class:firefox
|
||||
windowrulev2 = workspace 9, class:org.telegram.desktop.*
|
||||
|
||||
# Keybinds
|
||||
# -----------------------------------------
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, X, killactive,
|
||||
#bind = $mainMod, M, exit,
|
||||
|
|
@ -159,7 +171,10 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Wallpaper
|
||||
# Autostart
|
||||
# -------------
|
||||
|
||||
# set wallpaper
|
||||
exec-once=swaybg -i /usr/share/backgrounds/majestic-mountain-peak-reflected-flowing-blue-water-generative-ai.jpg
|
||||
|
||||
# Bar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue