Initial Commit

This commit is contained in:
Liliesh 2025-05-31 19:34:27 +02:00
commit ef6f325fd3
Signed by: liliesh
GPG key ID: 680387646C7BAE8E
22 changed files with 437 additions and 0 deletions

0
Makefile Normal file
View file

View file

@ -0,0 +1,15 @@
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsIn, 1, 4, default, slide
animation = windowsOut, 1, 7, default, slide
animation = border, 1, 10, default
animation = borderangle, 1, 7, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default, slide
}

View file

@ -0,0 +1,27 @@
decoration {
rounding = 10
# OPACITY
active_opacity = 1.0
inactive_opacity = 1.0
# BLUR
blur {
enabled = yes
size = 4
passes = 1
}
# SHADOW
shadow {
enabled = no
range = 4
render_power = 3
color = rgba(7d5780ee)
}
# DIM
dim_inactive = yes
dim_strength = 0.1
}

View file

@ -0,0 +1,4 @@
dwindle {
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}

View file

@ -0,0 +1,2 @@
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that

View file

@ -0,0 +1,12 @@
# SYSTEM TOOLS
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = systemctl --user start hyprpolkitagent
exec-once = mako
exec-once = waybar
exec-once = ~/.config/hypr/scripts/sleep.sh
exec-once = swww-daemon
exec-once = ~/.config/hypr/scripts/wallpaper-rotation.sh
# CLIENT PROGRAMS
exec-once = seafile-applet

View file

@ -0,0 +1,12 @@
general {
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(f2a6f7ee)
col.inactive_border = rgba(595959aa)
layout = dwindle
allow_tearing = false
}

View file

@ -0,0 +1,4 @@
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off
}

View file

@ -0,0 +1,21 @@
monitor=,preferred,auto,1.0
#IMPORT CONFIGS
$config = ~/.config/hypr
source = $config/env.conf
source = $config/programs.conf
source = $config/exec.conf
source = $config/general.conf
source = $config/dwindle.conf
source = $config/input.conf
source = $config/decoration.conf
source = $config/animations.conf
source = $config/keybinds.conf
source = $config/master.conf
source = $config/gestures.conf
source = $config/misc.conf
source = $config/rules.conf

View file

@ -0,0 +1,13 @@
input {
kb_layout = us
kb_variant = altgr-intl
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
}

View file

@ -0,0 +1,82 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move windows
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
# Switch workspaces with mainMod + [0-9]
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
# Move active window to a workspace with mainMod + SHIFT + [0-9]
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
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Media Keys
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +10%
bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -10%
bind = ,XF86AudioPlay, exec, playerctl play-pause
bind = ,XF86AudioPrev, exec, playerctl previous
bind = ,XF86AudioNext, exec, playerctl next
# Utils
bind = $mainMod ALT, W, exec, ~/.config/hypr/scripts/restart_waybar.sh
bind = $mainMod, L, exec, ~/.config/hypr/scripts/lock.sh
bind = $mainMod, ESCAPE, exec, ~/.config/rofi/powermenu.sh
# Screenshots
$screenshotPath = ~/Pictures/Screenshots/Screenshot_$(date +"%Y%m%d_%H%M%S").png
bind = $mainMod SHIFT, Print, exec, grimblast copysave area $screenshotPath
bind = ,Print, exec, grimblast copysave screen $screenshotPath
# Notebook Specific
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-

View file

@ -0,0 +1,3 @@
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
}

View file

@ -0,0 +1,4 @@
misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
}

View file

@ -0,0 +1,3 @@
$terminal = kitty
$fileManager = kitty
$menu = rofi -show drun

View file

@ -0,0 +1,5 @@
windowrulev2 = idleinhibit fullscreen,fullscreen:1
windowrulev2 = suppressevent maximize, class:.*
windowrulev2 = nodim, class:^(firefox)$ title:(.*)(- YouTube)(.*)$
windowrulev2 = nodim, class:^(firefox)$ title:(.*)(Twitch)(.*)$
windowrulev2 = nodim, class:^(firefox)$ title:(.*)(Picture-in-Picture)$

View file

@ -0,0 +1 @@
swaylock --font Ubuntu --font-size 20 --ring-color e7b2eb --key-hl-color 85e8ed --inside-color ffffff --text-caps-lock-color 000000 --image /home/liliesh/Pictures/Wallpapers/836b6427b9d3ff4c.png

View file

@ -0,0 +1,3 @@
#!/bin/bash
killall waybar
waybar &

View file

@ -0,0 +1,5 @@
swayidle -w timeout 300 '~/.config/hypr/scripts/lock.sh' \
timeout 600 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
timeout 900 'systemctl suspend' \
before-sleep '~/.config/hypr/scripts/lock.sh' &

