🎉 initial commit

This commit is contained in:
João Dias
2024-07-09 16:02:19 -03:00
parent 6a304841c7
commit 41bf59df37
18 changed files with 899 additions and 2 deletions
+62
View File
@@ -0,0 +1,62 @@
################
## APPEARANCE ##
################
# See https://wiki.hyprland.org/Configuring/Variables for more information on how to configure appearance
general {
gaps_in = 5
gaps_out = 8
border_size = 2
col.active_border = rgb(89dceb)
col.inactive_border = rgb(313244)
resize_on_border = false
allow_tearing = false
layout = dwindle
}
decoration {
rounding = 12
active_opacity = 1.0
inactive_opacity = 0.98
drop_shadow = true
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
blur {
enabled = true
size = 3
passes = 1
vibrancy = 0.1696
}
}
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 5.5, myBezier
animation = windowsOut, 1, 5, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 3.5, default
animation = workspaces, 1, 6, default
}
dwindle {
pseudotile = true
preserve_split = true
}
+13
View File
@@ -0,0 +1,13 @@
###############
## AUTOSTART ##
###############
exec-once = /usr/lib/polkit-kde-authentication-agent-1 # exec kde auth agent if app asks for extra permissions
exec-once = /bin/waybar
exec-once = /bin/swaync # Run notification center / daemon
exec-once = /bin/hyprpaper
# App example
# exec-once = /opt/discord/Discord --start-minimized
+119
View File
@@ -0,0 +1,119 @@
################
### BINDINGS ###
################
# https://wiki.hyprland.org/Configuring/Keywords and https://wiki.hyprland.org/Configuring/Binds for information on how to configure input
$mainMod = SUPER
$terminal = kitty
$fileManager = nautilus
$menu = wofi --show drun
$screenshotDir = "/home/"+ $USER +"/Images/Screenshots"
input {
kb_layout = br
kb_variant = abnt2
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = true
}
}
gestures {
workspace_swipe = true
}
# Main binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, K, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod ALT, ENTER, fullscreen
# Function keys
bind = , code:121, exec, pamixer --mute # Mute
bind = , code:122, exec, pamixer -d 5 # Decrease volume
bind = , code:123, exec, pamixer -i 5 # Increase volume
bind = , code:173, exec, playerctl previous # Previous media
bind = , code:172, exec, playerctl play-pause # Resume media
bind = , code:171, exec, playerctl next # Next media
bind = , code:232, exec, brightnessctl s 5%- # Lower monitor brightness
bind = , code:233, exec, brightnessctl s +5% # Increase monitor brightness
# Hyprshot
bind = , Print, exec, hyprshot -m region --output-folder $screenshotDir
bind = $mainMod, Print, exec, hyprshot -m output --output-folder $screenshotDir
# Reloading Components
# Waybar
bind = $mainMod, F7, exec, pkill waybar && waybar
# Hyprpaper (Wallpaper)
bind = $mainMod, F8, exec, pkill hyprpaper && hyprpaper
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move windows with arrowkeys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
# Resize windows with arrowkeys
bind = $mainMod ALT, left, resizeactive, -20 0
bind = $mainMod ALT, right, resizeactive, 20 0
bind = $mainMod ALT, up, resizeactive, 0 -20
bind = $mainMod ALT, down, resizeactive, 0 20
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
+9
View File
@@ -0,0 +1,9 @@
#################
## ENVIRONMENT ##
#################
env = XCURSOR_SIZE, 24
env = HYPRCURSOR_SIZE, 24
env = QT_QPA_PLATFORMTHEME,qt6ct
env = ADW_DISABLE_PORTAL,1 # Allows dark theme in adwaita applications
+25
View File
@@ -0,0 +1,25 @@
################################################
## Retrozinndev's Hyprland configuration file ##
################################################
# Monitors
source = ~/.config/hypr/monitors.conf
# Autostart
source = ~/.config/hypr/autostart.conf
# Environment
source = ~/.config/hypr/environment.conf
# Devices
# source = ~/.config/hypr/devices.conf # Uncomment this line to apply file, remember to make it first!
# Appearance
source = ~/.config/hypr/appearance.conf
# Bindings
source = ~/.config/hypr/bindings.conf
# Rules
source = ~/.config/hypr/rules.conf
+4
View File
@@ -0,0 +1,4 @@
general {
# Looks empty... Maybe I should take some time to configure that.
}
+8
View File
@@ -0,0 +1,8 @@
unload unused
splash = true
# preload = ~/Imagens/Wallpapers/apple-dark.jpg
# wallpaper = , ~/Imagens/Wallpapers/apple-dark.jpg # use ´contain:´ before wallpaper to preserve original size
+8
View File
@@ -0,0 +1,8 @@
##############
## MONITORS ##
##############
# Configure yout monitor(s) here! See https://wiki.hyprland.org/Configuring/Monitors for more information on how to do that!
monitor = , preferred, auto, auto, vrr, 1 # vrr enables variable refresh rate for gaming
+8
View File
@@ -0,0 +1,8 @@
##################
## WINDOW RULES ##
##################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ and https://wiki.hyprland.org/Configuring/Workspace-Rules/ for information on how to configure this
windowrulev2 = suppressevent maximize, class:.*