add all changes in my hyprland

This commit is contained in:
primardj 2024-03-04 15:30:59 +00:00
parent bc6c8644a6
commit ac22f7a0cb
6 changed files with 95 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 KiB

View file

@ -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.
}

View file

@ -10,6 +10,7 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# For a full list, see the wiki # For a full list, see the wiki
# #
exec-once=hyprlock
#autogenerated = 1 # remove this line to remove the warning ; It's removed #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 # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
#bind = $mainMod, Q, exec, kitty #bind = $mainMod, Q, exec, kitty
#bind = $mainMod, C, killactive, #bind = $mainMod, C, killactive,
bind = $mainMod, M, exit, bind = $mainMod SHIFT, M, exit,
#bind = $mainMod, E, exec, dolphin #bind = $mainMod, E, exec, dolphin
bind = $mainMod, D, exec, thunar bind = $mainMod, D, exec, thunar
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod SHIFT, V, togglesplit, # dwindle bind = $mainMod SHIFT, V, togglesplit, # dwindle
bind = ,help, exec, eww open keyb
# My new bind # My new bind
bind = $secondMod, W, exec, firefox bind = $secondMod, W, exec, firefox
@ -173,6 +175,7 @@ bind = $mainMod SHIFT, F, fullscreen, 1
#screenlock #screenlock
bind = $secondMod, l, exec, loginctl lock-session bind = $secondMod, l, exec, loginctl lock-session
bind = $mainMod SHIFT, t, exec, loginctl lock-session
#screen capture #screen capture
bind = $secondMod, g, exec, grim -g "$(slurp)" bind = $secondMod, g, exec, grim -g "$(slurp)"
# Change volume sink # 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% 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 # 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 = ,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 # 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, XF86AudioLowerVolume, exec, pactl set-source-volume $(pactl get-default-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, XF86AudioRaiseVolume, exec, pactl set-source-volume $(pactl get-default-source) +5%
# move windows # move windows
@ -234,16 +237,19 @@ bind = $mainMod SHIFT, agrave, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, 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 # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
windowrule = opacity 0.9,^(cinny)$ windowrule = opacity 0.93,^(cinny)$
windowrule = opacity 0.98,^(firefox)$ windowrule = opacity 0.99,^(firefox)$
windowrule = opacity 0.98,^(LibreWolf)$ windowrule = opacity 0.99,^(LibreWolf)$
windowrule = opacity 0.98,^(libreoffice.*)$ windowrule = opacity 0.99,^(libreoffice.*)$
windowrule = opacity 0.9,^(WebCord.*)$ windowrule = opacity 0.93,^(WebCord.*)$
windowrulev2 = opacity 0.9,title:^(Peek.*)$ windowrulev2 = opacity 0.9,title:^(Peek.*)$
windowrule = float,^(galculator)$ windowrule = float,^(galculator)$
@ -263,7 +269,8 @@ bind = , XF86Calculator, exec, galculator
# Exec hyprpaper for not risquing hyprchan # 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=dunst # Notification daemon
exec-once=light -I exec-once=light -I
exec-once=pipewire 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 app at hyprland start
exec-once=$(sleep 0.5 && waybar) exec-once=$(sleep 0.7 && waybar)

View file

@ -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 "<span foreground='##ff751a'>$(date +'%r')</span>"
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 = #<i>Restez Jaaj ;)</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, 0
halign = center
valign = center
}

View file

@ -1,9 +1,11 @@
#preload = ~/.config/hypr/01-cyber-cool-wallpaper.jpg #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 #preload = ~/.config/hypr/blank.jpg
#wallpaper = ,~/.config/hypr/01-cyber-cool-wallpaper.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 #wallpaper = ,~/.config/hypr/blank.jpg
ipc = off ipc = off

View file

@ -36,6 +36,8 @@ window#waybar.hidden {
*/ */
} }
#workspaces { #workspaces {
/*margin-top: 8px;*/ /*margin-top: 8px;*/
margin-left: 8px; margin-left: 8px;
@ -192,3 +194,5 @@ window#waybar.hidden {
color: #ffcc44; color: #ffcc44;
background: #282a36; background: #282a36;
} }