Update to Latest

This commit is contained in:
Ayush Dumasia 2025-02-23 00:38:43 +05:30
parent d1bbbcbb15
commit 71d6a8ab3b
157 changed files with 3467 additions and 5151 deletions

View file

@ -1,4 +0,0 @@
preload = /home/archer/Downloads/wallpaper/purple_girl.png
wallpaper = eDP-1, /home/archer/Downloads/wallpaper/purple_girl.png
splash = off
ipc = off

34
hypr/hypridle.conf Normal file
View file

@ -0,0 +1,34 @@
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
listener {
timeout = 150 # 2.5min.
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restore.
}
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener {
timeout = 150 # 2.5min.
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
}
listener {
timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
timeout = 330 # 5.5min
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 = 1800 # 30min
on-timeout = systemctl suspend # suspend pc
}

View file

@ -1,5 +1,9 @@
monitor=,preferred,auto,auto
monitor=DP-1,1920x1080@144,auto,auto
exec-once = hyprctl setcursor "Banana" 40
exec = gsettings set org.gnome.desktop.interface cursor-theme "Banana"
exec = gsettings set org.gnome.desktop.interface cursor-size 40
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
@ -8,26 +12,29 @@ exec-once = hypridle
windowrulev2 = suppressevent maximize, class:.*
exec-once = [workspace 1] zen-browser
exec-once = [workspace 2] kitty
# Set programs that I use
$terminal = kitty
$fileManager = yazi
$menu = rofi -show run
$browser = firefox
$browser = zen-browser
$taskManager = btop
$editor = nvim
$colorpicker = hyprpicker
env = XCURSOR_SIZE,20
env = HYPRCURSOR_SIZE,20
env = XCURSOR_SIZE,8
env = HYPRCURSOR_SIZE,8
general {
gaps_in = 5
gaps_out = 10
gaps_in = 3
gaps_out = 6
border_size = 2
border_size = 0
col.active_border = rgb(8839ef)
col.inactive_border = rgb(eff1f5)
col.active_border = rgb(8839ef) rgb(179299) 45deg
col.inactive_border = rgb(1e66f5) rgb(8839ef) 90deg
resize_on_border = true
extend_border_grab_area = 30
@ -36,27 +43,30 @@ general {
allow_tearing = false
layout = master
layout = dwindle
}
decoration {
rounding = 6
dim_special = 0.2
rounding = 10
active_opacity = 1.0
inactive_opacity = 0.6
active_opacity = 1
inactive_opacity = 0.7
#drop_shadow = true
#shadow_range = 4
#shadow_render_power = 3
#col.shadow = rgba(1a1a1aee)
shadow {
# enabled = false
# range = 4
# render_power = 3
}
#blur {
# enabled = true
# size = 2
# passes = 1
blur {
enabled = true
size = 3
passes = 1
special = true
vibrancy = 0.1696
}
# vibrancy = 0.1696
# }
}
animations {
@ -64,12 +74,12 @@ animations {
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = windows, 1, 4, default, slide top
animation = windowsOut, 1, 2, default, slide bottom
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = workspaces, 1, 3, default
}
dwindle {
@ -88,12 +98,12 @@ input {
kb_layout = us
kb_variant =
kb_model =
kb_options = caps:swapescape
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0.3
sensitivity = -0.1
touchpad {
disable_while_typing = true
@ -131,6 +141,16 @@ bind = $mainMod ,B, exec, $browser
bind = $mainMod, W, killactive
bind = $mainMod, V, togglefloating
bind = $mainMod, F, fullscreen, 1
bind = $mainMod, G, fullscreen, 0
bind = $mainMod, O, exec, obsidian
bind = $mainMod_Shift, T, exec, [float; size 1000 500] $terminal
exec-once = hyprswitch init --show-title --size-factor 5.5 --workspaces-per-row 5 &
$key = tab
$mod = super
bind = $mod , $key, exec, hyprswitch gui --mod-key $mod --key $key --max-switch-offset 9 --hide-active-window-border
# bind = $mainMod , J, exec, hyprswitch gui --mod-key $mainMod --key J --max-switch-offset 9 --hide-active-window-border
#Yazi File Manager
bind = $mainMod, E, exec, $terminal $fileManager
@ -139,12 +159,11 @@ bind = $mainMod, P, exec, ~/.config/rofi/powermenu/powermenu.sh
#Rofi Launcher
bind = $mainMod, Space, exec, ~/.config/rofi/launcher/launcher.sh
#Grim & Slurp for Screenshot
bind = $mainMod_Shift, S, exec, slurp | grim -g - /tmp/photo && wl-copy < /tmp/photo && notify-send 'Screenshot Copied to Clipboard'
bind = Alt+Shift, S, exec, grim -g "$(slurp)" $HOME/Downloads/Screenshot/$(date +'%Y%m%d%H%M%S').png && notify-send 'Screenshot Saved'
bind = $mainMod, N, exec, $terminal $editor
bind = Alt+Shift, W, exec, pkill -9 waybar || waybar &
#Task Manager
bind = Ctrl_Shift, Tab, exec, $terminal $taskManager
@ -153,7 +172,7 @@ bind = Ctrl_Shift, Tab, exec, $terminal $taskManager
bind = $mainMod, C, exec, $colorpicker -a
#Clipboard for Copy / Paste
bind = $mainMod, M, exec, ~/.config/rofi/clipboard/launcher.sh
bind = $mainMod, M, exec, ~/.config/rofi/clipboard/launcher.sh
#Audio Control
#binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 2%+
#bindl = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-
@ -169,15 +188,20 @@ bindl = , XF86AudioPrev, exec, playerctl previous
bindl = , XF86AudioNext, exec, playerctl next
#Brightness Control
binde = , XF86MonBrightnessDown, exec, ~/.local/bin/backlight.sh down
binde = , XF86MonBrightnessUp, exec, ~/.local/bin/backlight.sh up
#binde = , XF86MonBrightnessDown, exec, ~/.local/bin/backlight.sh down
binde = , XF86MonBrightnessDown, exec, brightnessctl set 2%-
#binde = , XF86MonBrightnessUp, exec, ~/.local/bin/backlight.sh up
binde = , XF86MonBrightnessUp, exec, brightnessctl set +2%
bind = Alt, Tab , cyclenext
bind = $mainMod, Tab, bringactivetotop,
bind = Alt Shift, Tab, cyclenext, prev
bind = $mainMod, Tab, workspace, e-2
# bind = $mainMod, Tab, workspace, e-2
bind = $mainMod, A, exec,bash ~/.config/rofi/wifi/wifi.sh
bind = $mainMod, S, exec,bash ~/.config/rofi/search/search.sh
# Move focus with mainMod + arrow keys
bind = $mainMod, l, movefocus, l