Did a bunch of shit last night I dont really remember but dont wanna lose.

This commit is contained in:
Dante 2024-03-01 12:51:45 -05:00 committed by GitHub
parent e8196312fe
commit 7bcecff8d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 113 additions and 86 deletions

View file

@ -2,7 +2,7 @@
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 0
rounding = 1
blur {
enabled = true

View file

@ -14,9 +14,10 @@ monitor = HDMI-A-1, transform, 3
workspace = DP-1,1
workspace = HDMI-A-1,6
#Laptop Config
monitor = eDP-1, 1920x1080@144, auto, 1
workspace = eDP-1,1
#Laptop
# monitor = eDP-1, 1920x1080@144, auto, 1
# workspace = eDP-1,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@ -33,7 +34,6 @@ $menu = rofi -show drun
$browser = firefox
$discord = discord --enable-features=UseOzonePlatform --ozone-platform=wayland
# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
@ -127,15 +127,7 @@ misc {
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
# Plugins
# When entering overview mode, you can use left-button to jump, right-button to kill or use keybind
# If you are installing hycov with hyprpm, you should comment out this
# plugin = /usr/lib/libhycov.so
# If you are installing hycov by manually compile , you should comment out this
exec-once = hyprpm reload
plugin {

View file

@ -1,83 +1,73 @@
# Hyprlock
general {
hide_cursor = true
disable_loading_bar = false
grace = 1
no_fade_in = false
}
background {
monitor =
path = /home/crux/.config/wallpapers/wallhaven-o5jv65.png
color = rgba(20, 20, 20, 0.9)
path = $HOME/.config/rofi/.current_wallpaper # only png supported for now
color = $color7
# Blur
blur_passes = 1 # 0 disables blurring
blur_size = 3
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
blur_size = 4
blur_passes = 3 # 0 disables blurring
noise = 0.0117
contrast = 0.8916
brightness = 0.8172
vibrancy = 0.1696
contrast = 1.3000 # Vibrant!!!
brightness = 0.8000
vibrancy = 0.2100
vibrancy_darkness = 0.0
}
input-field {
monitor = DP-1
size = 200, 50
outline_thickness = 0
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
monitor =
size = 250, 50
outline_thickness = 3
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = rgba(20, 20, 20, 0.3)
inner_color = rgb(200, 200, 200)
font_color = rgb(20, 20, 20)
fade_on_empty = false
placeholder_text = <span color="black">Password</span> # Text rendered in the input box when it's empty.
outer_color = $color1
inner_color = $color0
font_color = $color7
fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, -20
position = 0, 50
halign = center
valign = center
valign = bottom
}
# Labels
# Current time
label {
monitor = DP-1
text = Welcome back, <span foreground="SkyBlue1" style="italic">$USER</span>! The void eagerly awaits your command.
color = rgba(200, 200, 200, 1)
font_size = 25
font_family = Inter
position = 0, 80
text = cmd[update:1000] echo "<b><big>$TIME</big></b>"
color = $color0
font_size = 64
font_family = JetBrains Mono Nerd Font 10
position = 0, 16
halign = center
valign = center
}
# User label
label {
monitor =
text = $TIME
color = rgb(200, 200, 200)
font_family = Inter bold
font_size = 40
position = 0, -150
text = Hey <span text_transform="capitalize" size="larger">$USER</span>
color = $color0
font_size = 20
font_family = JetBrains Mono Nerd Font 10
position = 0, -10
halign = center
valign = top
valign = center
}
# Type to unlock
label {
monitor =
text =  <br/>
color = rgb(19, 200, 206)
font_size = 40
font_family = Inter bold
position = -100, -150
text = Type to unlock!
color = $color0
font_size = 16
font_family = JetBrains Mono Nerd Font 10
position = 0, 30
halign = center
valign = top
}
valign = bottom
}

View file

@ -8,8 +8,6 @@ bind = $mainMod, ESCAPE, exec, killall waybar || waybar
bind = $mainMod, D, exec, $discord
bind = $mainMod SHIFT, W, exec, wp
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod CTRL, F, exec, hyprctl dispatch workspaceopt allfloat
bind = $mainMod, B, exec, pypr expose
bind = $mainMod, N, exec, swaync-client -t -sw
bind = $mainMod, L, exec, hyprlock
bind = $mainMod SHIFT, W, exec, ~/.config/hypr/scripts/wallpaperselect.sh
@ -55,6 +53,18 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Move window silently to workspace Super + Alt + [0-9]
bind = $mainMod ALT, 1, movetoworkspacesilent, 1
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
bind = $mainMod ALT, 7, movetoworkspacesilent, 7
bind = $mainMod ALT, 8, movetoworkspacesilent, 8
bind = $mainMod ALT, 9, movetoworkspacesilent, 9
bind = $mainMod ALT, 0, movetoworkspacesilent, 10
# Move active window to a relative workspace with mainMod + CTRL + ALT + [←→]
bind = $mainMod CTRL ALT, right, movetoworkspace, r+1
bind = $mainMod CTRL ALT, left, movetoworkspace, r-1
@ -105,7 +115,7 @@ bind = $mainMod, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # open Pasteb
bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # change keyboard layout
# bind key to toggle overview (normal)
bind = ALT,tab,hycov:toggleoverview
bind = ALT,tab,hycov:toggleoverview,`
# bind key to toggle overview (force mode, not affected by `only_active_workspace` or `only_active_monitor`)
bind = ALT,grave,hycov:toggleoverview,forceall #grave key is the '~' key
@ -125,4 +135,7 @@ bind = ALT,g,hycov:toggleoverview,forceallinone
# bind=ALT,left,hycov:movefocus,leftcross
# bind=ALT,right,hycov:movefocus,rightcross
# bind=ALT,up,hycov:movefocus,upcross
# bind=ALT,down,hycov:movefocus,downcross
# bind=ALT,down,hycov:movefocus,downcross

View file

@ -5,6 +5,6 @@ plugins = ["scratchpads"]
animation = "fromTop"
command = "kitty --class kitty-dropterm"
class = "kitty-dropterm"
size = "60% 20%"
size = "60% 30%"
max_size = "1920px 40%"
margin = 50

View file

@ -0,0 +1,41 @@
!/usr/bin/env bash
# Check release
if [ ! -f /etc/arch-release ] ; then
exit 0
fi
# source variables
ScrDir=`dirname "$(realpath "$0")"`
source $ScrDir/globalcontrol.sh
# Check for updates
get_aurhlpr
aur=`${aurhlpr} -Qua | wc -l`
ofc=`checkupdates | wc -l`
# Check for flatpak updates
if pkg_installed flatpak ; then
fpk=`flatpak remote-ls --updates | wc -l`
fpk_disp="\n󰏓 Flatpak $fpk"
fpk_exup="; flatpak update"
else
fpk=0
fpk_disp=""
fi
# Calculate total available updates
upd=$(( ofc + aur + fpk ))
# Show tooltip
if [ $upd -eq 0 ] ; then
echo "{\"text\":\"$upd\", \"tooltip\":\" Packages are up to date\"}"
else
echo "{\"text\":\"$upd\", \"tooltip\":\"󱓽 Official $ofc\n󱓾 AUR $aur$fpk_disp\"}"
fi
# Trigger upgrade
if [ "$1" == "up" ] ; then
kitty --title systemupdate sh -c "${aurhlpr} -Syu $fpk_exup"
fi

View file

@ -3,38 +3,29 @@
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
windowrule = move 1250 50,^(blueman-manager)$
windowrulev2= opacity 0.70 0.70,class:^(Spotify)$
windowrulev2= opacity 0.80 0.80,class:^(Code)$
windowrulev2= opacity 0.80 0.80,class:^(waypaper)$
windowrulev2= opacity 0.80 0.80,class:^(dolphin)$
windowrulev2= opacity 0.80 0.80,class:^(discord)$
windowrulev2= opacity 0.80 0.80,class:^($discord2)$
windowrulev2= opacity 0.80 0.80,class:^(lutris)$
windowrulev2= opacity 0.80 0.80,class:^(firefox)$
windowrulev2 = float,class:^(qt5ct)$
windowrulev2= opacity 0.80 0.80,class:^(steam)$
windowrulev2 = float,class:^(nwg-look)$
windowrulev2 = float,class:^(org.kde.ark)$
windowrulev2 = float,class:^(Signal)$ #Signal-Gtk
windowrulev2 = float,class:^(com.github.rafostar.Clapper)$ #Clapper-Gtk
windowrulev2 = float,class:^(app.drey.Warp)$ #Warp-Gtk
windowrulev2 = float,class:^(net.davidotek.pupgui2)$ #ProtonUp-Qt
windowrulev2 = float,class:^(yad)$ #Protontricks-Gtk
windowrulev2 = float,class:^(eog)$ #Imageviewer-Gtk
windowrulev2 = float,class:^(io.gitlab.theevilskeleton.Upscaler)$ #Upscaler-Gtk
windowrulev2 = float,class:^(pavucontrol)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(nm-applet)$
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(steam)$
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
layerrule = unset,class:^([Rr]ofi)$
layerrule = blur,class:^([Rr]ofi)$
layerrule = ignorezero, <rofi>
windowrule = float, rofi
# Blur Waybar
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
# Blur Waybar & Rofi
layerrule=blur, rofi
layerrule=blur, waybar
# layerrule=blur, waybar
layerrule = ignorezero, rofi