feat: More hyprland configuration

This commit is contained in:
2025-09-23 12:06:51 -04:00
parent 8bc955b12f
commit b7edc19958
6 changed files with 46 additions and 43 deletions

View File

@@ -1,3 +1,9 @@
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
# Cursor size
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

View File

@@ -6,16 +6,6 @@
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/
# Please note not all available settings / options are set here.
# For a full list, see the wiki
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor= ,preferred,auto,auto
monitor = HDMI-A-1, 3440x1440@59.97, 0x0, 1
#################
### AUTOSTART ###
@@ -26,12 +16,7 @@ monitor = HDMI-A-1, 3440x1440@59.97, 0x0, 1
exec-once = waybar & swaync & elephant & hyprpaper
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
source = ~/.config/hypr/windows.conf
source = ~/.config/hypr/env.conf
###################
@@ -198,28 +183,6 @@ device {
sensitivity = -0.5
}
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
windowrulev2 = float,class:^(float)$
#windowrule = float,title:InstallWebApp
windowrulev2 = size 800 600,class:^(float)$,title:^(Install Web App)$
windowrulev2 = 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:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
workspace = special:hidden, invisible
source = ~/.config/hypr/windows.conf
# Include the keybinds file.
source = ~/.config/hypr/keybinds.conf

View File

@@ -13,7 +13,7 @@ $mainMod = SUPER # Sets "Command/Windows" key as main modifier
#
# Set programs that you use
$terminal = ghostty
$browser = zen-browser #chromium
$browser = zen-browser
$fileManager = $terminal -e yazi
$fileBrowser = nautilus
$menu = walker
@@ -35,7 +35,7 @@ $youtube = $pwa "https://youtube.com"
# Apps
bind = $mainMod, Space, exec, $menu # launcher (set above)
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, A, exec, $launch ChatGPT
bind = $mainMod, A, exec, $pwa "https://chatgpt.com"
bind = $mainMod, B, exec, $browser
bind = $mainMod SHIFT, B, exec, $browser --private-window
bind = $mainMod, C, exec, $config
@@ -45,7 +45,7 @@ bind = $mainMod, E, exec, $email
bind = $mainMod, F, exec, $fileManager
bind = $mainMod, K, exec, $launch Komodo
bind = $mainMod SHIFT, F, exec, $fileBrowser
bind = $mainMod SHIFT, G, exec, $gitea
bind = $mainMod, G, exec, $gitea
bind = $mainMod, N, exec, $neovim
bind = $mainMod, P, exec, $protonPass
bind = $mainMod, Y, exec, $youtube

View File

@@ -0,0 +1,9 @@
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor= ,preferred,auto,auto
monitor = HDMI-A-1, 3440x1440@59.97, 0x0, 1

25
hypr/windows.conf Normal file
View File

@@ -0,0 +1,25 @@
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
windowrule = float,class:^(float)$
#windowrule = float,title:InstallWebApp
windowrule = size 800 600,class:^(float)$,title:^(Install Web App)$
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:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
#windowrule = float, class:.*pass.proton.me.*
workspace = special:hidden, invisible