summaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-04 16:36:32 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-04 16:36:32 +0530
commit1b1f064cee580af3202c8be775255dcb64f56b1a (patch)
treee819848a275cf3c473f907719543f40dc846db25 /.config/hypr
parent7cbc575dbd33a9b5a7e1d530b974bc9971a70cef (diff)
catpuccin: alacritty, hyprlock, hyprland, screenshot script, rofi
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/hypridle.conf10
-rw-r--r--.config/hypr/hyprland.conf38
-rw-r--r--.config/hypr/hyprlock.conf179
3 files changed, 110 insertions, 117 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
index a2f5f1e..c3e56cd 100644
--- a/.config/hypr/hypridle.conf
+++ b/.config/hypr/hypridle.conf
@@ -9,3 +9,13 @@ listener {
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
}
+
+listener {
+ timeout = 120 # 2min
+ on-timeout = loginctl lock-session # lock screen when timeout has passed
+}
+
+listener {
+ timeout = 900 # 30min
+ on-timeout = systemctl suspend # suspend pc
+}
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 80ad822..6ca3875 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -37,6 +37,11 @@ env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
+# XDG Specifications
+env = XDG_CURRENT_DESKTOP,Hyprland
+env = XDG_SESSION_TYPE,wayland
+env = XDG_SESSION_DESKTOP,Hyprland
+
#######################
### PLUGIN SETTINGS ###
#######################
@@ -72,16 +77,19 @@ general {
border_size = 2
resize_on_border = false
allow_tearing = false
- col.active_border = rgba(1b9993ee)
- col.inactive_border = rgba(888e8eaa)
+ # col.active_border = rgba(7da6ffee)
+ # col.inactive_border = rgba(888e8eaa)
+ col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg
+ col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg
layout = master
}
decoration {
- rounding = 0
+ rounding = 8
+
blur {
- enabled = true
+ enabled = false
size = 3
passes = 1
}
@@ -196,7 +204,7 @@ bind = $mainMod, W, exec, $browser
bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
bind = $mainMod, p, exec, mpc toggle
binde = $mainMod, comma, exec, mpc seek -10
-binde = $mainMod, period, exec, mpc seek +10
+bind = $mainMod, period, exec, mpc seek +10
# Swap current focused window with master
bind = $mainMod, space, layoutmsg, swapwithmaster
@@ -220,16 +228,16 @@ 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
+bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
+bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
+bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
+bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
+bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
+bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
+bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
+bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
+bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
+bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf
index bd6bce8..e9874d0 100644
--- a/.config/hypr/hyprlock.conf
+++ b/.config/hypr/hyprlock.conf
@@ -1,125 +1,100 @@
-# BACKGROUND
-background {
- monitor =
- path = ~/.config/hypr/hyprlock.png
- blur_passes = 0
- contrast = 0.8916
- brightness = 0.8916
- vibrancy = 0.8916
- vibrancy_darkness = 0.0
-}
+source = $HOME/.config/hypr/mocha.conf
+
+$accent = $mauve
+$accentAlpha = $mauveAlpha
+$font = JetBrainsMono Nerd Font
# GENERAL
general {
- no_fade_in = false
- grace = 0
- disable_loading_bar = false
+ hide_cursor = true
}
-# 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
+# BACKGROUND
+background {
+ monitor =
+ path = $HOME/.config/background
+ blur_passes = 0
+ color = $base
}
-# NAME
+# LAYOUT
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
+ monitor =
+ text = Layout: $LAYOUT
+ color = $text
+ font_size = 25
+ font_family = $font
+ position = 30, -30
+ halign = left
+ valign = top
}
-# Time
+# 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
+ monitor =
+ text = $TIME
+ color = $text
+ font_size = 90
+ font_family = $font
+ position = -30, 0
+ halign = right
+ valign = top
}
-# Day-Month-Date
+# 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
+ monitor =
+ text = cmd[update:43200000] date +"%A, %d %B %Y"
+ color = $text
+ font_size = 25
+ font_family = $font
+ position = -30, -150
+ halign = right
+ valign = top
}
-# 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
+# FINGERPRINT
+{
+ monitor = "";
+ text = "$FPRINTPROMPT";
+ color = "$text";
+ font_size = 14;
+ font_family = $font;
+ position = "0, -107";
+ 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
+# USER AVATAR
+image {
+ monitor =
+ path = $HOME/.face
+ size = 100
+ border_color = $accent
+ position = 0, 75
+ 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
+ monitor =
+ size = 300, 60
+ outline_thickness = 4
+ dots_size = 0.2
+ dots_spacing = 0.2
+ dots_center = true
+ outer_color = $accent
+ inner_color = $surface0
+ font_color = $text
+ fade_on_empty = false
+ placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
+ hide_input = false
+ check_color = $accent
+ fail_color = $red
+ fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
+ capslock_color = $yellow
+ position = 0, -47
+ halign = center
+ valign = center
}