Fully updated to the actual (Boussole v1) config and got rid of most things that shouldn't be there

This commit is contained in:
Guillem George 2025-10-28 19:25:40 +01:00
parent 6b616b44dd
commit 71f2b38a0d
192 changed files with 854 additions and 605 deletions

View file

@ -6,9 +6,8 @@
# Set programs that you use
$terminal = foot
#$fileManager = cosmic-files
$fileManager = nautilus
$menu = albert toggle
$menu = rofi -show drun
$notificationManager = swaync-client -t
@ -25,6 +24,9 @@ exec-once = ~/.config/hypr/scripts/autostart.sh
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
# No update message
ecosystem:no_update_news = true
#############################
### ENVIRONMENT VARIABLES ###

View file

@ -46,7 +46,7 @@ bind = $mainMod, D, exec, $menu # Legacy menu shortcut
bind = $mainMod, L, exec, hyprlock # Lockscreen
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh # Toggle sidebar
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh # Reload desktop
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh # Gamemode
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/simplemode.sh # Simple mode (No amimations or whatever fancy effect)
bind = $mainMod SHIFT, M, exit, # Exit desktop session
# Shortcuts
@ -63,6 +63,12 @@ bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move windows with mainMod + shift + arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
# Layout
bind = $mainMod, F, fullscreen,
bind = $mainMod, V, togglesplit, # Horizontal/vertical split

View file

@ -4,7 +4,7 @@ input {
kb_layout = fr
kb_variant = us
kb_model =
kb_options =
kb_options =
kb_rules =
}

View file

@ -1,10 +0,0 @@
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor=eDP-1,preferred,0x0,1 # Laptop screen
monitor=DP-1, preferred, 0x-1080, 1 # HP Home monitor
monitor=DP-2, preferred, 0x-1080, 1 # HP Home monitor
monitor=HDMI-A-1, preferred, 0x-1440, 1 # Dell monitor

View file

@ -5,9 +5,9 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
# All screens
monitorv2 {
mode = preferred
position = auto
scale = auto
}
# monitorv2 {
# mode = preferred
# position = auto
# scale = auto
# }

View file

@ -5,19 +5,19 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
# Laptop screen
monitorv2 {
output = eDP-1
mode = preferred
position = 0x0
scale = 1
}
# monitorv2 {
# output = eDP-1
# mode = preferred
# position = 0x0
# scale = 1
# }
# Other monitors (mirror laptop screen)
monitorv2 {
output = *
mode = preferred
position = auto
scale = 1
mirror = eDP-1
}
# # Other monitors (mirror laptop screen)
# monitorv2 {
# output = *
# mode = preferred
# position = auto
# scale = 1
# mirror = eDP-1
# }

View file

