initial commit

This commit is contained in:
smayzy 2025-02-25 20:41:09 +01:00
parent df6886f73d
commit 5efc78497f
22 changed files with 806 additions and 0 deletions

29
.zshrc Normal file
View File

@ -0,0 +1,29 @@
zstyle ':completion:*' completer _complete _ignored
zstyle :compinstall filename '~/.zshrc'
export MANPAGER='nvim +Man!'
autoload -Uz compinit
compinit
HISTFILE=~/.histfile
HISTSIZE=1000000
SAVEHIST=1000000
unsetopt beep
bindkey -v
PROMPT=" %B%F{196}%n %f%b%B%F{33}%~%f%b "
RPROMPT="%F{226}%d%f"
source <(fzf --zsh)
use_color=true
alias help='tldr'
alias clearf='clear && fastfetch'
alias la='ls -a --color=auto'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias gits='git status'
alias gita='git add'
alias gitm='git commit'
alias gitl='git log'
alias syu='yay -Syu'
alias vim='nvim'
alias cp='cp -r'
alias sshi='ssh -i ~/.ssh/id_rsa'
fastfetch

106
fastfetch/config.jsonc Normal file
View File

@ -0,0 +1,106 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetc h/raw/dev/doc/json_schema.json",
"logo": {
"type": "kitty-direct",
"source": "~/.config/fastfetch/stylish-reyna.png",
"width": 38,
"height": 19
},
"display": {
"separator": "  ",
"color": "white"
},
"modules": [
{
"type": "title",
"key":" USER AT",
"keyColor": "green",
"color": {
"user": "green",
"at": "white",
"host": "blue"
}
},
//system :
"break",
{
"type": "custom",
"format": "\u001b[90m╭──────────────────────SYSTEM──────────────────────╮"
//'\u001b[90m' is for color
},
{
"type": "os",
"key": "╭─ OS",
"keyColor": "cyan"
},
{
"type": "kernel",
"key": "├─ KERNEL",
"keyColor": "yellow"
},
{
"type": "uptime",
"key": "├─ UPTIME",
"keyColor": "green"
},
{
"type": "packages",
"key": "├─ PACKAGES",
"keyColor": "blue"
},
{
"type": "shell",
"key": "├─ SHELL",
"keyColor": "magenta"
},
{
"type": "wm",
"key": "├─ WINDOW MANAGER",
"keyColor": "red"
},
{
"type": "terminal",
"key": "╰─ TERMINAL",
"keyColor": "magenta"
},
"break",
//resources :
{
"type": "custom",
"format": "\u001b[90m╭────────────────────────────────RESOURCES─────────────────────────────────╮"
//'\u001b[90m' is for color
},
{
"type": "cpu",
"key": "╭─ CPU",
"keyColor": "cyan"
},
{
"type": "gpu",
"key": "├─󰘚 GPU",
"keyColor": "yellow"
},
{
"type": "memory",
"key": "├─ MEMORY",
"keyColor": "green"
},
{
"type": "swap",
"key": "├─ SWAP",
"keyColor": "blue"
},
{
"type": "disk",
"key": "╰─ DISK",
"keyColor": "magenta"
},
"break"
// "colors"
]
}

BIN
fastfetch/stylish-reyna.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

19
hypr/hyprland.conf Normal file
View File

@ -0,0 +1,19 @@
###############
### SOURCES ###
###############
# MONITORS
source = ~/.config/hypr/source/monitors.conf
# BINDS
source = ~/.config/hypr/source/binds.conf
# AUTOSTART
source = ~/.config/hypr/source/autostart.conf
# ENVIRONMENT VARIABLES
source = ~/.config/hypr/source/ev.conf
# LOOK AND FEEL
source = ~/.config/hypr/source/look.conf
# INPUT
source = ~/.config/hypr/source/input.conf
# WINDOWS AND WORKSPACES
source = ~/.config/hypr/source/winandwork.conf

7
hypr/hyprpaper.conf Normal file
View File

