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

@ -1,2 +1,2 @@
$active_color = rgba(98C1D9FF)
$active_color = rgba(de3c3cff)
$inactive_color = rgba(595959aa)

View file

@ -1,3 +1,9 @@
[main]
shell=zsh
font=DejaVu Sans Mono:size=12
font= JetBrainsMono Nerd Font Propo:size=12
# Theme
include = ~/.config/foot/github-dark.ini
[cursor]
style=beam
blink=true

View file

@ -0,0 +1,9 @@
# -*- conf -*-
# Github Dark
# By Gu://em_
# Needed a lot of work
[colors]
background=0d1117
foreground=c9d1d9

View file

@ -0,0 +1,6 @@
theme = "github_dark"
# theme = "adwaita-light"
[editor]
line-number = "relative"

View file

@ -0,0 +1,6 @@
[[language]]
name="c"
indent = { tab-width=4, unit=" "}
# formatter = { command = "clang-format", args=["--style=file"] }
auto-format = true

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

4
.config/rofi/config.rasi Normal file
View file

@ -0,0 +1,4 @@
//@theme "/home/guillem.george/.local/share/rofi/themes/seventy-eight.rasi"
@theme "/home/guillem.george/.local/share/rofi/themes/boussole.rasi"

View file

@ -1 +0,0 @@
../colors/colors.css

View file

@ -1,149 +0,0 @@
{
"layer": "top",
"position": "bottom",
"height": 24,
"spacing": 5,
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["tray", "idle_inhibitor", "group/network_grp", "group/audio"],
"group/network_grp": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"transition-left-to-right": true
},
"modules": [
"network",
"network#speed"
]
},
"group/audio": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"transition-left-to-right": true
},
"modules": [
"pulseaudio",
"pulseaudio#mic",
"pulseaudio#volume",
]
},
"hyprland/workspaces": {
"format": "<span size='larger'>{icon}</span>",
"on-click": "activate",
"format-icons": {
"active": "\uf444",
"default": "\uf4c3"
},
"icon-size": 10,
"sort-by-number": true,
"persistent-workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
}
},
"clock": {
"format": "{:%d.%m.%Y | %H:%M}"
},
//"wireplumber": {
// "format": "\udb81\udd7e {volume}%",
// "max-volume": 100,
// "scroll-step": 5
//},
"pulseaudio": {
"format": "{icon} ",
"format-bluetooth": "{icon}",
"tooltip-format": "{volume}% {icon} | {desc}",
"format-muted": "󰖁",
"format-icons": {
"headphones": "",
"handsfree": "󱡏",
"headset": "",
"phone": "",
"portable": "",
"car": " ",
"default": [
"󰕿",
"󰖀",
"󰕾"
]
},
"on-click": "volume mute",
//"on-click-middle": "pavucontrol",
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ -5%",
"smooth-scrolling-threshold": 1
},
"pulseaudio#volume": {
"format": " {volume}% "
},
// TODO missing
"pulseaudio#mic": {
"format": "{format_source}",
"format-source": "󰍬",
"format-source-muted": "󰍭",
"tooltip-format": "{volume}% {format_source} ",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
"on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 5%-",
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_SOURCE@ 5%+"
},
"memory": {
"interval": 30,
"format": "\uf4bc {used:0.1f}G"
},
"temperature": {
"format": "{temperatureC}°C"
},
"network": {
"format": "",
"format-ethernet": "\udb83\udc9d",
"format-wifi": "{icon}",
"format-disconnected": "\udb83\udc9c",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}",
"tooltip-format-disconnected": "Disconnected",
},
"network#speed": {
"format": "{bandwidthDownBits}",
"interval": 5,
"tooltip-format": "{ipaddr}",
"tooltip-format-wifi": "{essid} ({signalStrength}%)  \n{ipaddr} | {frequency} MHz{icon} ",
"tooltip-format-ethernet": "{ifname} 󰈀 \n{ipaddr} | {frequency} MHz{icon}",
"tooltip-format-disconnected": "Disconnected",
"tooltip": true
},
"hyprland/language": {
"format": "{short}"
},
"tray": {
"icon-size": 16,
"spacing": 16
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "\udb80\udd76",
"deactivated": "\udb83\udfaa"
}
}
}

View file

@ -1,52 +0,0 @@
@define-color foreground #eeeeee;
@define-color foreground-inactive #aaaaaa;
@define-color background #000000;
* {
font-family: JetBrainsMono Nerd Font Propo;
font-size: 17px;
padding: 0;
margin: 0;
}
#waybar {
color: @foreground;
background-color: @background;
}
#workspaces button {
color: @foreground;
padding: 0 0.2em;
}
#workspaces button.empty {
color: @foreground-inactive;
}
#memory,
#wireplumber,
#audio,
#custom-battery_percentage,
#idle_inhibitor,
#language,
#network,
#bluetooth
{
padding-right: 1em
}
#battery {
padding-right: 0.3em
}
#tray {
padding-right: 0.5em
}
#network_grp {
padding: 0em
}
#pulseaudio.mic {
padding-left: .7em
}

