summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.config/hypr')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf22
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprlock.conf22
2 files changed, 24 insertions, 20 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 1701cc0..a279ced 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -10,11 +10,12 @@ monitor=,preferred,auto,auto
# ============================================================================
# Startup Applications
# ============================================================================
-exec-once = hyprpm reload
+exec-once = hyprpm reload && sleep 1 && hyprctl dismissnotify -1
exec-once = waybar
-exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/dark-lion.jpg
+exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/trondheim-norway.jpg
exec-once = dunst
exec-once = hypridle
+exec-once = /usr/lib/geoclue-2.0/demos/agent
exec-once = gammastep
exec-once = blueman-applet
exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
@@ -28,6 +29,7 @@ exec-once = insync start
# Environment Variables
# ============================================================================
env = XCURSOR_SIZE,24
+env = XCURSOR_THEME,Bibata-Modern-Ice
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
@@ -72,7 +74,7 @@ animations {
# Layout (master-stack like DWM tile)
# ============================================================================
master {
- new_status = slave
+ new_status = master
mfact = 0.55
}
@@ -99,6 +101,7 @@ input {
misc {
force_default_wallpaper = 0
disable_hyprland_logo = true
+ focus_on_activate = true
}
# ============================================================================
@@ -134,7 +137,7 @@ bind = $mod, P, exec, fuzzel
bind = $mod, SPACE, exec, fuzzel
bind = $mod SHIFT, W, exec, $ALTBROWSER
bind = CTRL ALT, W, exec, tor-browser
-bind = CTRL ALT, F, exec, thunar
+bind = CTRL ALT, F, exec, nautilus
bind = $mod, V, exec, virtualbox
bind = $mod SHIFT, L, exec, calibre
bind = $mod SHIFT, R, exec, shortwave
@@ -293,9 +296,9 @@ bind = CTRL ALT, SPACE, exec, amixer set Capture toggle && amixer get Capture |
# Bluetooth (from DWM and sxhkdrc)
bind = $mod SHIFT, B, exec, blueman-manager
-# Screenshots (grim + slurp + satty for annotation)
-bind = $mod, S, exec, grim -g "$(slurp)" - | satty --filename - --output-filename ~/pictures/screenshots/$(date +%Y.%m.%d-%H%M%S).png
-bind = , Print, exec, grim - | satty --filename - --output-filename ~/pictures/screenshots/$(date +%Y.%m.%d-%H%M%S).png
+# Screenshots (grim + slurp + fuzzel menu)
+bind = $mod, S, exec, screenshot region
+bind = $mod, Print, exec, screenshot fullscreen
# Lock screen (from sxhkdrc: super+Escape)
bind = $mod, ESCAPE, exec, hyprlock
@@ -303,10 +306,11 @@ bind = $mod, ESCAPE, exec, hyprlock
# Touchpad toggle
bind = $mod, F9, exec, toggle-touchpad
-# Exit/session (from DWM)
-bind = $mod SHIFT, Q, exec, printf "Exit\nCancel" | fuzzel --dmenu --prompt "Exit Hyprland? " | grep -q "Exit" && hyprctl dispatch exit
+# Exit/session
+bind = $mod SHIFT, Q, exec, pgrep -x wlogout || wlogout -b 3 -T 600 -B 600 -L 1200 -R 1200 -c 20 -r 20
bind = $mod SHIFT, BACKSPACE, exit
bind = $mod SHIFT, ESCAPE, exec, hyprctl reload
+bind = CTRL ALT $mod, K, exec, hyprctl kill
# Mouse bindings (from DWM buttons)
bindm = $mod, mouse:272, movewindow
diff --git a/dotfiles/hyprland/.config/hypr/hyprlock.conf b/dotfiles/hyprland/.config/hypr/hyprlock.conf
index fd85651..f9c08bb 100644
--- a/dotfiles/hyprland/.config/hypr/hyprlock.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprlock.conf
@@ -1,5 +1,5 @@
-# Hyprlock configuration - Dupre theme
-# Warm, earthy colors from dupre-theme.el
+# Hyprlock configuration - Hudson theme
+# Tomorrow Night + Goldenrod accent
general {
disable_loading_bar = false
@@ -25,7 +25,7 @@ label {
monitor =
text = $TIME12
text_align = center
- color = rgb(969385)
+ color = rgb(bbbbbb)
font_size = 64
font_family = BerkeleyMono Nerd Font
position = 0, 15%
@@ -40,7 +40,7 @@ image {
size = 120
rounding = -1
border_size = 3
- border_color = rgb(d7af5f)
+ border_color = rgb(daa520)
position = 0, 0%
halign = center
valign = center
@@ -54,7 +54,7 @@ label {
monitor =
text = $USER
text_align = center
- color = rgb(d7af5f)
+ color = rgb(daa520)
font_size = 36
font_family = BerkeleyMono Nerd Font
position = 0, -7%
@@ -71,19 +71,19 @@ input-field {
dots_spacing = 0.15
dots_center = true
dots_rounding = -1
- outer_color = rgb(151311)
- inner_color = rgb(151311)
- font_color = rgb(969385)
+ outer_color = rgb(222222)
+ inner_color = rgb(222222)
+ font_color = rgb(bbbbbb)
fade_on_empty = true
fade_timeout = 1000
placeholder_text = <i>Password...</i>
hide_input = false
rounding = 8
- check_color = rgb(d7af5f)
- fail_color = rgb(d47c59)
+ check_color = rgb(daa520)
+ fail_color = rgb(d54e53)
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
fail_transition = 300
- capslock_color = rgb(ccc768)
+ capslock_color = rgb(e0b040)
numlock_color = -1
bothlock_color = -1
invert_numlock = false