@ -0,0 +1,7 @@
#preload the wallpapers
preload = ~/Wallpaper/itachi-uchiha-sharingan-crow-akatsuki-4k-wallpaper-uhdpaper.com-294@2@a.jpg
preload = ~/Wallpaper/eren-attack-on-titan-final-season-part-3-4k-wallpaper-uhdpaper.com-917@1@j.jpg
#set the wallpaper
wallpaper = DP-1,~/Wallpaper/itachi-uchiha-sharingan-crow-akatsuki-4k-wallpaper-uhdpaper.com-294@2@a.jpg
wallpaper = DP-2,~/Wallpaper/eren-attack-on-titan-final-season-part-3-4k-wallpaper-uhdpaper.com-917@1@j.jpg

View File

@ -0,0 +1,6 @@
# Autostarts here
exec-once = waybar
exec = hyprpaper
exec = killall waybar && waybar
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

111
hypr/source/binds.conf Normal file
View File

@ -0,0 +1,111 @@
####################################
### USE WEV TO GET THE KEYS CODE ###
####################################
####################
### KEYBINDINGSS ###
####################
$terminal = kitty
$fileManager = dolphin
$menu = wofi --show drun
# MainMod
$mainMod = SUPER # "Windows" key
# exec
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, comma, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, R, exec, $menu
bind = $mainMod, W, exec, wlogout
bind = $mainMod, A, exec, qutebrowser
bind = $mainMod, F, fullscreen
bind = $mainMod, T, togglefloating
# Quick
bind = ,XF86AudioMute, exec, obsidian
bind = ,XF86AudioRaiseVolume, exec, virt-manager
bind = ,XF86AudioLowerVolume, exec, virt-manager
# Reload waybar
bind = $mainMod SHIFT, B, exec, killall waybar && waybar &
# Hide waybar
bind = $mainMod, X, exec, killall waybar || waybar &
# Clipboard history
bind = $mainMod, V, exec, cliphist list | wofi -dmenu | cliphist decode | wl-copy
# Screenshot to clipboard
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy
# Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d
# Resize Windows
bind = SUPER CTRL, h, resizeactive, -20 0
bind = SUPER CTRL, l, resizeactive, 20 0
bind = SUPER CTRL, k, resizeactive, 0 -20
bind = SUPER CTRL, j, resizeactive, 0 20
# Set default workspace
workspace=DP-1,1
workspace=DP-2,11
# Set workspaces
workspace=1,monitor:DP-1
workspace=2,monitor:DP-1
workspace=3,monitor:DP-1
workspace=4,monitor:DP-1
workspace=5,monitor:DP-1
workspace=6,monitor:DP-1
workspace=7,monitor:DP-1
workspace=8,monitor:DP-1
workspace=9,monitor:DP-1
workspace=10,monitor:DP-1
workspace=11,monitor:DP-2
workspace=12,monitor:DP-2
workspace=13,monitor:DP-2
workspace=14,monitor:DP-2
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, ampersand , workspace, 1
bind = $mainMod, eacute , workspace, 2
bind = $mainMod, quotedbl , workspace, 3
bind = $mainMod, apostrophe , workspace, 4
bind = $mainMod, parenleft , workspace, 5
bind = $mainMod, minus , workspace, 6
bind = $mainMod, egrave , workspace, 7
bind = $mainMod, underscore , workspace, 8
bind = $mainMod, ccedilla , workspace, 9
bind = $mainMod, agrave , workspace, 10
bind = $mainMod, dead_circumflex, workspace, 11
bind = $mainMod, dollar , workspace, 12
bind = $mainMod, ugrave , workspace, 13
bind = $mainMod, asterisk , workspace, 14
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, ampersand , movetoworkspace, 1
bind = $mainMod SHIFT, eacute , movetoworkspace, 2
bind = $mainMod SHIFT, quotedbl , movetoworkspace, 3
bind = $mainMod SHIFT, apostrophe , movetoworkspace, 4
bind = $mainMod SHIFT, parenleft , movetoworkspace, 5
bind = $mainMod SHIFT, minus , movetoworkspace, 6
bind = $mainMod SHIFT, egrave , movetoworkspace, 7
bind = $mainMod SHIFT, underscore , movetoworkspace, 8
bind = $mainMod SHIFT, ccedilla , movetoworkspace, 9
bind = $mainMod SHIFT, agrave , movetoworkspace, 10
bind = $mainMod SHIFT, dead_circumflex, movetoworkspace, 11
bind = $mainMod SHIFT, dollar , movetoworkspace, 12
bind = $mainMod SHIFT, ugrave , movetoworkspace, 13
bind = $mainMod SHIFT, asterisk , movetoworkspace, 14
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

