Initial commit
BIN
ml4w/apps/ML4W_Hyprland_Settings-x86_64.AppImage
Executable file
39
ml4w/scripts/keybindings.sh
Executable file
@@ -0,0 +1,39 @@
|
||||
#!/bin/bash
|
||||
# _ _ _ _ _
|
||||
# | | _____ _ _| |__ (_)_ __ __| (_)_ __ __ _ ___
|
||||
# | |/ / _ \ | | | '_ \| | '_ \ / _` | | '_ \ / _` / __|
|
||||
# | < __/ |_| | |_) | | | | | (_| | | | | | (_| \__ \
|
||||
# |_|\_\___|\__, |_.__/|_|_| |_|\__,_|_|_| |_|\__, |___/
|
||||
# |___/ |___/
|
||||
# by Stephan Raabe (2024)
|
||||
# -----------------------------------------------------
|
||||
|
||||
config_file=~/.config/ml4w/scripts/keybindings.conf
|
||||
echo "Reading from: $config_file"
|
||||
|
||||
keybinds=""
|
||||
|
||||
# Detect Start String
|
||||
while read -r line
|
||||
do
|
||||
if [[ "$line" == "bind"* ]]; then
|
||||
|
||||
line="$(echo "$line" | sed 's/$mainMod/SUPER/g')"
|
||||
line="$(echo "$line" | sed 's/bind = //g')"
|
||||
line="$(echo "$line" | sed 's/bindm = //g')"
|
||||
|
||||
IFS='#'
|
||||
read -a strarr <<<"$line"
|
||||
kb_str=${strarr[0]}
|
||||
cm_str=${strarr[1]}
|
||||
|
||||
IFS=','
|
||||
read -a kbarr <<<"$kb_str"
|
||||
|
||||
item="${kbarr[0]} + ${kbarr[1]}"$'\r'"${cm_str:1}"
|
||||
keybinds=$keybinds$item$'\n'
|
||||
fi
|
||||
done < "$config_file"
|
||||
|
||||
sleep 0.2
|
||||
rofi -dmenu -i -markup -eh 2 -replace -p "Keybinds" <<< "$keybinds"
|
||||
3
ml4w/scripts/locale.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
layout=$(hyprctl devices | grep "active keymap" | awk '{print($3, $4)}' | sort | uniq | tail -n 1)
|
||||
echo "$layout"
|
||||
4
ml4w/scripts/reload-hyprpaper.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
killall hyprpaper
|
||||
sleep 1
|
||||
hyprpaper &
|
||||
4
ml4w/scripts/reload-waybar.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
killall -9 waybar
|
||||
sleep 1
|
||||
waybar &
|
||||
2
ml4w/scripts/wlogout.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
wlogout -b 4
|
||||
1
ml4w/settings/browser.sh
Executable file
@@ -0,0 +1 @@
|
||||
flatpak run app.zen_browser.zen
|
||||
1
ml4w/settings/distro
Executable file
@@ -0,0 +1 @@
|
||||
arch
|
||||
1
ml4w/settings/filemanager.sh
Executable file
@@ -0,0 +1 @@
|
||||
nautilus -w
|
||||
28
ml4w/settings/waybar-quicklinks.json
Executable file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"custom/quicklink1": {
|
||||
"format": " ",
|
||||
"on-click": "~/.config/ml4w/apps/ML4W_Hyprland_Settings-x86_64.AppImage",
|
||||
"tooltip-format": "Open Hyprland Settings"
|
||||
},
|
||||
"custom/quicklink2": {
|
||||
"format": " ",
|
||||
"on-click": "~/.config/ml4w/settings/browser.sh",
|
||||
"tooltip-format": "Open the browser"
|
||||
},
|
||||
"custom/quicklink3": {
|
||||
"format": " ",
|
||||
"on-click": "~/.config/ml4w/settings/filemanager.sh",
|
||||
"tooltip-format": "Open the filemanager"
|
||||
},
|
||||
"custom/quicklinkempty": {
|
||||
},
|
||||
"group/quicklinks": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/quicklink1",
|
||||
"custom/quicklink2",
|
||||
"custom/quicklink3",
|
||||
"custom/quicklinkempty"
|
||||
]
|
||||
}
|
||||
}
|
||||
BIN
ml4w/wallpapers/hyprland.png
Executable file
|
After Width: | Height: | Size: 16 MiB |
BIN
ml4w/wallpapers/wallpaper.png
Executable file
|
After Width: | Height: | Size: 616 KiB |
BIN
ml4w/wallpapers/wallpaper1.jpg
Executable file
|
After Width: | Height: | Size: 247 KiB |
BIN
ml4w/wallpapers/wallpaper2.jpg
Executable file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
ml4w/wallpapers/wallpaper3.jpg
Executable file
|
After Width: | Height: | Size: 698 KiB |
BIN
ml4w/wallpapers/wallpaper4.jpg
Executable file
|
After Width: | Height: | Size: 4.7 MiB |
BIN
ml4w/wallpapers/wallpaper5.jpg
Executable file
|
After Width: | Height: | Size: 2.0 MiB |