wallpapers and such

This commit is contained in:
Stuce 2025-07-13 09:51:07 +02:00
parent 418e090ce6
commit cb3663cddb
8 changed files with 122 additions and 17 deletions

View file

@ -6,30 +6,29 @@ All my dotfiles, easily installable using the install script.
The scripts checks if a file already exists there before overwriting !
## To do :
- [ ] git defaults
- [ ] kitty
- [x] git defaults
- [x] kitty
- [x] theme
- [ ] remove annoying question on closing
- [ ] polish tab/panes shortcuts
- [ ] sessionizer (via kitty or lazyvim)
- [x] remove annoying question on closing
- [x] polish tab/panes shortcuts
- [ ] sessionizer (via kitty or lazyvim) (or both ?)
- [ ] hyprland
- [x] default functionality
- [x] borders
- [x] xdg-portal
- [ ] multi gpu on desktop ?
- [ ] hyprlock and hyprctl
- [x] hyprlock
- [ ] lazyvim
- [x] remove enter in blink
- [x] remove tabs
- [x] harpoon
- [ ] markdown
- [ ] add greeter
- [x] works
- [ ] theme
- [ ] markdown - make it less annoying
- [x] add greeter
- [x] bar
- [ ] statusBar
- [x] works
- [ ] make battery conditional ?
- [ ] fix small annoying artifact since installing fonts
- [ ] notifications
- [ ] add per folder sudo when needed on install script
- [ ] screen sharing works for zoom
@ -37,5 +36,7 @@ The scripts checks if a file already exists there before overwriting !
- [ ] all dependencies in a list to install everything (via pacman or yay) at once easily
- [ ] add way to add export variables and aliases and scripts in bashrc/zshrc
- [ ] customize terminal a bit ? try fsh ?
- [ ] Dependencies : everything that is needed to install should be recorded in dependencies file until it is actually implemented in the install script
## Usage
`./install.sh`
NOTE: this is still work in progress, it does not work completely yet

View file

@ -1,7 +1,7 @@
exec-once=systemctl --user start hyprpolkitagent
exec-once=i3bar-river
exec-once=hyprpaper
exec-once="$HOME/dotfiles/scripts/background.sh"
exec-once=hyprpaper
#exec-once = /nix/store/lww2khz04qsc8prjp8l0haldwz15yivi-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mod=SUPER
#source=/nix/store/zqfq9kzjv69rzaif98fjlhg7k0218pyh-catppuccin-hyprland-0-unstable-2024-06-19/mocha.conf
@ -38,6 +38,12 @@ misc {
}
monitor=, preferred, auto, 1
# Global shorcuts
bind = SUPER + ALT, S, pass, class:^(com\.obsproject\.Studio)$
bind = SUPER + ALT, O, pass, class:^(com\.obsproject\.Studio)$
bind = SUPER + ALT, P, pass, class:^(com\.obsproject\.Studio)$
bind = SUPER + ALT, R, pass, class:^(com\.obsproject\.Studio)$
# Launchers
bind=$mod, D, exec, wmenu-run
@ -75,6 +81,7 @@ bind=$mod, code:17, workspace, 8
bind=$mod SHIFT, code:17, movetoworkspace, 8
bind=$mod, code:18, workspace, 9
bind=$mod SHIFT, code:18, movetoworkspace, 9
bind=, XF86LogOff, exec, "$HOME/dotfiles/scripts/lock.sh"
# Settings buttons
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+

87
config/hypr/hyprlock.conf Normal file
View file

@ -0,0 +1,87 @@
# sample hyprlock.conf
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
#
# rendered text in all widgets supports pango markup (e.g. <b> or <i> tags)
# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks
#
# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace
#
# you can get started by copying this config to ~/.config/hypr/hyprlock.conf
#
$font = Monospace
general {
hide_cursor = true
}
# uncomment to enable fingerprint authentication
# auth {
# fingerprint {
# enabled = true
# ready_message = Scan fingerprint to unlock
# present_message = Scanning...
# retry_delay = 250 # in milliseconds
# }
# }
animations {
enabled = false
}
background {
monitor =
path = $BG
# path = $HOME/dotfiles/backgrounds/uwp4468846.jpeg
blur_passes = 0
}
input-field {
monitor =
size = 150, 150
outline_thickness = 10
inner_color = rgba(0, 0, 0, 0.0) # no fill
outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
font_color = rgb(143, 143, 143)
fade_on_empty = true
rounding = 100
font_family = $font
placeholder_text =
fail_text = $PAMFAIL
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
hide_input = true
position = 0, -20
halign = center
valign = center
}
# TIME
label {
monitor =
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
font_size = 90
font_family = $font
position = -30, 0
halign = right
valign = top
}
# DATE
label {
monitor =
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
font_size = 25
font_family = $font
position = -30, -150
halign = right
valign = top
}

View file

@ -65,5 +65,8 @@ map alt+2 goto_tab 2
map alt+3 goto_tab 3
map alt+4 goto_tab 4
map alt+5 goto_tab 5
map alt+enter new_tab_with_cwd
map alt+q close_tab
map alt+enter new_window_with_cwd
map alt+t new_tab_with_cwd
map alt+q close_window
confirm_os_window_close 0

3
home/.gitconfig Normal file
View file

@ -0,0 +1,3 @@
[user]
email = lefabricesaucy@outlook.com
name = Stuce

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
sources=("$PWD/config/" "$PWD/etc/")
targets=("$HOME/.config/" "/etc/")
sources=("$PWD/config/" "$PWD/etc/" "$PWD/home/")
targets=("$HOME/.config/" "/etc/" "$HOME/")
length=${#sources[@]}
# TODO: need to address need to run as sudo to add symlink to certain folders, maybe ask in outer loop when sudo is needed and set a variable
@ -10,7 +10,7 @@ for ((i = 0; i < length; i++)); do
source=${sources[i]}
target=${targets[i]}
for folder in $(ls $source); do
for folder in $(ls $source -a); do
if [ -e "$target$folder" ]; then
echo "The file '$target$folder' exists."
else

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
WALLPAPER_DIR="$HOME/dotfiles/backgrounds/"
CURRENT_WALL=$(hyprctl hyprpaper listloaded)

4
scripts/lock.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
WALLPAPER_DIR=$HOME/dotfiles/backgrounds/
WALLPAPER=$(find "$WALLPAPER_DIR" | shuf -n 1)
BG=$WALLPAPER hyprlock