@ -1,12 +1,25 @@
# BACKGROUND
## Old config
# background {
# monitor =
# path = ~/.config/hypr/images/lockscreen.jpg
# blur_passes = 0
# #contrast = 0.8916
# #brightness = 0.8172
# #vibrancy = 0.1696
# #vibrancy_darkness = 0.0
# }
background {
monitor =
path = ~/.config/hypr/images/lockscreen.jpg
blur_passes = 0
#contrast = 0.8916
#brightness = 0.8172
#vibrancy = 0.1696
#vibrancy_darkness = 0.0
path = screenshot # 'screenshot' = auto-capture screen and blur it
# path = $HOME/afs/Images/lockk.png
blur_passes = 3
blur_size = 4
noise = 0.0
contrast = 0.7
brightness = 0.8172
vibrancy = 0.2
vibrancy_darkness = 0.0
}
# GENERAL
@ -31,7 +44,7 @@ input-field {
font_color = rgb(200, 200, 200)
fade_on_empty = false
font_family = DejaVu Sans
placeholder_text = <i><span foreground="##ffffff99">Enter Pass</span></i>
placeholder_text = <i><span foreground="##ffffff99">Enter password</span></i>
hide_input = false
position = 0, -350
halign = center
@ -83,16 +96,40 @@ label {
#}
# USER
#label {
# monitor =
# text = Hi, Guillem #$USER
# color = rgba(216, 222, 233, 0.70)
# font_size = 20
# font_family = DejaVu Sans
# position = 0, -200
# halign = center
# valign = center
#}
label {
monitor =
text = $USER
color = rgba(216, 222, 233, 0.70)
font_size = 20
font_family = JetbrainsMonoNL NF
position = 0, -200
halign = center
valign = center
}
# Timer
label {
monitor =
text = cmd[update:0] echo "Locked since $TIME"
color = rgba(216, 222, 233, 0.40)
font_size = 20
font_family = JetbrainsMonoNL NF
position = 0, -250
halign = center
valign = center
}
# # Failed login attempts
# label {
# monitor =
# text = cmd[update:1000] echo "$ATTEMPTS Failed attempts"
# color = rgba(216, 222, 233, 0.40)
# font_size = 20
# font_family = JetbrainsMonoNL NF
# position = 0, -250
# halign = center
# valign = center
# }
# CURRENT SONG
label {
@ -100,7 +137,7 @@ label {
text = cmd[update:1000] echo "$(~/.config/hypr/scripts/songdetails.sh)"
color = rgba(255, 255, 255, 0.7)
font_size = 16
font_family = DejaVu Sans
font_family = JetbrainsMonoNL NF
position = 0, 20
halign = center
valign = bottom

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

10
.config/hypr/scripts/.__afs88AC Executable file
View file

@ -0,0 +1,10 @@
time_elapsed=0
while true; do
hours=$(($time_elapsed/3600))
minutes=$(($time_elapsed/60))
seconds=$(($time_elapsed%60))
printf '%02d:%02d:%02d\n' $hours $minutes $seconds
echo "$hours:$minutes:$seconds"
time_elapsed=$(($time_elapsed+1))
sleep 1
done

View file

@ -5,8 +5,8 @@
# If you want to add your own applications you may rather want to use exec-once in the environment.conf file
hyprpaper &
hyprpm reload -nn &
albert &
#hyprpm reload -nn &
swaync &
systemctl --user start hyprpolkitagent &
~/.config/hypr/scripts/restore-waybar.sh
waybar
#systemctl --user start hyprpolkitagent &
#~/.config/hypr/scripts/restore-waybar.sh

View file

@ -1,7 +1,6 @@
killall albert
killall hyprpaper
killall waybar
killall swaync
kill $(pidof hyprpaper)
kill $(pidof waybar)
kill $(pidof swaync)
hyprctl reload

View file

@ -13,10 +13,10 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
keyword general:border_size 1;\
keyword decoration:rounding 0"
killall waybar
hyprctl notify 1 2000 0 "Enabled game mode"
hyprctl notify 1 2000 0 "Enabled simple mode"
exit
fi
hyprctl reload
~/.config/hypr/scripts/restore-waybar.sh
hyprctl notify 1 2000 0 "Disabled game mode"
hyprctl notify 1 2000 0 "Disabled simple mode"

View file

@ -1,2 +0,0 @@
song_info=$(playerctl metadata --format '{{title}} 󰎆 {{artist}}')
echo "$song_info"

View file

@ -1,35 +0,0 @@
#!/bin/sh
device=znt0001:00-14e5:650e-touchpad
toggle_variable="device[${device}]:enabled"
hyprctl keyword "${toggle_variable}" true
status_file="$HOME/.config/hypr/status/touchpad"
enable_touchpad() {
printf "on" > "${status_file}"
hyprctl notify 1 2000 0 "Enabled touchpad"
hyprctl keyword "${toggle_variable}" true
}
disable_touchpad() {
printf "off" > "${status_file}"
hyprctl notify 0 2000 0 "Disabled Touchpad"
hyprctl keyword "${toggle_variable}" false
}
if ! [ -f "${status_file}" ]; then
hyprctl notify 3 3000 0 "Status file missing"
enable_touchpad
else
if [ $(cat "${status_file}") = "on" ]; then
disable_touchpad
elif [ $(cat "${status_file}") = "off" ]; then
enable_touchpad
fi
fi

View file

@ -1 +0,0 @@
on

View file

@ -1 +1 @@
on
off