summaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-03 21:29:53 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-03 21:29:53 +0530
commit3718ac5eb3aae770e0b50e44b514c276376f1bcf (patch)
tree9db1e5af4964e6b1e03f0ecf79f18a8d9de87491 /.config/hypr
parent216cf47a22e69ec42ba26118dc92154d5ef95862 (diff)
move to hyprland
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/hyprland.conf296
-rw-r--r--.config/hypr/hyprlock.conf125
-rw-r--r--.config/hypr/hyprpaper.conf2
-rw-r--r--.config/hypr/hyprsunset.conf12
4 files changed, 435 insertions, 0 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
new file mode 100644
index 0000000..cd2cd82
--- /dev/null
+++ b/.config/hypr/hyprland.conf
@@ -0,0 +1,296 @@
+autogenerated = 0
+
+env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/
+
+
+plugin {
+ split-monitor-workspaces {
+ count = 10
+ keep_focused = 1
+ enable_notifications = 0
+ enable_persistent_workspaces = 1
+ }
+}
+
+# This is an example Hyprland config file.
+# Refer to the wiki for more information.
+# https://wiki.hypr.land/Configuring/
+
+# Please note not all available settings / options are set here.
+# For a full list, see the wiki
+
+# You can split this configuration into multiple files
+# Create your files separately and then link them to this file like this:
+source = ~/.config/hypr/monitors.conf
+
+
+###################
+### MY PROGRAMS ###
+###################
+# See https://wiki.hypr.land/Configuring/Keywords/
+
+# Set programs that you use
+$terminal = alacritty
+$fileManager = pcmanfm
+# $menu = rofi -show drun
+$menu = wofi --show drun
+$browser = brave
+
+
+#################
+### AUTOSTART ###
+#################
+
+# Autostart necessary processes (like notifications daemons, status bars, etc.)
+# Or execute your favorite apps at launch like this:
+
+exec-once = hyprpm reload -n
+exec-once = waybar & hyprpaper & swaync & hyprsunset
+exec-once = systemctl --user start hyprpolkitagent
+
+plugin {
+ hyprsplit {
+ num_workspaces = 10
+ persistent_workspaces = true
+ }
+}
+
+#############################
+### ENVIRONMENT VARIABLES ###
+#############################
+
+# See https://wiki.hypr.land/Configuring/Environment-variables/
+
+env = XCURSOR_SIZE,24
+env = HYPRCURSOR_SIZE,24
+
+
+###################
+### PERMISSIONS ###
+###################
+
+# See https://wiki.hypr.land/Configuring/Permissions/
+# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
+# for security reasons
+
+# ecosystem {
+# enforce_permissions = 1
+# }
+
+# permission = /usr/(bin|local/bin)/grim, screencopy, allow
+# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
+# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
+
+
+#####################
+### LOOK AND FEEL ###
+#####################
+
+# Refer to https://wiki.hypr.land/Configuring/Variables/
+
+# https://wiki.hypr.land/Configuring/Variables/#general
+general {
+ gaps_in = 10
+ gaps_out = 10
+ border_size = 2
+ resize_on_border = false
+ allow_tearing = false
+ col.active_border = rgba(1b9993ee)
+ col.inactive_border = rgba(888e8eaa)
+ layout = master
+}
+
+# https://wiki.hypr.land/Configuring/Variables/#decoration
+decoration {
+ rounding = 0
+
+ blur {
+ enabled = true
+ size = 3
+ passes = 1
+ }
+
+ # drop_shadow = yes
+ # shadow_range = 4
+ # shadow_render_power = 3
+ # col.shadow = rgba(1a1a1aee)
+}
+# https://wiki.hypr.land/Configuring/Variables/#animations
+
+animations {
+ enabled = yes
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+ animation = windows, 1, 7, myBezier
+ animation = windowsOut, 1, 7, default, popin 80%
+ animation = border, 1, 10, default
+ animation = borderangle, 1, 8, default
+ animation = fade, 1, 7, default
+ animation = workspaces, 1, 6, default
+}
+
+# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
+# "Smart gaps" / "No gaps when only"
+# uncomment all if you wish to use that.
+# workspace = w[tv1], gapsout:0, gapsin:0
+# workspace = f[1], gapsout:0, gapsin:0
+# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
+# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
+# windowrule = bordersize 0, floating:0, onworkspace:f[1]
+# windowrule = rounding 0, floating:0, onworkspace:f[1]
+
+# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
+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
+}
+
+# See https://wiki.hypr.land/Configuring/Master-Layout/ for more
+master {
+ new_status = master
+ # new_on_top = true
+
+}
+
+# https://wiki.hypr.land/Configuring/Variables/#misc
+misc {
+ force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
+ disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :(
+}
+
+
+#############
+### INPUT ###
+#############
+
+# https://wiki.hypr.land/Configuring/Variables/#input
+input {
+ kb_layout = us
+ kb_variant =
+ kb_model =
+ kb_options =
+ kb_rules =
+
+ follow_mouse = 1
+
+ sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+
+ touchpad {
+ natural_scroll = false
+ }
+
+ repeat_delay = 300
+ repeat_rate = 50
+}
+
+# https://wiki.hypr.land/Configuring/Variables/#gestures
+gestures {
+ workspace_swipe = false
+}
+
+# Example per-device config
+# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
+device {
+ name = epic-mouse-v1
+ sensitivity = -0.5
+}
+
+
+###################
+### KEYBINDINGS ###
+###################
+
+# See https://wiki.hypr.land/Configuring/Keywords/
+$mainMod = SUPER # Sets "Windows" key as main modifier
+
+# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
+bind = $mainMod, Return, exec, $terminal
+bind = $mainMod SHIFT, X, killactive,
+bind = $mainMod SHIFT, Q, exit,
+bind = $mainMod, F, Fullscreen
+bind = $mainMod SHIFT, R, togglefloating,
+bind = $mainMod, R, exec, $menu
+bind = $mainMod SHIFT, P, pseudo, # dwindle
+bind = $mainMod, J, togglesplit, # dwindle
+bind = $mainMod, tab, cyclenext
+bind = $mainMod, b, exec, killall waybar || waybar
+
+# Applications
+bind = $mainMod, W, exec, $browser
+
+# Music Controls
+bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
+bind = $mainMod, p, exec, mpc toggle
+bind = $mainMod, comma, exec, mpc seek -10
+bind = $mainMod, period, exec, mpc seek -10
+
+# Move focus with mainMod + arrow keys
+bind = $mainMod, h, movefocus, l
+bind = $mainMod, j, movefocus, r
+bind = $mainMod, k, movefocus, u
+bind = $mainMod, l, movefocus, d
+
+# Switch workspaces with mainMod + [0-9]
+bind = $mainMod, 1, split-workspace, 1
+bind = $mainMod, 2, split-workspace, 2
+bind = $mainMod, 3, split-workspace, 3
+bind = $mainMod, 4, split-workspace, 4
+bind = $mainMod, 5, split-workspace, 5
+bind = $mainMod, 6, split-workspace, 6
+bind = $mainMod, 7, split-workspace, 7
+bind = $mainMod, 8, split-workspace, 8
+bind = $mainMod, 9, split-workspace, 9
+bind = $mainMod, 0, split-workspace, 10
+
+# Move active window to a workspace with mainMod + SHIFT + [0-9]
+bind = $mainMod SHIFT, 1, split-movetoworkspace, 1
+bind = $mainMod SHIFT, 2, split-movetoworkspace, 2
+bind = $mainMod SHIFT, 3, split-movetoworkspace, 3
+bind = $mainMod SHIFT, 4, split-movetoworkspace, 4
+bind = $mainMod SHIFT, 5, split-movetoworkspace, 5
+bind = $mainMod SHIFT, 6, split-movetoworkspace, 6
+bind = $mainMod SHIFT, 7, split-movetoworkspace, 7
+bind = $mainMod SHIFT, 8, split-movetoworkspace, 8
+bind = $mainMod SHIFT, 9, split-movetoworkspace, 9
+bind = $mainMod SHIFT, 0, split-movetoworkspace, 10
+
+# Example special workspace (scratchpad)
+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
+
+# Laptop multimedia keys for volume and LCD brightness
+bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
+bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
+bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
+bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
+bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
+bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
+
+# Requires playerctl
+bindl = , XF86AudioNext, exec, playerctl next
+bindl = , XF86AudioPause, exec, playerctl play-pause
+bindl = , XF86AudioPlay, exec, playerctl play-pause
+bindl = , XF86AudioPrev, exec, playerctl previous
+
+##############################
+### WINDOWS AND WORKSPACES ###
+##############################
+
+# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
+# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
+
+# Example windowrule
+# windowrule = float,class:^(kitty)$,title:^(kitty)$
+
+# Ignore maximize requests from apps. You'll probably like this.
+windowrule = suppressevent maximize, class:.*
+
+# Fix some dragging issues with XWayland
+windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf
new file mode 100644
index 0000000..bd6bce8
--- /dev/null
+++ b/.config/hypr/hyprlock.conf
@@ -0,0 +1,125 @@
+# BACKGROUND
+background {
+ monitor =
+ path = ~/.config/hypr/hyprlock.png
+ blur_passes = 0
+ contrast = 0.8916
+ brightness = 0.8916
+ vibrancy = 0.8916
+ vibrancy_darkness = 0.0
+}
+
+# GENERAL
+general {
+ no_fade_in = false
+ grace = 0
+ disable_loading_bar = false
+}
+
+# Profie-Photo
+image {
+ monitor =
+ path = $HOME/.config/hypr/thunder.png
+ border_size = 2
+ border_color = rgba(216, 222, 233, 0.80)
+ size = 100
+ rounding = -1
+ rotate = 0
+ reload_time = -1
+ reload_cmd =
+ position = 25, 200
+ halign = center
+ valign = center
+}
+
+# NAME
+label {
+ monitor =
+ text = THUNDER
+ color = rgba(216, 222, 233, 0.80)
+ outline_thickness = 0
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ font_size = 20
+ font_family = SF Pro Display Bold
+ position = 25, 110
+ halign = center
+ valign = center
+}
+
+# Time
+label {
+ monitor =
+ text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
+ color = rgba(216, 222, 233, 0.80)
+ font_size = 60
+ font_family = SF Pro Display Bold
+ position = 30, -8
+ halign = center
+ valign = center
+}
+
+# Day-Month-Date
+label {
+ monitor =
+ text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
+ color = rgba(216, 222, 233, .80)
+ font_size = 19
+ font_family = SF Pro Display Bold
+ position = 35, -60
+ halign = center
+ valign = center
+}
+
+# USER-BOX
+shape {
+ monitor =
+ size = 320, 55
+ color = rgba(255, 255, 255, 0.1)
+ rounding = -1
+ border_size = 0
+ border_color = rgba(255, 255, 255, 1)
+ rotate = 0
+ xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation)
+
+ position = 34, -190
+ halign = center
+ valign = center
+}
+
+# USER
+label {
+ monitor =
+ text =  $USER
+ color = rgba(216, 222, 233, 0.80)
+ outline_thickness = 0
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ font_size = 16
+ font_family = SF Pro Display Bold
+ position = 38, -190
+ halign = center
+ valign = center
+}
+
+# INPUT FIELD
+input-field {
+ monitor =
+ size = 320, 55
+ outline_thickness = 0
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ outer_color = rgba(255, 255, 255, 0)
+ inner_color = rgba(255, 255, 255, 0.1)
+ font_color = rgb(200, 200, 200)
+ fade_on_empty = false
+ font_family = SF Pro Display Bold
+ placeholder_text = <i><span foreground="##ffffff99">🔒 Enter Pass</span></i>
+ hide_input = false
+ position = 34, -268
+ halign = center
+ valign = center
+}
diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf
new file mode 100644
index 0000000..569f976
--- /dev/null
+++ b/.config/hypr/hyprpaper.conf
@@ -0,0 +1,2 @@
+preload = ~/pix/wallpapers/morpheus-red-pill-blue-pill.jpg
+wallpaper = ,~/pix/wallpapers/morpheus-red-pill-blue-pill.jpg
diff --git a/.config/hypr/hyprsunset.conf b/.config/hypr/hyprsunset.conf
new file mode 100644
index 0000000..7bd6a1b
--- /dev/null
+++ b/.config/hypr/hyprsunset.conf
@@ -0,0 +1,12 @@
+max-gamma = 150
+
+profile {
+ time = 7:30
+ identity = true
+}
+
+profile {
+ time = 21:00
+ temperature = 5500
+ gamma = 0.8
+}