diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index acfc62f..5ff9279 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -190,6 +190,7 @@ bindd = $mainMod, M, Exit Hyprland, exit, bindd = $mainMod, E, Launch the file manager, exec, $fileManager bindd = $mainMod, W, Toggle floating, togglefloating, bindd = $mainMod, space, Launch menu, exec, $menu +bindd = $mainMod, F, Toggle fullscreen, fullscreen bind = $mainMod, O, layoutmsg, swapwithmaster bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle diff --git a/hypr/.config/hypr/keybinds b/hypr/.config/hypr/keybinds new file mode 100755 index 0000000..6e87d5f --- /dev/null +++ b/hypr/.config/hypr/keybinds @@ -0,0 +1,10 @@ +#!/bin/bash + +input_file="~/.config/hypr/hyprland.conf" + +# Process the file and send output to rofi +grep '^bindd' "$input_file" | awk -F, -v q="'" '{ + cmd=""; + for(i=3; i" $1 " + " $2 " " $NF "," cmd "" +}' | rofi -dmenu -p "Select:" diff --git a/hypr/.config/waybar/config.jsonc b/hypr/.config/waybar/config.jsonc index d4a5c1e..702181e 100644 --- a/hypr/.config/waybar/config.jsonc +++ b/hypr/.config/waybar/config.jsonc @@ -65,7 +65,9 @@ }, "clock": { - "format": "{:%A  %Y-%m-%d  %H:%M:%S %p}", + //"format": "{:%A  %Y-%m-%d  %H:%M:%S %p}", + "format": " {:%H:%M}", + "format-alt": " {:%Y-%m-%d  %H:%M}", "interval": 1, "rotate": 0, "tooltip-format": "{calendar}", diff --git a/scripts/.local/bin/hyprpaperchanger b/scripts/.local/bin/hyprpaperchanger new file mode 100755 index 0000000..56f576d --- /dev/null +++ b/scripts/.local/bin/hyprpaperchanger @@ -0,0 +1,15 @@ +#!/bin/bash +set -euo pipefail + +directory=~/Pictures/wallpapers +wallpaper=~/.cache/images/wallpaper.png +monitor=$(hyprctl monitors | grep Monitor | awk '{print $2}') + +if [ -d "$directory" ]; then + #random_background=$(ls $directory | shuf -n 1) + random_background=$(find $directory -type f | shuf -n 1) + wallpaper $random_background + hyprctl hyprpaper unload all + hyprctl hyprpaper preload $wallpaper + hyprctl hyprpaper wallpaper "$monitor, $wallpaper" +fi diff --git a/scripts/.local/bin/mounttcli b/scripts/.local/bin/mounttcli index 7711af2..e4b1f5b 100755 --- a/scripts/.local/bin/mounttcli +++ b/scripts/.local/bin/mounttcli @@ -1,7 +1,7 @@ #!/bin/bash SMB_SHARE="//172.31.180.4/TCLI-Data-Repo" -MOUNT_POINT="/home/mfortin/TCLI-Data-Repo" +MOUNT_POINT="$HOME/TCLI-Data-Repo" USER="matthieu.fortin" PASSWORD="New42d@y" diff --git a/scripts/hows-my-gpu b/scripts/.local/hows-my-gpu similarity index 100% rename from scripts/hows-my-gpu rename to scripts/.local/hows-my-gpu diff --git a/scripts/mountbackups b/scripts/.local/mountbackups similarity index 100% rename from scripts/mountbackups rename to scripts/.local/mountbackups diff --git a/scripts/mountbitlocker b/scripts/.local/mountbitlocker similarity index 100% rename from scripts/mountbitlocker rename to scripts/.local/mountbitlocker diff --git a/scripts/mountvhdx b/scripts/.local/mountvhdx similarity index 100% rename from scripts/mountvhdx rename to scripts/.local/mountvhdx diff --git a/scripts/nvidia-disable b/scripts/.local/nvidia-disable similarity index 100% rename from scripts/nvidia-disable rename to scripts/.local/nvidia-disable diff --git a/scripts/nvidia-enable b/scripts/.local/nvidia-enable similarity index 100% rename from scripts/nvidia-enable rename to scripts/.local/nvidia-enable diff --git a/scripts/umountbackups b/scripts/.local/umountbackups similarity index 100% rename from scripts/umountbackups rename to scripts/.local/umountbackups diff --git a/scripts/umountbitlocker b/scripts/.local/umountbitlocker similarity index 100% rename from scripts/umountbitlocker rename to scripts/.local/umountbitlocker diff --git a/scripts/umountvhdx b/scripts/.local/umountvhdx similarity index 100% rename from scripts/umountvhdx rename to scripts/.local/umountvhdx diff --git a/scripts/zoxide b/scripts/.local/zoxide similarity index 100% rename from scripts/zoxide rename to scripts/.local/zoxide diff --git a/scripts/bunx b/scripts/bunx deleted file mode 120000 index 092d7ae..0000000 --- a/scripts/bunx +++ /dev/null @@ -1 +0,0 @@ -/home/matt/.cache/paru/clone/bun-bin/src/bun-linux-x64/bun \ No newline at end of file