This commit is contained in:
Matthieu Fortin (CPC/CCP) 2024-10-30 14:36:15 -04:00
parent 369ca7ed8e
commit 4610557207
16 changed files with 30 additions and 3 deletions

View file

@ -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

10
hypr/.config/hypr/keybinds Executable file
View file

@ -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<NF; i++) cmd=cmd $(i) " ";
print "<b>" $1 " + " $2 "</b> <i>" $NF ",</i><span color=" q "gray" q ">" cmd "</span>"
}' | rofi -dmenu -p "Select:"

View file

@ -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": "<tt>{calendar}</tt>",

View file

@ -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

View file

@ -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"

View file

@ -1 +0,0 @@
/home/matt/.cache/paru/clone/bun-bin/src/bun-linux-x64/bun