This commit is contained in:
sankalp committed 2024-05-01 13:54:37 +05:45
1 parent 47f0b82698
commit 19eed2ed68
25 files changed
+807 -1313

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
# NOTE, THIS FILE IS BEING USED by disabling Laptop display monitor behaviour when closing lid.
# See notes on Laptops.conf
#monitor = eDP-1, preferred, auto, 1
monitor = eDP-1, preferred, auto, 1
+3 -3
View File
@@ -3,9 +3,9 @@
# These configs are mostly for laptops. This is addemdum to Keybinds.conf
$mainMod = SUPER
$scriptsDir = $HOME/.config/hypr/scripts
$scriptsDir = $HOME/dotfiles/hypr/scripts
$RunCMD = $scriptsDir/RunCMD.sh
$UserConfigs = $HOME/.config/hypr/UserConfigs
$UserConfigs = $HOME/dotfiles/hypr/UserConfigs
#VolumeControl
bind = ,XF86MonBrightnessUp, exec, brightnessctl set +5%
@@ -32,7 +32,6 @@ bind = $mainMod_SHIFT, D, exec, $RunCMD touchpad # Disable Touchpad
#bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1"
#bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
# WARNING! Using this method has some caveats!! USE THIS PART WITH SOME CAUTION!
# CONS of doing this, is that you need to set up your wallpaper (SUPER W) and choose wallpaper.
# CAVEATS! Sometimes the Main Laptop Monitor DOES NOT have display that it needs to re-connect your external monitor
@@ -46,3 +45,4 @@ bind = $mainMod_SHIFT, D, exec, $RunCMD touchpad # Disable Touchpad
# for laptop-lid action (to erase the last entry)
#exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/dotfiles/hypr/UserConfigs/LaptopDisplay.conf
@@ -14,6 +14,8 @@ exec-once = $SwwwRandom
# Startup
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME
# Polkit (Polkit Gnome / KDE)
exec-once = $RunCMD polkit_
+5 -4
View File
@@ -15,7 +15,7 @@ $RunCMD = $scriptsDir/RunCMD.sh
#bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window -config ~/.config/rofi/launcher.rasi
bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window
bind = CTRL, mouse:273, exec, killall rofi || rofi -show drun
bind = ALT, D, exec, pkill rofi || $scriptsDir/Xmenu.sh
bind = ALT, C, exec, pkill rofi || $scriptsDir/Xmenu.sh
# Terminals
bind = CTRL_ALT, Return, exec, kitty --start-as=fullscreen --title all_is_kitty
@@ -27,13 +27,14 @@ bind = $mainMod, E, exec, $files
bind = ALT, F, exec, $browser
bind = ALT, Y, exec, kitty yazi
bind = $mainMod, Slash, exec, kitty nvim
bind = ALT, Q, exec, qutebrowser
# FEATURES / EXTRAS
bind = SHIFT_ALT, R, exec, $RunCMD reload_all
bind = $mainMod_SHIFT, D, exec, $RunCMD toggle_touchpad
bind = $mainMod_SHIFT, A, exec, $RunCMD gamemode
bind = $mainMod, PERIOD, exec, $RunCMD emoji
bind = ALT, F1, exec, $RunCMD kb_changer
bind = ALT, F3, exec, $RunCMD kb_changer
bind = $mainMod_SHIFT, Q, exec, $RunCMD toggle_blur
bind = $mainMod, space, exec, $RunCMD change_layout
bind = SHIFT_ALT, C, exec, $RunCMD clip
@@ -59,5 +60,5 @@ bind = ALT, W, exec, $RunCMD waybar_layout
# ScreenShot
bind = $mainMod, Z, exec, grim -g "$(slurp)" - | tee ~/Pictures/"$(date '+%d-%b_%H-%M-%S')_${RANDOM}".png | wl-copy && notify-send -u low -i "$HOME/dotfiles/hypr/assets/screenshot.png" "Screenshot Saved."
bind = ,Print, exec, grim - | tee ~/Pictures/"$(date '+%d-%b_%H-%M-%S')_${RANDOM}".png | wl-copy && notify-send -u low -i "$HOME/dotfiles/hypr/assets/screenshot.png" "Screenshot Saved."
bind = $mainMod, Z, exec, grim -g "$(slurp)" - | tee ~/Pictures/"$(date '+%d-%b_%H-%M-%S')_${RANDOM}".png | wl-copy
bind = ,Print, exec, grim - | tee ~/Pictures/"$(date '+%d-%b_%H-%M-%S')_${RANDOM}".png | wl-copy
+13 -13
View File
@@ -2,8 +2,6 @@
# User Settings
# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables
# Sourcing colors generated by pywal
source = $HOME/.cache/wal/colors-hyprland
# blurls = waybar
# blurls = rofi
@@ -27,18 +25,20 @@ general {
border_size = 2
resize_on_border = true
col.active_border = $color0 $color2 $color4 $color6 $color8 90deg
col.inactive_border = $backgroundCol
col.active_border = rgba(cba6f7ff) rgba(89b4faff) rgba(94e2d5ff) 10deg
col.inactive_border = 0xff313244
col.nogroup_border = 0xff89dceb
col.nogroup_border_active = 0xfff9e2af
layout = master
}
group {
col.border_active = $color15
groupbar {
col.active = $color0
}
groupbar {
col.active = rgb(bd93f9) rgb(44475a) 90deg
col.inactive = rgba(282a36dd)
}
}
decoration {
@@ -53,9 +53,9 @@ decoration {
drop_shadow = true
shadow_range = 6
shadow_render_power = 1
col.shadow = $color2
col.shadow_inactive = 0x50000000
shadow_render_power = 3
col.shadow = 0x99161925
col.shadow_inactive = 0x55161925
blur {
enabled = true
@@ -128,7 +128,7 @@ misc {
disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
#vrr = 0
vrr = 1
enable_swallow = true
no_direct_scanout = true #for fullscreen games
focus_on_activate = false
+9 -4
View File
@@ -53,6 +53,7 @@ windowrulev2 = center, class:(com.obsproject.Studio), title:(Select Recording Di
# Fireox class settings
windowrulev2 = workspace 3, class:^(firefox)$
windowrulev2 = workspace 3, class:^(qutebrowser)$
windowrulev2 = workspace 3, class:^(Firefox-esr)$
windowrulev2 = opacity 0.9 0.6, class:^(firefox)$
windowrulev2 = opacity 0.95 0.75,title:^(Picture-in-Picture)$
@@ -91,10 +92,14 @@ windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$
# File / Folder pickers
$center-float = class:^(center-float)$|^(.*file-roller.*)$
$center-float = class:^(center-float)$|^(.*file-roller.*)$|^(.*FileRoller.*)$
$center-float-title = title:^(.*Open Folder.*)$|^(.*Open File.*)$|^(.*Save File.*)$|^(.*Save Folder.*)$|^(.*Save Image.*)$|^(.*Save As.*)$|^(.*Open As.*)$
windowrulev2 = float, $center-float
windowrulev2 = float, $center-float-title
windowrulev2 = size 50% 50%, $center-float
windowrulev2 = size 50% 50%, $center-float-title
windowrulev2 = center 1, $center-float
windowrulev2 = center 1, $center-float-title
# VS Code
@@ -142,9 +147,9 @@ windowrule = float, kitty_float
# Bluetooth applet
windowrulev2 = float, class:(blueberry)
windowrulev2 = size 665 637, class:(blueberry)
windowrulev2 = center, class:(blueberry)
windowrulev2 = float, class:(blueman)
windowrulev2 = size 680 665, class:(blueman)
windowrulev2 = center, class:(blueman)
# IMV image viewer