feat!: added configs + restructuring
This commit is contained in:
61
config/hypr/catppuccin-mocha.conf
Normal file
61
config/hypr/catppuccin-mocha.conf
Normal file
@ -0,0 +1,61 @@
|
||||
$rosewaterAlpha = f5e0dc
|
||||
$flamingoAlpha = f2cdcd
|
||||
$pinkAlpha = f5c2e7
|
||||
$mauveAlpha = cba6f7
|
||||
$redAlpha = f38ba8
|
||||
$maroonAlpha = eba0ac
|
||||
$peachAlpha = fab387
|
||||
$yellowAlpha = f9e2af
|
||||
$greenAlpha = a6e3a1
|
||||
$tealAlpha = 94e2d5
|
||||
$skyAlpha = 89dceb
|
||||
$sapphireAlpha = 74c7ec
|
||||
$blueAlpha = 89b4fa
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$textAlpha = cdd6f4
|
||||
$subtext1Alpha = bac2de
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2Alpha = 9399b2
|
||||
$overlay1Alpha = 7f849c
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2Alpha = 585b70
|
||||
$surface1Alpha = 45475a
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$baseAlpha = 1e1e2e
|
||||
$mantleAlpha = 181825
|
||||
$crustAlpha = 11111b
|
||||
|
||||
$rosewater = 0xfff5e0dc
|
||||
$flamingo = 0xfff2cdcd
|
||||
$pink = 0xfff5c2e7
|
||||
$mauve = 0xffcba6f7
|
||||
$red = 0xfff38ba8
|
||||
$maroon = 0xffeba0ac
|
||||
$peach = 0xfffab387
|
||||
$yellow = 0xfff9e2af
|
||||
$green = 0xffa6e3a1
|
||||
$teal = 0xff94e2d5
|
||||
$sky = 0xff89dceb
|
||||
$sapphire = 0xff74c7ec
|
||||
$blue = 0xff89b4fa
|
||||
$lavender = 0xffb4befe
|
||||
|
||||
$text = 0xffcdd6f4
|
||||
$subtext1 = 0xffbac2de
|
||||
$subtext0 = 0xffa6adc8
|
||||
|
||||
$overlay2 = 0xff9399b2
|
||||
$overlay1 = 0xff7f849c
|
||||
$overlay0 = 0xff6c7086
|
||||
|
||||
$surface2 = 0xff585b70
|
||||
$surface1 = 0xff45475a
|
||||
$surface0 = 0xff313244
|
||||
|
||||
$base = 0xff1e1e2e
|
||||
$mantle = 0xff181825
|
||||
$crust = 0xff11111b
|
49
config/hypr/hypridle.conf
Normal file
49
config/hypr/hypridle.conf
Normal file
@ -0,0 +1,49 @@
|
||||
# ___ ___ .__ .___.__
|
||||
# / | \ ___.__._____________|__| __| _/| | ____
|
||||
# / ~ < | |\____ \_ __ \ |/ __ | | | _/ __ \
|
||||
# \ Y /\___ || |_> > | \/ / /_/ | | |_\ ___/
|
||||
# \___|_ / / ____|| __/|__| |__\____ | |____/\___ >
|
||||
# \/ \/ |__| \/ \/
|
||||
#
|
||||
# https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/
|
||||
# Configuration by Coby Powers
|
||||
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
unlock_cmd = pidof hyprlock && pkill -USR1 hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 180
|
||||
on-timeout = brightnessctl -s s 10
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 180
|
||||
on-timeout = brightnessctl -sd asus::kbd_backlight s 0
|
||||
on-resume = brightnessctl -rd asus::kbd_backlight
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1200
|
||||
on-timeout = playerctl pause
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = systemctl suspend
|
||||
}
|
207
config/hypr/hyprland.conf
Normal file
207
config/hypr/hyprland.conf
Normal file
@ -0,0 +1,207 @@
|
||||
# ___ ___ .__ .___
|
||||
# / | \ ___.__._____________| | _____ ____ __| _/
|
||||
# / ~ < | |\____ \_ __ \ | \__ \ / \ / __ |
|
||||
# \ Y /\___ || |_> > | \/ |__/ __ \| | \/ /_/ |
|
||||
# \___|_ / / ____|| __/|__| |____(____ /___| /\____ |
|
||||
# \/ \/ |__| \/ \/ \/
|
||||
#
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
# Configuration by Coby Powers
|
||||
|
||||
source = ~/.config/hypr/catppuccin-mocha.conf
|
||||
|
||||
monitor = HDMI-A-1, 2560x1440@144, 0x1080, 1
|
||||
monitor = DP-10, 1920x1080@74.97, 320x0, 1
|
||||
monitor = DP-11, 1920x1080@74.97,320x0, 1
|
||||
monitor = eDP-1, 2560x1600@120, 2560x1400, 2
|
||||
monitor = eDP-2, 2560x1600@120, 2560x1400, 2
|
||||
monitor = , preferred, auto, auto
|
||||
|
||||
# keybind variables
|
||||
$mainMod = SUPER
|
||||
|
||||
# app variables
|
||||
$terminal = alacritty
|
||||
$browser = brave
|
||||
$fileManager = nautilus
|
||||
$musicPlayer = spotify
|
||||
$menu = wofi
|
||||
$powerMenu = wlogout
|
||||
|
||||
# environment variables
|
||||
env = XDG_CURRENT_DESKTOP, Hyprland
|
||||
env = XDG_SESSION_DESTOP, Hyprland
|
||||
env = XDG_SESSION_TYPE, wayland
|
||||
env = GDK_BACKEND, wayland,x11
|
||||
env = QT_QPA_PLATFORM, wayland;xcb
|
||||
env = QT_QPA_PLATFORMTHEME, qt6ct
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||||
env = SDL_VIDEODRIVER, wayland
|
||||
env = CLUTTER_BACKEND, wayland
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT, wayland
|
||||
|
||||
env = HYPRCURSOR_THEME, Oxygen-18-White
|
||||
env = HYPRCURSOR_SIZE, 24
|
||||
|
||||
# launch system apps
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland.sh
|
||||
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 = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# launch util apps
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
exec-once = hyprpaper
|
||||
exec-once = hypridle
|
||||
exec-once = waybar
|
||||
exec-once = nm-applet
|
||||
exec-once = blueman-applet
|
||||
exec-once = nextcloud-client
|
||||
exec-once = notify-send -u low "Daily Quote" "$(python ~/.config/hypr/scripts/quotes.py)"
|
||||
|
||||
general {
|
||||
border_size = 2
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
col.inactive_border = $surface0
|
||||
col.active_border = $blue
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 12
|
||||
inactive_opacity = 0.95
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
bezier = custom, .8, 0, .08, 1
|
||||
|
||||
animation = windows, 1, 2, custom
|
||||
animation = layers, 1, 2, custom
|
||||
animation = fade, 1, 3, default
|
||||
animation = border, 1, 3, default
|
||||
animation = borderangle, 1, 3, default
|
||||
animation = workspaces, 1, 2, custom
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true # isn't working
|
||||
}
|
||||
|
||||
input {
|
||||
repeat_rate = 30
|
||||
repeat_delay = 400
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
scroll_factor = 0.3
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
|
||||
device {
|
||||
name = razer-razer-viper-ultimate-dongle
|
||||
#sensitivity = -0.9
|
||||
}
|
||||
|
||||
dwindle {
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
windowrulev2 = float, class:(Lxappearance)
|
||||
windowrulev2 = float, class:(nwg-look)
|
||||
windowrulev2 = float, class:(qt5ct)
|
||||
windowrulev2 = float, class:(qt6ct)
|
||||
windowrulev2 = float, class:(com.nextcloud.desktopclient.nextcloud)
|
||||
windowrulev2 = float, class:(minecraft-launcher)
|
||||
windowrulev2 = float, class:(org.gnome.Nautilus)
|
||||
windowrulev2 = float, title:(Save File)
|
||||
windowrulev2 = float, title:(Open File)
|
||||
|
||||
windowrulev2 = opacity 0.9, class:(org.gnome.Nautilus)
|
||||
windowrulev2 = opacity, 0.9, class:(wofi)
|
||||
windowrulev2 = opacity 0.95, class:(signal)
|
||||
|
||||
layerrule = blur, logout_dialog
|
||||
|
||||
bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
bind = $mainMod, M, exec, $musicPlayer
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, P, exec, $powerMenu
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod SHIFT, Q, exit,
|
||||
bind = $mainMod, K, togglefloating,
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, C, exec, grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | tail -n 1 | cut -d ' ' -f 4 | wl-copy
|
||||
bind = $mainMod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
||||
bind = $mainMod SHIFT, V, exec, cliphist wipe
|
||||
bind = $mainMod, S, exec, grim -g "$(slurp)" - | wl-copy && wl-paste > /home/coby/Pictures/Screenshots/$(date +"scrn_%Y%m%d_%H%M%S.png") && notify-send "Screenshot taken!"
|
||||
bind = $mainMod SHIFT, S, exec, grim - | wl-copy && wl-paste > /home/coby/Pictures/Screenshots/$(date +"fscrn_%Y%m%d_%H%M%S.png") && notify-send "Screenshot taken!"
|
||||
|
||||
bind = $mainMod, left, swapwindow, l
|
||||
bind = $mainMod, right, swapwindow, r
|
||||
bind = $mainMod, up, swapwindow, u
|
||||
bind = $mainMod, down, swapwindow, d
|
||||
|
||||
bind = $mainMod SHIFT, left, resizeactive, -5% 0%
|
||||
bind = $mainMod SHIFT, right, resizeactive, 5% 0%
|
||||
bind = $mainMod SHIFT, up, resizeactive, 0% -5%
|
||||
bind = $mainMod SHIFT, down, resizeactive, 0% 5%
|
||||
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, N, movetoworkspace, special:magic
|
||||
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# TODO: maybe extrapolate notification behavior into scripts
|
||||
bindel = ,XF86AudioRaiseVolume, exec, pamixer -i 5; notify-send -h string:x-canonical-private-synchronous:vol "Volume set to $(pamixer --get-volume)%"
|
||||
bindel = ,XF86AudioLowerVolume, exec, pamixer -d 5; notify-send -h string:x-canonical-private-synchronous:vol "Volume set to $(pamixer --get-volume)%"
|
||||
bindel = ,XF86KbdBrightnessUp, exec, brightnessctl -d asus::kbd_backlight set 1%+; notify-send -h string:x-canonical-private-synchronous:kbd_bright "Keyboard brightness set to $(brightnessctl -d asus::kbd_backlight g)"
|
||||
bindel = ,XF86KbdBrightnessDown, exec, brightnessctl -d asus::kbd_backlight set 1%-; notify-send -h string:x-canonical-private-synchronous:kbd_bright "Keyboard brightness set to $(brightnessctl -d asus::kbd_backlight g)"
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+; notify-send -h string:x-canonical-private-synchronous:mon_bright "Monitor brightness set to $(brightnessctl g)"
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-; notify-send -h string:x-canonical-private-synchronous:mon_bright "Monitor brightness set to $(brightnessctl g)"
|
||||
bindl = ,XF86AudioMute, exec, pamixer -t; notify-send -h string:x-canonical-private-synchronous:vol "Volume is now $(pamixer --get-volume-human)"
|
||||
bindl = ,XF86AudioMicMute, exec, pamixer --default-source -t
|
||||
bindl = ,XF86AudioPrev, exec, playerctl previous
|
||||
bindl = ,XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = ,XF86AudioNext, exec, playerctl next
|
||||
bindl = ,XF86TouchpadToggle, exec, notify-send -u normal "Unavailable" "Disabling the touchpad has not been implemented yet."
|
||||
bind = ,156, exec, rog-control-center # rog button
|
||||
bind = ,210, exec, asusctl led-mode -n # aura button
|
||||
bind = ,211, exec, asusctl profile -n # fan button
|
80
config/hypr/hyprlock.conf
Normal file
80
config/hypr/hyprlock.conf
Normal file
@ -0,0 +1,80 @@
|
||||
# ___ ___ .__ __
|
||||
# / | \ ___.__._____________| | ____ ____ | | __
|
||||
# / ~ < | |\____ \_ __ \ | / _ \_/ ___\| |/ /
|
||||
# \ Y /\___ || |_> > | \/ |_( <_> ) \___| <
|
||||
# \___|_ / / ____|| __/|__| |____/\____/ \___ >__|_ \
|
||||
# \/ \/ |__| \/ \/
|
||||
#
|
||||
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/
|
||||
# Configuration by Coby Powers
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = /home/coby/Nextcloud/Wallpapers/Color Mountains.png
|
||||
#color = rgba(30, 30, 46, 0.9)
|
||||
|
||||
blur_passes = 3
|
||||
blur_size = 8
|
||||
noise = 0.0117
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo $(date +"%l:%M")
|
||||
color = rgb(205, 214, 244)
|
||||
font_size = 180
|
||||
font_family = Noto Sans
|
||||
shadow_passes = 1
|
||||
shadow_color = rgb(49, 50, 68)
|
||||
|
||||
position = 0, -110
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 600, 75
|
||||
outline_thickness = 3
|
||||
dots_size = 0.25
|
||||
dots_spacing = 0.3
|
||||
dots_center = false
|
||||
dots_rounding = -1
|
||||
outer_color = rgb(49, 50, 68)
|
||||
inner_color = rgb(30, 30, 46)
|
||||
font_color = rgb(205, 214, 244)
|
||||
fade_on_empty = true
|
||||
fade_timeout = 1000
|
||||
placeholder_text = <span foreground="##6c7086">Please enter your password...</span>
|
||||
hide_input = false
|
||||
rounding = 16
|
||||
check_color = rgb(249, 226, 175)
|
||||
fail_color = rgb(243, 139, 168)
|
||||
fail_text =
|
||||
fail_transition = 200
|
||||
capslock_color = rgb(203, 166, 247)
|
||||
numlock_color = rgb(203, 166, 247)
|
||||
bothlock_color = rgb(203, 166, 247)
|
||||
invert_numlock = false
|
||||
swap_font_color = false
|
||||
|
||||
position = 0, -200
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:60000] echo -e $(python ~/.config/hypr/scripts/quotes.py || "Hello, Coby")
|
||||
color = rgb(166, 173, 200)
|
||||
font_size = 18
|
||||
font_family = JetBrainsMono Nerd Font
|
||||
|
||||
position = 0, -35
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
12
config/hypr/hyprpaper.conf
Normal file
12
config/hypr/hyprpaper.conf
Normal file
@ -0,0 +1,12 @@
|
||||
# ___ ___
|
||||
# / | \ ___.__.________________________ ______ ___________
|
||||
# / ~ < | |\____ \_ __ \____ \__ \ \____ \_/ __ \_ __ \
|
||||
# \ Y /\___ || |_> > | \/ |_> > __ \| |_> > ___/| | \/
|
||||
# \___|_ / / ____|| __/|__| | __(____ / __/ \___ >__|
|
||||
# \/ \/ |__| |__| \/|__| \/
|
||||
#
|
||||
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
|
||||
# Configuration by Coby Powers
|
||||
|
||||
preload = /home/coby/Nextcloud/Wallpapers/Color Mountains.png
|
||||
wallpaper = ,/home/coby/Nextcloud/Wallpapers/Color Mountains.png
|
17
config/hypr/scripts/powermenu.sh
Executable file
17
config/hypr/scripts/powermenu.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
op=$( echo -e " Shutdown\n Reboot\n Suspend\n Lock" | wofi --dmenu | awk '{print tolower($2)}' )
|
||||
|
||||
case $op in
|
||||
shutdown)
|
||||
shutdown now
|
||||
;;
|
||||
reboot)
|
||||
;&
|
||||
suspend)
|
||||
systemctl $op
|
||||
;;
|
||||
lock)
|
||||
hyprlock
|
||||
;;
|
||||
esac
|
13
config/hypr/scripts/quotes.py
Executable file
13
config/hypr/scripts/quotes.py
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import requests
|
||||
|
||||
res = requests.get('https://zenquotes.io/api/random')
|
||||
|
||||
if not res:
|
||||
exit(1)
|
||||
|
||||
json = res.json()
|
||||
data = json[0]
|
||||
|
||||
print(f"{data['q']}\n -- {data['a']}")
|
10
config/hypr/scripts/xdg-portal-hyprland.sh
Executable file
10
config/hypr/scripts/xdg-portal-hyprland.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sleep 1
|
||||
killall xdg-desktop-portal-hyprland
|
||||
killall xdg-desktop-portal-wlr
|
||||
killall xdg-desktop-portal
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
|
||||
sleep 2
|
||||
/usr/lib/xdg-desktop-portal &
|
Reference in New Issue
Block a user