13
hypr/source/ev.conf Normal file
View File

@ -0,0 +1,13 @@
# Set env here
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = GTK_THEME, Adwaita-dark
cursor {
no_hardware_cursors = true
}

21
hypr/source/input.conf Normal file
View File

@ -0,0 +1,21 @@
#Set inputs here
input {
kb_layout = fr
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0
touchpad {
natural_scroll = false
}
}
gestures {
workspace_swipe = false
}

73
hypr/source/look.conf Normal file
View File

@ -0,0 +1,73 @@
#Set look and feel here
general {
gaps_in = 3
gaps_out = 5
border_size = 1
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
layout = dwindle
}
decoration {
rounding = 6
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
}
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = false
size = 3
passes = 1
vibrancy = 0.1696
}
}
animations {
enabled = true
# 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 = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
}
master {
new_status = master
}
misc {
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}

View File

@ -0,0 +1,3 @@
# Set monitors here
monitor= DP-1, 1920x1080@165, 0x0, 1
monitor= DP-2, 1920x1080@165, -1080x-520, 1, transform, 1 # Rotate the second screen

View File

@ -0,0 +1,9 @@
#Set windows ans workspaces rules here
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Set default fullscreen for webcord
windowrulev2 = fullscreen, class:^(WebCord)$

128
waybar/config Normal file
View File

@ -0,0 +1,128 @@
// -*- mode: json -*-
{
"layer": "top",
"output": "DP-1",
"modules-left": [
"custom/launcher",
"custom/right-arrow-dark",
"custom/right-arrow-light",
"hyprland/workspaces",
"custom/right-arrow-dark"
],
"modules-center": [
"custom/left-arrow-dark",
"clock#1",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"clock#2",
"custom/right-arrow-dark",
"custom/right-arrow-light",
"clock#3",
"custom/right-arrow-dark"
],
"modules-right": [
"custom/left-arrow-dark",
"custom/updates",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"cpu",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"memory",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"pulseaudio",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"disk",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"tray",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"custom/power"
],
"custom/left-arrow-dark": {
"format": "",
"tooltip": false
},
"custom/left-arrow-light": {
"format": "",
"tooltip": false
},
"custom/right-arrow-dark": {
"format": "",
"tooltip": false
},
"custom/right-arrow-light": {
"format": "",
"tooltip": false
},
"hyprland/workspaces": {
"disable-scroll": true,
"format": "{name}"
},
"clock#1": {
"format": "{:%a}",
"tooltip": false
},
"clock#2": {
"format": "{:%I:%M %p}",
"tooltip": false
},
"clock#3": {
"format": "{:%d-%m}",
"tooltip": false
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "MUTE",
"format-icons": {
"headphones": "",
"default": [
"",
""
]
},
"scroll-step": 5,
"on-click": "pamixer -t",
"on-click-right": "pavucontrol"
},
"memory": {
"interval": 5,
"format": " {}%"
},
"cpu": {
"interval": 5,
"format": "{usage:2}%"
},
"disk": {
"interval": 5,
"format": " {percentage_used:2}%",
"path": "/"
},
"tray": {
"icon-size": 20
},
"custom/launcher":{
"format": "  ",
"on-click": "wofi --show drun",
"on-click-right": "killall wofi"
},
"custom/power":{
"format": "  ",
"on-click": "wlogout"
},
"custom/updates":{
"format": " {} Update(s) ",
"exec": "checkupdates | wc -l",
"interval": 1800
}
}

80
waybar/style.css Normal file
View File

@ -0,0 +1,80 @@
* {
font-size: 15px;
font-family: monospace;
}
window#waybar {
background: #292b2e;
color: #fdf6e3;
}
#custom-right-arrow-dark,
#custom-left-arrow-dark {
color: #1a1a1a;
}
#custom-right-arrow-light,
#custom-left-arrow-light {
color: #292b2e;
background: #1a1a1a;
}
#custom-updates {
color: #F3881F;
background: #1a1a1a;
}
#custom-power {
color: #ff8080;
background: #1a1a1a;
}
#custom-launcher,
#workspaces,
#clock.1,
#clock.2,
#clock.3,
#pulseaudio,
#memory,
#cpu,
#disk,
#tray {
background: #1a1a1a;
}
#workspaces button {
padding: 0 2px;
color: #fdf6e3;
}
#workspaces button.focused {
color: #268bd2;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button:hover {
background: #1a1a1a;
border: #1a1a1a;
padding: 0 3px;
}
#pulseaudio {
color: #268bd2;
}
#memory {
color: #2aa198;
}
#cpu {
color: #6c71c4;
}
#disk {
color: #b58900;
}
#clock,
#pulseaudio,
#memory,
#cpu,
#tray,
#custom-launcher,
#disk {
padding: 0 10px;
}

