mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Updates to hyprland, adds waybar (default config for now), adds arch linux notes file to start tracking things that are needed when setting up a new system.
This commit is contained in:
@@ -59,7 +59,7 @@ general {
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
layout = master
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
@@ -132,11 +132,14 @@ animations {
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
force_split = 2 # always split to the right or bottom
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
mfact = 0.50 # Set master window to be 50%
|
||||
orientation = right # set master to be on the right.
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||
|
||||
@@ -60,11 +60,13 @@ bind = $mainMod, V, togglefloating
|
||||
#bind = $mainMod, J, togglesplit, # dwindle
|
||||
#
|
||||
# Screenshots
|
||||
bind = $mainMod SHIFT ALT, 3, exec, hyprshot -m window -o ~/Pictures
|
||||
bind = $mainMod SHIFT ALT, 4, exec, hyprshot -m region -o ~/Pictures
|
||||
bind = $mainMod SHIFT ALT, 3, exec, hyprshot -m window -o ~/Pictures
|
||||
|
||||
bind = CTRL, F, exec, hyprctl dispatch togglefloating \
|
||||
&& hyprctl dispatch centerwindow
|
||||
bind = CTRL, F, exec, /home/michael/.local/bin/window-toggle-floating
|
||||
|
||||
# hyprctl dispatch togglefloating \
|
||||
# && hyprctl dispatch centerwindow
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, H, movefocus, l
|
||||
@@ -77,6 +79,16 @@ bind = $mainMod SHIFT, L, movewindow, r
|
||||
bind = $mainMod SHIFT, K, movewindow, u
|
||||
bind = $mainMod SHIFT, J, movewindow, d
|
||||
|
||||
# FIX: Changes size of window, this works a different depending on if
|
||||
# the window is on the right or left of the screen.
|
||||
#
|
||||
# Resize horizontally
|
||||
bind = $mainMod, EQUAL, resizeactive, 20 0
|
||||
bind = $mainMod, MINUS, resizeactive, -20 0
|
||||
# Resize vertically
|
||||
bind = $mainMod SHIFT, EQUAL, resizeactive, 0 20
|
||||
bind = $mainMod SHIFT, MINUS, resizeactive, 0 -20
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor= ,preferred,auto,auto
|
||||
monitor = HDMI-A-1, 3440x1440@59.97, 0x0, 1
|
||||
#monitor = HDMI-A-1, 3440x1440@59.97, 0x0, 1
|
||||
|
||||
|
||||
|
||||
@@ -13,8 +13,11 @@ windowrule = center,class:^(float)$,title:^(Install Web App)$
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
|
||||
|
||||
# Just a dash of opacity by default.
|
||||
windowrule = opacity 0.97 0.92, class:.*
|
||||
# No opacity on youtube.
|
||||
windowrule = opacity 1.0, class:.*youtube.com.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
Reference in New Issue
Block a user