adjusted some stuff regarding a hyplang bug (moved a bunch single line commands into their own script files)

main
The_miro 2025-05-08 17:00:36 +02:00
parent 219aeab974
commit 4aa870ebac
8 changed files with 15 additions and 7 deletions

View File

@ -9,7 +9,6 @@ $terminal = kitty
$fileManager = kitty -e yazi
$editor = kitty micro
$menu = wofi --show=drun
$winswitch = hyprctl dispatch focuswindow address:"$(hyprctl -j clients | jq 'map("\(.workspace.id) ∴ \(.workspace.name) ┇ \(.title) ┇ \(.address)")' | sed "s/,$//; s/^\[//; s/^\]//; s/^[[:blank:]]*//; s/^\"//; s/\"$//" | grep -v "^$" | wofi -dO alphabetical | grep -o "0x.*$")"
####################
### KEYBINDINGSS ###
@ -216,8 +215,8 @@ bind = $mainMod, Y, changegroupactive, b
bind = $mainMod SHIFT, Q, exec, hyprctl kill
#screenshot capture
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy
bind = $mainMod, P, exec, grim -g "$(slurp -d)" - | wl-copy
bind = , Print, exec, ~/.config/hypr/scripts/screenshot.sh
bind = $mainMod, P, exec, ~/.config/hypr/scripts/screenshot.sh
#audio controls
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+

View File

@ -48,7 +48,7 @@ $menu = wofi --show=drun
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once=bash ~/.config/hypr/ewwstart.sh
exec-once=bash ~/.config/hypr/scripts/ewwstart.sh
#exec-once = waybar
exec-once = dunst

View File

@ -45,7 +45,7 @@ input-field {
# DATE
label {
text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
text = cmd[update:18000000] sh ~/.config/hypr/scripts/date.sh
color = rgb(5018dd)
font_size = 34
font_family = Agave Nerd Font Mono
@ -56,7 +56,7 @@ label {
# TIME
label {
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
text = cmd[update:1000] sh ~/.config/hypr/scripts/time.sh
color = rgb(E40046)
font_size = 94
font_family = Agave Nerd Font Mono
@ -78,7 +78,7 @@ label {
# UPTIME
label {
text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
text = cmd[update:60000] sh ~/.config/hypr/scripts/uptime.sh
font_size = 24
color = rgb(5018dd)
font_family = Agave Nerd Font Mono

View File

@ -0,0 +1,2 @@
#!/bin/bash
echo "<b> "$(date +'%A, %-d %B %Y')" </b>"

View File

@ -0,0 +1,3 @@
#!/bin/bash
grim -g "$(slurp -d)" - | wl-copy

View File

@ -0,0 +1,2 @@
#!/bin/bash
echo "<b><big> $(date +"%H:%M:%S") </big></b>"

View File

@ -0,0 +1,2 @@
#!/bin/bash
uptime -p