diff --git a/dotconfig/hypr/03_statitik_runit_hyprland.jpg b/dotconfig/hypr/03_statitik_runit_hyprland.jpg new file mode 100644 index 0000000..05f2a70 Binary files /dev/null and b/dotconfig/hypr/03_statitik_runit_hyprland.jpg differ diff --git a/dotconfig/hypr/hypridle.conf b/dotconfig/hypr/hypridle.conf new file mode 100644 index 0000000..3b9b0e8 --- /dev/null +++ b/dotconfig/hypr/hypridle.conf @@ -0,0 +1,14 @@ + +general { + lock_cmd = hyprlock + unlock_cmd = notify-send "Welcome back!" + #before_sleep_cmd = hyprlock + after_sleep_cmd = hyprlock + ignore_dbus_inhibit = false +} + +listener { + timeout = 500 # in seconds + on-timeout = notify-send "You are idle!" # command to run when timeout has passed + on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired. +} diff --git a/dotconfig/hypr/hyprland.conf b/dotconfig/hypr/hyprland.conf index 06280e0..12faa5c 100644 --- a/dotconfig/hypr/hyprland.conf +++ b/dotconfig/hypr/hyprland.conf @@ -10,6 +10,7 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # For a full list, see the wiki # +exec-once=hyprlock #autogenerated = 1 # remove this line to remove the warning ; It's removed @@ -149,13 +150,14 @@ $secondMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more #bind = $mainMod, Q, exec, kitty #bind = $mainMod, C, killactive, -bind = $mainMod, M, exit, +bind = $mainMod SHIFT, M, exit, #bind = $mainMod, E, exec, dolphin bind = $mainMod, D, exec, thunar bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, P, pseudo, # dwindle bind = $mainMod SHIFT, V, togglesplit, # dwindle +bind = ,help, exec, eww open keyb # My new bind bind = $secondMod, W, exec, firefox @@ -173,6 +175,7 @@ bind = $mainMod SHIFT, F, fullscreen, 1 #screenlock bind = $secondMod, l, exec, loginctl lock-session +bind = $mainMod SHIFT, t, exec, loginctl lock-session #screen capture bind = $secondMod, g, exec, grim -g "$(slurp)" # Change volume sink @@ -180,10 +183,10 @@ bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume $(pactl get-default-si bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume $(pactl get-default-sink) +5% #alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink +5% # Put sink or mic toggle bind = ,XF86AudioMute, exec, pactl set-sink-mute $(pactl get-default-sink) toggle #alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink toggle -bind = ,XF86AudioMicMute, exec, pactl set-source-mute alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source toggle +bind = ,XF86AudioMicMute, exec, pactl set-source-mute $(pactl get-default-source) toggle # Change volume mic -bind = $mainMod, XF86AudioLowerVolume, exec, pactl set-source-volume alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source -5% -bind = $mainMod, XF86AudioRaiseVolume, exec, pactl set-source-volume alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source +5% +bind = $mainMod, XF86AudioLowerVolume, exec, pactl set-source-volume $(pactl get-default-source) -5% +bind = $mainMod, XF86AudioRaiseVolume, exec, pactl set-source-volume $(pactl get-default-source) +5% # move windows @@ -234,16 +237,19 @@ bind = $mainMod SHIFT, agrave, movetoworkspace, 10 bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 +# Active script to rotate screen when lid fully open. +#bindl = ,switch:Lenovo Yoga Tablet Mode Control switch,exec, rotate_screen + # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow -windowrule = opacity 0.9,^(cinny)$ -windowrule = opacity 0.98,^(firefox)$ -windowrule = opacity 0.98,^(LibreWolf)$ -windowrule = opacity 0.98,^(libreoffice.*)$ -windowrule = opacity 0.9,^(WebCord.*)$ +windowrule = opacity 0.93,^(cinny)$ +windowrule = opacity 0.99,^(firefox)$ +windowrule = opacity 0.99,^(LibreWolf)$ +windowrule = opacity 0.99,^(libreoffice.*)$ +windowrule = opacity 0.93,^(WebCord.*)$ windowrulev2 = opacity 0.9,title:^(Peek.*)$ windowrule = float,^(galculator)$ @@ -263,7 +269,8 @@ bind = , XF86Calculator, exec, galculator # Exec hyprpaper for not risquing hyprchan -exec-once=swayidle -w before-sleep "swaylock-script --sleep" lock "swaylock-script" +# exec-once=swayidle -w before-sleep "swaylock-script --sleep" lock "swaylock-script" +exec-once=hypridle exec-once=dunst # Notification daemon exec-once=light -I exec-once=pipewire @@ -280,4 +287,4 @@ exec-once=udiskie --no-automount --no-terminal --smart-tray --no-file-manager # Exec app at hyprland start -exec-once=$(sleep 0.5 && waybar) +exec-once=$(sleep 0.7 && waybar) diff --git a/dotconfig/hypr/hyprlock.conf b/dotconfig/hypr/hyprlock.conf new file mode 100644 index 0000000..8bbfb68 --- /dev/null +++ b/dotconfig/hypr/hyprlock.conf @@ -0,0 +1,55 @@ + + + +background { + monitor = +# +# path = screenshot +# #path = + color = rgba(25, 20, 20, 0.5) +# +# blur_passes = 5 +# blur_size = 3 +# noise = 0.0117 +# #contrast = 0.8916 +# #brightness = 0.8172 +# vibrancy = 0.4696 +# vibrancy_darkness = 0.0 +} + + +label { + monitor = + + text = cmd[update:500] echo "$(date +'%r')" + font_size = 20 + font_family = 0xProto + + + position = 0, 50 + halign = center + valign = center +} + + + + +input-field { + monitor = + size = 250, 50 + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = rgb(ff751a) + inner_color = rgb(282a36) + font_color = rgb(ff751a) + fade_on_empty = false + placeholder_text = #Restez Jaaj ;) # Text rendered in the input box when it's empty. + hide_input = false + + position = 0, 0 + halign = center + valign = center +} + diff --git a/dotconfig/hypr/hyprpaper.conf b/dotconfig/hypr/hyprpaper.conf index 7879a71..bd07609 100644 --- a/dotconfig/hypr/hyprpaper.conf +++ b/dotconfig/hypr/hyprpaper.conf @@ -1,9 +1,11 @@ #preload = ~/.config/hypr/01-cyber-cool-wallpaper.jpg -preload = ~/.config/hypr/02_cool_wallpaper_homemade.jpg +#preload = ~/.config/hypr/02_cool_wallpaper_homemade.jpg +preload = ~/.config/hypr/03_statitik_runit_hyprland.jpg #preload = ~/.config/hypr/blank.jpg #wallpaper = ,~/.config/hypr/01-cyber-cool-wallpaper.jpg -wallpaper = ,~/.config/hypr/02_cool_wallpaper_homemade.jpg +#wallpaper = ,~/.config/hypr/02_cool_wallpaper_homemade.jpg +wallpaper = ,~/.config/hypr/03_statitik_runit_hyprland.jpg #wallpaper = ,~/.config/hypr/blank.jpg ipc = off diff --git a/dotconfig/waybar/style.css b/dotconfig/waybar/style.css index 6d48cc7..ae40227 100644 --- a/dotconfig/waybar/style.css +++ b/dotconfig/waybar/style.css @@ -36,6 +36,8 @@ window#waybar.hidden { */ } + + #workspaces { /*margin-top: 8px;*/ margin-left: 8px; @@ -192,3 +194,5 @@ window#waybar.hidden { color: #ffcc44; background: #282a36; } + +