hyprland config with source files

This commit is contained in:
Thomas
2024-08-08 10:32:38 +02:00
parent 4d86e8c2bc
commit b6d033a527
3 changed files with 27 additions and 20 deletions
+5 -20
View File
@@ -68,7 +68,7 @@ env = XDG_SESSION_TYPE,wayland
env = GDM_BACKEND,nvidia-drm env = GDM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1 env = WLR_NO_HARDWARE_CURSORS,1
env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORMTHEME,qt6ct
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24
@@ -88,7 +88,7 @@ general {
border_size = 2 border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = $blue col.active_border = $blue $sky 45deg
col.inactive_border = $surface0 col.inactive_border = $surface0
# Set to true enable resizing windows by clicking and dragging on borders and gaps # Set to true enable resizing windows by clicking and dragging on borders and gaps
@@ -198,18 +198,7 @@ device {
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
bind = CTRL ALT, T, exec, $terminal source = ~/.config/hypr/keybinds.conf
bind = ALT, TAB, exec, rofi -show window -theme ~/.config/rofi/launchers/type-2/style-15.rasi
bind = , XF86Calculator, exec, gnome-calculator
bind = SUPER, space, exec, ~/.config/rofi/launchers/type-2/launcher.sh
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# Screenshots
bind = CTRL SHIFT, print, exec, $HOME/.config/hypr/scripts/screenshots/captureAll.sh
bind = CTRL, print, exec, $HOME/.config/hypr/scripts/screenshots/captureScreen.sh
bind = , print, exec, $HOME/.config/hypr/scripts/screenshots/captureArea.sh
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal bind = $mainMod, Q, exec, $terminal
@@ -277,11 +266,7 @@ bindm = $mainMod, mouse:273, resizewindow
# Example windowrule v2 # Example windowrule v2
# windowrulev2 = float,class:(kitty),title:(kitty) # windowrulev2 = float,class:(kitty),title:(kitty)
windowrulev2 = float,class:(org.gnome.Nautilus)
windowrulev2 = float,class:(Signal)
windowrulev2 = pin,class:(Signal)
#windowrulev2 = center, class:.*
#windowrulev2 = size 1000 1000, class:.*
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
source = ~/.config/hypr/windowrules.conf
+12
View File
@@ -0,0 +1,12 @@
bind = CTRL ALT, T, exec, $terminal
bind = ALT, TAB, exec, rofi -show window -theme ~/.config/rofi/launchers/type-2/style-15.rasi
bind = , XF86Calculator, exec, gnome-calculator
bind = SUPER, space, exec, ~/.config/rofi/launchers/type-2/launcher.sh
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# Screenshots
bind = CTRL SHIFT, print, exec, $HOME/.config/hypr/scripts/screenshots/captureAll.sh
bind = CTRL, print, exec, $HOME/.config/hypr/scripts/screenshots/captureScreen.sh
bind = , print, exec, $HOME/.config/hypr/scripts/screenshots/captureArea.sh
+10
View File
@@ -0,0 +1,10 @@
windowrulev2 = float,class:(org.gnome.Nautilus)
windowrulev2 = float,class:(org.gnome.Calculator)
windowrulev2 = float,class:(Signal)
windowrulev2 = pin,class:(Signal)
# REAPER
#windowrulev2 = tile,class:(REAPER)
windowrulev2 = move cursor,class:REAPER,floating:1
windowrulev2 = nofocus,class:REAPER,title:^(menu)$
windowrulev2 = nofocus,class:REAPER,title:^$