View file

@ -1,292 +0,0 @@
@import "colors.css";
@define-color active @accentColor;
* {
font-size: 16px;
font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF";
min-width: 8px;
min-height: 0px;
border: none;
border-radius: 0;
box-shadow: none;
text-shadow: none;
padding: 0px;
}
window#waybar {
transition-property: background-color;
transition-duration: 0.5s;
border-radius: 4px;
border: 1px solid alpha(@active, 0.2);
background: @background;
background: alpha(@background, 0.7);
color: lighter(@active);
}
menu,
tooltip {
border-radius: 2px;
padding: 2px;
border: 1px solid @active;
background: @background;
color: lighter(@active);
}
menu label,
tooltip label {
font-size: 14px;
color: lighter(@active);
}
#submap,
#tray>.needs-attention {
animation-name: blink-active;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.modules-right {
margin: 0px 6px 4px 6px;
border-radius: 4px;
background: alpha(@background, 0);
color: lighter(@active);
}
.modules-left {
transition-property: background-color;
transition-duration: 0.5s;
margin: 6px 5px 6px 5px; /* Testing with 5 pixels on left/right */
border-radius: 4px;
background: alpha(@background, 0.0);
color: lighter(@active);
border: 1px solid alpha(@active, 0.0);
}
#gcpu,
#custom-github,
#memory,
#disk,
#together,
#submap,
#custom-weather,
#custom-recorder,
#connection,
#cnoti,
#brightness,
#power,
#custom-updates,
#tray,
/*#audio,*/ /* Duplicate with #sound */
#sound,
#privacy { /*Controls all the right modules for some reason*/
border-radius: 2px;
margin: 2px 1px 3px 1px;
background: alpha(darker(@active), 0.0);
border: 1px solid alpha(darker(@active), 0.0);
}
/* Override specific parameters*/
#brightness,
#sound {
padding: 1px 0px;
}
#custom-notifications {
padding-left: 4px;
}
#custom-hotspot,
#custom-github,
#custom-notifications {
font-size: 14px;
}
#custom-hotspot {
padding-right: 2px;
}
#custom-vpn,
#custom-hotspot {
background: alpha(darker(@active), 0.3);
}
#privacy-item {
padding: 6px 0px 6px 6px;
}
#gcpu {
padding: 8px 0px 8px 0px;
}
#custom-cpu-icon {
font-size: 25px;
}
#custom-cputemp,
#disk,
#memory,
#cpu {
font-size: 14px;
font-weight: bold;
}
#custom-github {
padding-top: 2px;
padding-right: 4px;
}
#custom-dmark {
color: alpha(@foreground, 0.3);
}
#submap {
margin-bottom: 0px;
}
#workspaces {
margin: 0px 2px;
padding: 2px 0px;
border-radius: 8px;
}
#workspaces button {
transition-property: background-color;
transition-duration: 0.1s;
color: @foreground;
background: transparent;
border-radius: 4px;
color: alpha(@foreground, 0.3);
padding: 2px 0px;
}
#workspaces button.urgent {
font-weight: bold;
color: @foreground;
}
#workspaces button.active {
padding: 2px 0px;
background: alpha(@active, 0.4);
color: lighter(@active);
border-radius: 2px;
}
#network.wifi {
padding-right: 5px;
margin: 2px 0px;
}
#network.disconnected {
padding-right: 5px;
margin: 2px 0px;
}
#network.ethernet {
padding-right: 3px;
margin: 2px 0px;
}
#submap {
min-width: 0px;
margin: 4px 6px 4px 6px;
}
#custom-weather,
#tray {
padding: 4px 0px 4px 0px;
}
#bluetooth {
padding-top: 2px;
}
#battery {
border-radius: 8px;
padding: 4px 0px;
margin: 4px 2px 4px 2px;
}
#battery.discharging.warning {
animation-name: blink-yellow;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.discharging.critical {
animation-name: blink-red;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#clock {
font-weight: bold;
padding: 4px 2px 2px 2px;
}
#pulseaudio.mic {
border-radius: 4px;
color: lighter(@active);
padding-left: 2px;
}
#backlight-slider slider,
#pulseaudio-slider slider {
background-color: transparent;
box-shadow: none;
}
#backlight-slider trough,
#pulseaudio-slider trough {
margin-top: 4px;
min-width: 6px;
min-height: 60px;
border-radius: 8px;
background-color: alpha(@background, 0.6);
}
#backlight-slider highlight,
#pulseaudio-slider highlight {
border-radius: 8px;
background-color: lighter(@active);
}
#bluetooth.discoverable,
#bluetooth.discovering,
#bluetooth.pairable {
border-radius: 8px;
animation-name: blink-active;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink-active {
to {
background-color: @active;
color: @foreground;
}
}
@keyframes blink-red {
to {
background-color: #c64d4f;
color: @foreground;
}
}
@keyframes blink-yellow {
to {
background-color: #cf9022;
color: @foreground;
}
}