View file

@ -0,0 +1,10 @@
#!/bin/bash
SOURCE_DIR=~/Pictures/Wallpapers/Current
while true
do
WALLPAPER=$(find $SOURCE_DIR -type f | shuf -n 1)
swww img --no-resize -t wipe --transition-fps=100 $WALLPAPER
sleep 20m
done

View file

@ -0,0 +1,32 @@
font_family Fira Code
font_size 11.0
cursor_shape underline
shell_integration no-cursor
enable_audio_bell no
visual_bell_duration 1.0
initial_window_width 114c
initial_window_height 27c
background_opacity 1
background_blur 1
background #e0bfc6
foreground #900C3F
cursor #753d4a
selection_background #d6d6d6
color0 #753d4a
color8 #753d4a
color1 #d65a5a
color9 #b54c4c
color2 #50964b
color10 #3f753b
color3 #d18860
color11 #bf6737
color4 #4389bf
color12 #264f6e
color5 #8959a8
color13 #52266e
color6 #3e999f
color14 #2e6e73
color7 #ffe6eb
color15 #ffe6eb
selection_foreground #ffffff

85
waybar/LilieshBase/config Normal file
View file

@ -0,0 +1,85 @@
{
"layer": "top",
"height": 20,
"spacing": 4,
"margin": "5 5 0 5",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center" : ["clock"],
"modules-right": ["tray", "battery", "cpu", "temperature", "memory", "pulseaudio", "idle_inhibitor"],
"idle_inhibitor": {
"format": "<span color='#85edad'>{icon} </span>",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"spacing": 5
},
"clock": {
"format": "<span color='#ed85d5'></span> {:%H:%M %b %e}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "Time to Mrrrp :3"
},
"cpu": {
"format": "<span color='#be85ed'>󰓅</span> {usage}%",
"tooltip": false,
"states": {
"critical": 85
}
},
"memory": {
"format": "<span color='#85e8ed'></span> {used:0.1f}GiB ({percentage}%)",
"states" :{
"warning": 70,
"critical": 90
}
},
"temperature": {
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 85,
"format": "{icon} {temperatureC}°C",
"format-icons": ["<span color='#ed9185'></span>"]
},
"pulseaudio": {
"format": "<span color='#ed5c9b'>{icon}</span> {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": "<span color='#ed5c9b'>󰝟</span> {format_source}",
"format-source": "<span color='#edbc85'></span> {volume}%",
"format-source-muted": "<span color='#edbc85'></span>",
"format-icons": {
"headphone": "",
"phone": "",
"portable": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
"battery": {
"bat": "BAT0",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "<span color='#ed85ea'></span> {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": [
"<span color='#ed8585'></span>",
"<span color='#ed8585'></span>",
"<span color='#ede685'></span>",
"<span color='#85ed8e'></span>",
"<span color='#85ed8e'></span>"
]
},
"hyprland/workspaces" :{
"persistent-workspaces": {
"1": [],
"2": [],
"3": []
}
}
}

View file

@ -0,0 +1,94 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: Ubuntu, sans-serif;
font-size: 13px;
}
/*VARS*/
@define-color critical-color #ff5ed1;
@define-color primary-color #ffabe7;
@define-color secondary-color #fbe4f7;
@define-color dark-color rgba(0,0,0, 0.9);
@define-color background-color rgba(0, 0, 0, 0.4);
@define-color text-color rgb(255, 255, 255);
window#waybar {
background: @background-color;
border-radius: 5px;
}
/*General Paddings*/
#clock,
#battery,
#window,
#tray,
#pulseaudio,
#cpu,
#temperature,
#memory,
#idle_inhibitor{
padding: 0 10px 0 10px;
color: @text-color;
background-color: @dark-color;
border-radius: 5px;
margin: 0 3px 0 3px;
}
/*Window Settings*/
#window {
/*background-color: @primary-color;*/
color: @text-color;
font-weight: bold;
}
/*Workspace Settings*/
#workspaces {
border-radius: 5px;
/*background-color: @secondary-color;*/
color: @text-color;
}
#workspaces button {
transition: all 300ms ease-in-out;
border-radius: 5px;
color: @text-color;
}
#workspaces button.active {
background-color: @primary-color;
color: black;
font-weight: bold;
}
/*Animated objects*/
#cpu,
#battery,
#memory,
#temperature{
transition: all 300ms ease-in-out;
}
#cpu.critical,
#battery.critical,
#memory.critical,
#temperature.critical {
animation-name: pLINK;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
font-weight: bold;
}
/*Modules*/
.modules-right {
/*background-color: @secondary-color;*/
border-radius: 5px;
padding: 5px;
}
/*Animations*/
@keyframes pLINK {
to { background-color: @critical-color;}
}