18
wlogout/layout Normal file
View File

@ -0,0 +1,18 @@
{
"label" : "logout",
"action" : "sleep 1; hyprctl dispatch exit",
"text" : "Logout",
"keybind" : "l"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}

BIN
wlogout/logout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
wlogout/power.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
wlogout/restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

44
wlogout/style.css Normal file
View File

@ -0,0 +1,44 @@
* {
background-image: none;
box-shadow: none;
}
window {
background-color: rgba(30, 30, 46, 0.5);
font-size: 14px;
color: #cdd6f4;
}
button {
border-radius: 0;
border-color: black;
text-decoration-color: #FFFFFF;
color: #FFFFFF;
background-color: #1E1E1E;
border-style: solid;
border-width: 0px;
border-radius: 20%;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
margin: 30px;
transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
button:focus {
background-color: #cba6f7;
outline-style: none;
background-size: 35%;
}
#logout {
background-image: image(url("logout.png"));
}
#shutdown {
background-image: image(url("power.png"));
}
#reboot {
background-image: image(url("restart.png"));
}

49
wlogout/style.css.bu Normal file
View File

@ -0,0 +1,49 @@
* {
background-image: none;
box-shadow: none;
}
window {
background-color: rgba(30, 30, 46, 0.5);
font-size: 14px;
color: #cdd6f4;
}
button {
border-radius: 0;
border-color: black;
text-decoration-color: #FFFFFF;
color: #FFFFFF;
background-color: #1E1E1E;
border-style: solid;
border-width: 1px;
border-radius: 50% / 15%;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
margin: 5px;
transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
button:hover{
background-color: #cba6f7;
outline-style: none;
}
button:focus, button:active, {
background-color: #cba6f7;
outline-style: none;
background-size: 40%;
}
#logout {
background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
}
#shutdown {
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
}
#reboot {
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
}

15
wofi/config Normal file
View File

@ -0,0 +1,15 @@
width=600
height=350
location=center
show=drun
prompt=Search...
filter_rate=100
allow_markup=true
no_actions=true
halign=fill
orientation=vertical
content_halign=fill
insensitive=true
allow_images=true
image_size=40
gtk_dark=true

75
wofi/style.css Normal file
View File

@ -0,0 +1,75 @@
window {
margin: 0px;
border: 5px solid #1e1e2e;
background-color: #cdd6f4;
border-radius: 15px;
}
#input {
padding: 4px;
margin: 4px;
padding-left: 20px;
border: none;
color: #cdd6f4;
font-weight: bold;
background-color: #1e1e2e;
outline: none;
border-radius: 15px;
margin: 10px;
margin-bottom: 2px;
}
#input:focus {
border: 0px solid #1e1e2e;
margin-bottom: 0px;
}
#inner-box {
margin: 4px;
border: 10px solid #1e1e2e;
color: #cdd6f4;
font-weight: bold;
background-color: #1e1e2e;
border-radius: 15px;
}
#outer-box {
margin: 0px;
border: none;
border-radius: 15px;
background-color: #1e1e2e;
}
#scroll {
margin-top: 5px;
border: none;
border-radius: 15px;
margin-bottom: 5px;
/* background: rgb(255,255,255); */
}
#img:selected {
background-color: #89b4fa;
border-radius: 15px;
}
#text:selected {
color: #cdd6f4;
margin: 0px 0px;
border: none;
border-radius: 15px;
background-color: #89b4fa;
}
#entry {
margin: 0px 0px;
border: none;
border-radius: 15px;
background-color: transparent;
}
#entry:selected {
margin: 0px 0px;
border: none;
border-radius: 15px;
background-color: #89b4fa;
}