46 Commits
Author SHA1 Message Date
Stephan Raabe 82d1943ada Updates 2024-06-27 15:34:51 +02:00
Stephan Raabe eae75455dc Updates 2024-06-27 14:59:22 +02:00
Stephan Raabe 5027ad2902 Updates 2024-06-27 14:53:17 +02:00
Stephan Raabe 9f809b2594 Updates 2024-06-27 13:34:59 +02:00
Stephan Raabe 5bc1ae6dff Updates 2024-06-27 13:24:24 +02:00
Stephan Raabe f381ec0f2c Updates 2024-06-27 13:00:50 +02:00
Stephan Raabe 594d205fd0 Updates 2024-06-27 12:59:59 +02:00
Stephan Raabe 0575e889e5 Updates 2024-06-27 12:49:20 +02:00
Stephan Raabe 7bd765bb1c Updates 2024-06-27 11:25:35 +02:00
Stephan Raabe 3acfd4da39 Updates 2024-06-27 11:12:16 +02:00
Stephan Raabe 10a98cd6c4 Updates 2024-06-27 08:45:54 +02:00
Stephan Raabe 6838898454 Updates 2024-06-26 21:53:16 +02:00
Stephan Raabe aafa4811c5 Updates 2024-06-26 21:36:25 +02:00
Stephan Raabe 28dd33d0e2 Updates 2024-06-25 21:33:37 +02:00
Stephan Raabe 979b5e4bb8 Updates 2024-06-25 17:41:25 +02:00
Stephan Raabe c514d24583 Updates 2024-06-24 17:59:26 +02:00
Stephan Raabe 12392a98dc Updates 2024-06-24 17:58:41 +02:00
Stephan Raabe e1fee66276 Updates 2024-06-24 17:54:34 +02:00
Stephan Raabe e42fec9420 Updates 2024-06-24 17:49:51 +02:00
Stephan Raabe e4325abf4f Updates 2024-06-24 17:24:39 +02:00
Stephan Raabe fb2731d62b Updates 2024-06-24 17:23:17 +02:00
Stephan Raabe 6250bba6bc Updates 2024-06-24 16:54:42 +02:00
Stephan Raabe 0d04846e70 Updates 2024-06-24 16:35:23 +02:00
Stephan Raabe ae8c49f9f7 Updates 2024-06-24 16:07:26 +02:00
Stephan Raabe 9bd6342ba8 Updates 2024-06-24 14:54:02 +02:00
Stephan Raabe 14130ce095 Updates 2024-06-21 10:28:26 +02:00
Stephan Raabe 5ef6495c9a Updates 2024-06-21 10:23:23 +02:00
Stephan Raabe 3cef312532 Updates 2024-06-21 10:19:21 +02:00
Stephan Raabe 1f693c84a2 Updates 2024-06-21 10:10:22 +02:00
Stephan Raabe 2fe54cd465 Updates 2024-06-20 22:51:01 +02:00
Stephan Raabe 32e04e098c Updates 2024-06-20 17:31:08 +02:00
Stephan Raabe f9239bac72 Updates 2024-06-20 17:11:26 +02:00
Stephan Raabe 584bcb2984 Update Settings App for Wallpaper Cache 2024-06-13 15:44:52 +02:00
Stephan Raabe daf9683dc5 Updates 2024-06-13 15:06:45 +02:00
Stephan Raabe 95ff240509 Updates 2024-06-12 13:02:08 +02:00
Stephan Raabe d6fce7ecd3 Updates 2024-06-12 13:00:40 +02:00
Stephan Raabe 44b52eecb4 Updates 2024-06-12 12:32:03 +02:00
Stephan Raabe fc346fe68d Updates 2024-06-12 10:20:13 +02:00
Stephan Raabe 0a6879e9ab Updates 2024-06-12 07:26:20 +02:00
Stephan Raabe e5fbdb7de0 Updates 2024-06-09 15:33:11 +02:00
Stephan Raabe 26f42750d7 Updates 2024-06-07 22:07:10 +02:00
Stephan Raabe e6c2420ef4 Updates 2024-06-07 21:25:01 +02:00
Stephan Raabe 338f34b28d Updates 2024-06-07 20:53:47 +02:00
Stephan Raabe 972d49978c Updates 2024-06-05 17:05:48 +02:00
Stephan Raabe 41b6b496c1 Updates 2024-06-05 10:40:53 +02:00
Stephan Raabe 7f945d3143 Updates 2024-06-05 08:55:24 +02:00
87 changed files with 683 additions and 447 deletions
+7
View File
@@ -0,0 +1,7 @@
# ------------------------------------------------------
# Modify existing files before restore starts
# ------------------------------------------------------
if [ -d ~/dotfiles ] ;then
echo ":: Modify existing files"
fi
+1
View File
@@ -19,6 +19,7 @@ if gum confirm "Do you want to run a short system check?" ;then
_commandExists "wlogout" "wlogout" _commandExists "wlogout" "wlogout"
_commandExists "eww" "eww" _commandExists "eww" "eww"
_commandExists "magick" "imagemagick" _commandExists "magick" "imagemagick"
_commandExists "waypaper" "waypaper"
elif [ $? -eq 130 ]; then elif [ $? -eq 130 ]; then
exit 130 exit 130
+14 -26
View File
@@ -63,10 +63,15 @@ if [ -z "${dmsel}" ] ;then
fi fi
if [ "$dmsel" == "Install sddm and theme" ] ;then if [ "$dmsel" == "Install sddm and theme" ] ;then
if [ -d /usr/share/sddm/themes/sugar-candy/ ] ;then
sudo rm -rf /usr/share/sddm/themes/sugar-candy/
echo ":: Sugar Candy folder removed"
fi
disman=0 disman=0
# Try to force the installation of sddm # Try to force the installation of sddm
echo ":: Install sddm" echo ":: Install sddm"
yay -S --noconfirm sddm --ask 4 yay -S --noconfirm sddm sddm-sugar-candy-git --ask 4
# Enable sddm # Enable sddm
if [ -f /etc/systemd/system/display-manager.service ]; then if [ -f /etc/systemd/system/display-manager.service ]; then
@@ -74,41 +79,24 @@ if [ "$dmsel" == "Install sddm and theme" ] ;then
fi fi
sudo systemctl enable sddm.service sudo systemctl enable sddm.service
# Create sddm.conf.d folder
if [ ! -d /etc/sddm.conf.d/ ]; then if [ ! -d /etc/sddm.conf.d/ ]; then
sudo mkdir /etc/sddm.conf.d sudo mkdir /etc/sddm.conf.d
echo ":: Folder /etc/sddm.conf.d created." echo "Folder /etc/sddm.conf.d created."
fi fi
# Copy sddm.conf
sudo cp sddm/sddm.conf /etc/sddm.conf.d/ sudo cp sddm/sddm.conf /etc/sddm.conf.d/
echo ":: File /etc/sddm.conf.d/sddm.conf updated." echo "File /etc/sddm.conf.d/sddm.conf updated."
# Download and install sugar candy theme if not exists
if [ ! -d /usr/share/sddm/themes/sugar-candy ]; then
if [ -f ~/Downloads/sddm-sugar-candy-master.zip ] ;then
rm ~/Downloads/sddm-sugar-candy-master.zip
fi
wget -P ~/Downloads/ https://framagit.org/MarianArlt/sddm-sugar-candy/-/archive/master/sddm-sugar-candy-master.zip
if [ -f ~/Downloads/sddm-sugar-candy-master.zip ] ;then
unzip -o -q ~/Downloads/sddm-sugar-candy-master.zip -d ~/Downloads/
if [ ! -d /usr/share/sddm/themes/sugar-candy ] ;then
sudo mkdir -p /usr/share/sddm/themes/sugar-candy
fi
sudo cp -r ~/Downloads/sddm-sugar-candy-master/* /usr/share/sddm/themes/sugar-candy
echo ":: SDDM Sugar Candy Theme installed"
else
echo "ERROR: Sugar Candy Download not found"
fi
fi
# Install background wallpaper for sddm
if [ -f /usr/share/sddm/themes/sugar-candy/theme.conf ]; then if [ -f /usr/share/sddm/themes/sugar-candy/theme.conf ]; then
# Cache file for holding the current wallpaper
sudo cp wallpapers/default.jpg /usr/share/sddm/themes/sugar-candy/Backgrounds/current_wallpaper.jpg sudo cp wallpapers/default.jpg /usr/share/sddm/themes/sugar-candy/Backgrounds/current_wallpaper.jpg
echo ":: Default wallpaper copied into /usr/share/sddm/themes/sugar-candy/Backgrounds/" echo "Default wallpaper copied into /usr/share/sddm/themes/sugar-candy/Backgrounds/"
sudo cp sddm/theme.conf /usr/share/sddm/themes/sugar-candy/ sudo cp sddm/theme.conf /usr/share/sddm/themes/sugar-candy/
sudo sed -i 's/CURRENTWALLPAPER/'"current_wallpaper.jpg"'/' /usr/share/sddm/themes/sugar-candy/theme.conf sudo sed -i 's/CURRENTWALLPAPER/'"current_wallpaper.jpg"'/' /usr/share/sddm/themes/sugar-candy/theme.conf
echo ":: File theme.conf updated in /usr/share/sddm/themes/sugar-candy/" echo "File theme.conf updated in /usr/share/sddm/themes/sugar-candy/"
fi fi
elif [ "$dmsel" == "Deactivate current display manager" ] ;then elif [ "$dmsel" == "Deactivate current display manager" ] ;then
-21
View File
@@ -1,21 +0,0 @@
# ------------------------------------------------------
# hidpi support
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "hidpi"
echo -e "${NONE}"
hidpiconfirm="Do you want 2x hidpi scale?"
if gum confirm "$hidpiconfirm"; then
sed -i -E 's/size = [0-9]+(\.[0-9]+)?/size = 16/' ~/dotfiles-versions/$version/alacritty/alacritty.toml
sed -i -E 's/[0-9]+(\.[0-9]+)?/16/' ~/dotfiles-versions/$version/.settings/rofi-font.rasi
echo -e '\n# -----------------------------------------------------' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
echo -e '# HiDPI Scaling' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
echo -e '# -----------------------------------------------------' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
echo -e 'source = ~/dotfiles/hypr/conf/hidpi.conf' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
sed -i -E 's/1/2/' ~/dotfiles-versions/$version/hypr/conf/monitors/default.conf
sed -i -E 's/24/32/' ~/dotfiles-versions/$version/hypr/conf/cursor.conf
echo ":: finished hidpi patch."
fi
@@ -37,11 +37,14 @@ fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/swappy ]; then
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config _installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/eww ]; then
_installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config _installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config _installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/waypaper ]; then
_installSymLink waypaper ~/.config/waypaper ~/dotfiles/waypaper/ ~/.config
fi
echo ":: Symbolic links created." echo ":: Symbolic links created."
echo echo
+1
View File
@@ -16,4 +16,5 @@ packagesYay=(
"nwg-look" "nwg-look"
"eww" "eww"
"hyprshade" "hyprshade"
"waypaper"
); );
+1 -1
View File
@@ -8,7 +8,7 @@ echo
# Check for required packages # Check for required packages
echo "Checking that required packages for the installation are installed..." echo "Checking that required packages for the installation are installed..."
_installPackagesPacman "rsync" "gum" "figlet" "python"; _installPackagesPacman "rsync" "gum" "figlet" "python" "git";
# Double check rsync # Double check rsync
if ! command -v rsync &> /dev/null; then if ! command -v rsync &> /dev/null; then
+6 -2
View File
@@ -8,7 +8,7 @@ input {
kb_model = kb_model =
kb_options = kb_options =
numlock_by_default = true numlock_by_default = true
mouse_refocus=false mouse_refocus = false
# For United States # For United States
# kb_layout = us # kb_layout = us
@@ -24,7 +24,11 @@ input {
# for laptop # for laptop
# natural_scroll = yes # natural_scroll = yes
# middle_button_emulation = true # middle_button_emulation = true
# clickfinger_behavior = 1 # clickfinger_behavior = false
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
gestures {
workspace_swipe = true
}
+8 -3
View File
@@ -8,7 +8,7 @@ input {
kb_model = kb_model =
kb_options = kb_options =
numlock_by_default = true numlock_by_default = true
mouse_refocus=false mouse_refocus = false
# For United States # For United States
# kb_layout = us # kb_layout = us
@@ -22,9 +22,14 @@ input {
# natural_scroll = false # natural_scroll = false
# for laptop # for laptop
natural_scroll = yes natural_scroll = true
middle_button_emulation = true middle_button_emulation = true
clickfinger_behavior = 1 clickfinger_behavior = false
disable_while_typing = true
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
gestures {
workspace_swipe = true
}
View File
+26
View File
@@ -0,0 +1,26 @@
{
"custom/quicklink1": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip-format": "Open browser"
},
/*
"custom/quicklink1": {
"format": "",
"on-click": "firefox",
"tooltip-format": "Open Firefox"
},
*/
"custom/quicklink2": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip-format": "Open filemanager"
},
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/quicklink1",
"custom/quicklink2"
]
}
}
+1 -1
View File
@@ -1 +1 @@
2.9.1.1 2.9.2
+1 -1
View File
@@ -1 +1 @@
2911 2920
+21
View File
@@ -1,3 +1,24 @@
Version 2.9.2
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.2
--------------------------------------------------------
- Works with Hyprland 0.41.2
- Introducing waypaper as new wallpaper selector
- Wallpaper cache for generated wallpaper variants. Will speed up the change between wallpapers if cached files exists. https://gitlab.com/stephan-raabe/dotfiles/-/wikis/Home/Wallpapers#wallpaper-cache
- You can define custom quicklinks in waybar: https://gitlab.com/stephan-raabe/dotfiles/-/wikis/Home/Waybar#define-your-quicklinks
- New SVG icons in waybar for ML4W and ChatGPT
- Default waybar theme changed to ml4w-blur/white
- Alacritty: selected text will be copied to the primary clipboard
- General/standard Hyprland environment configuration moved to ml4w.conf (will be re-used in kvm.conf and nvidia.conf)
- The time format in hyprlock is now aligned with the waybar clock time format that is defined in the ML4W Settings App
Version 2.9.1.2
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.2
--------------------------------------------------------
- Workspaces module in waybar updated to enable scroll to change the workspace https://gitlab.com/stephan-raabe/dotfiles/-/merge_requests/114
- More functions deactivated in Game Mode (SUPER+ALT+G)
- Keybindings rofi menu updated with keybinding description. Open with right mouse click on Apps waybar module
- Fixed bug of ML4W Hyprland Settings App with Hyprland 0.41.0
Version 2.9.1.1 Version 2.9.1.1
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1
-------------------------------------------------------- --------------------------------------------------------
+5 -7
View File
@@ -1,8 +1,8 @@
# ML4W Dotfiles 2.9.1.1 # ML4W Dotfiles 2.9.2
An advanced configuration of Hyprland for Arch Linux based distributions. This package includes an installation script to install and setup the required components. An advanced configuration of Hyprland for Arch Linux based distributions. This package includes an installation script to install and setup the required components.
[![Screenshot](screenshots/screenshot2.png "Screenshot")](screenshots/screenshot2.png) [![Screenshot](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/5715487b0af68f36295f4e37b634f17a/screenshot-20240627-113621.png "Screenshot")](![screenshots/screenshot2.png](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/5715487b0af68f36295f4e37b634f17a/screenshot-20240627-113621.png))
The ML4W Dotfiles are available as The ML4W Dotfiles are available as
@@ -37,11 +37,7 @@ You can also visit the [ML4W Discord Server](https://discord.gg/c4fJK7Za3g) to s
## Screenshots ## Screenshots
[![Screenshot](screenshots/screenshot1.png "Screenshot")](screenshots/screenshot1.png) [![Screenshot](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/b8dc6a841b6b04fe0b2d380377117a50/screenshot-20240627-113733.png "Screenshot")](![screenshots/screenshot1.png](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/b8dc6a841b6b04fe0b2d380377117a50/screenshot-20240627-113733.png))
[![Screenshot](screenshots/screenshot3.png "Screenshot")](screenshots/screenshot3.png)
[![Screenshot](screenshots/screenshot4.png "Screenshot")](screenshots/screenshot5.png)
## Wallpaper repository ## Wallpaper repository
@@ -55,6 +51,8 @@ THANK YOU very much for all your support, contributions and ideas:
- Don Williams: https://github.com/dwilliam62 - Don Williams: https://github.com/dwilliam62
- Teodor Orzechowski: https://gitlab.com/sq6gtt - Teodor Orzechowski: https://gitlab.com/sq6gtt
- Jamie Deppeler: https://gitlab.com/bknight2k - Jamie Deppeler: https://gitlab.com/bknight2k
- Yingjie Wang: https://gitlab.com/GaugeAndGravity
- Daniel Gerber: https://gitlab.com/dan.john.gerber
- https://gitlab.com/muee - https://gitlab.com/muee
and many more... and many more...
+4 -1
View File
@@ -1,5 +1,5 @@
[font] [font]
size = 16.0 size = 12.0
[font.normal] [font.normal]
family = "FiraCode Nerd Font" family = "FiraCode Nerd Font"
@@ -11,3 +11,6 @@ opacity = 0.7
[window.padding] [window.padding]
x = 15 x = 15
y = 15 y = 15
[selection]
save_to_clipboard = true
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6 -3
View File
@@ -20,15 +20,18 @@ exec-once = hypridle
# Load cliphist history # Load cliphist history
exec-once = wl-paste --watch cliphist store exec-once = wl-paste --watch cliphist store
# Initialize Wallpaper Engine
exec-once = ~/dotfiles/hypr/scripts/init-wallpaper-engine.sh
# Autostart ML4W App # Autostart ML4W App
exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
# Start ewww daemon # Start ewww daemon
exec-once = ~/dotfiles/hypr/scripts/eww.sh exec-once = ~/dotfiles/hypr/scripts/eww.sh
# Initialize waypaper
exec-once = waypaper --restore
# Launch Waybar
exec-once = ~/dotfiles/waybar/launch.sh
# Start autostart cleanup # Start autostart cleanup
exec-once = ~/dotfiles/hypr/scripts/cleanup.sh exec-once = ~/dotfiles/hypr/scripts/cleanup.sh
+1 -8
View File
@@ -2,11 +2,4 @@
# Environment Variables # Environment Variables
# name: "Default" # name: "Default"
# ----------------------------------------------------- # -----------------------------------------------------
# Set in ml4w.conf
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
env = GDK_SCALE,1
-8
View File
@@ -2,13 +2,5 @@
# Environment Variables # Environment Variables
# name: "KVM" # name: "KVM"
# ----------------------------------------------------- # -----------------------------------------------------
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
env = GDK_SCALE,1
env = WLR_RENDERER_ALLOW_SOFTWARE, 1 env = WLR_RENDERER_ALLOW_SOFTWARE, 1
env = WLR_NO_HARDWARE_CURSORS, 1 env = WLR_NO_HARDWARE_CURSORS, 1
-6
View File
@@ -1,6 +0,0 @@
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,2
env = QT_SCALE_FACTOR,2
+75 -77
View File
@@ -7,90 +7,88 @@
$mainMod = SUPER $mainMod = SUPER
# Applications # Applications
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh # Open the terminal
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh # Open the browser
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh # Open the filemanager
# Windows # Windows
bind = $mainMod, Q, killactive bind = $mainMod, Q, killactive # Kill active window
bind = $mainMod, F, fullscreen bind = $mainMod, F, fullscreen # Set active window to fullscreen
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh bind = $mainMod, T, togglefloating # Toggle active windows into floating mode
bind = $mainMod, T, togglefloating bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh # Toggle all windows into floating mode
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh bind = $mainMod, J, togglesplit # Toggle split
bind = $mainMod, J, togglesplit bind = $mainMod, left, movefocus, l # Move focus left
bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r # Move focus right
bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u # Move focus up
bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Move focus down
bind = $mainMod, down, movefocus, d bindm = $mainMod, mouse:272, movewindow # Move window with the mouse
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse
bindm = $mainMod, mouse:273, resizewindow bind = $mainMod SHIFT, right, resizeactive, 100 0 # Increase window width with keyboard
bind = $mainMod SHIFT, right, resizeactive, 100 0 bind = $mainMod SHIFT, left, resizeactive, -100 0 # Reduce window width with keyboard
bind = $mainMod SHIFT, left, resizeactive, -100 0 bind = $mainMod SHIFT, down, resizeactive, 0 100 # Increase window height with keyboard
bind = $mainMod SHIFT, up, resizeactive, 0 -100 bind = $mainMod SHIFT, up, resizeactive, 0 -100 # Reduce window height with keyboard
bind = $mainMod SHIFT, down, resizeactive, 0 100 bind = $mainMod, G, togglegroup # Toggle window group
bind = $mainMod, G, togglegroup
# Actions # Actions
bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot
bind = $mainMod CTRL, Q, exec, wlogout bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh bind = $mainMod SHIFT, W, exec, waypaper --random # Change the wallpaper
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select bind = $mainMod CTRL, W, exec, waypaper # Open wallpaper selector
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar
bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh # Toggle waybar
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh # Reload hyprland config
bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh # Open clipboard manager
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh # Open waybar theme switcher
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh # Toggle screenshader
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh # Toggle game mode
bind = $mainMod CTRL, P, exec, hyprpicker -a
bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh
bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh
# Workspaces # Workspaces
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1 # Open workspace 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2 # Open workspace 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3 # Open workspace 3
bind = $mainMod, 4, workspace, 4 bind = $mainMod, 4, workspace, 4 # Open workspace 4
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 5, workspace, 5 # Open workspace 5
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 6, workspace, 6 # Open workspace 6
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 7, workspace, 7 # Open workspace 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 8, workspace, 8 # Open workspace 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9 # Open workspace 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10 # Open workspace 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move active window to workspace 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move active window to workspace 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move active window to workspace 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move active window to workspace 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move active window to workspace 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move active window to workspace 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move active window to workspace 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move active window to workspace 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move active window to workspace 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move active window to workspace 10
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1 # Open next workspace
bind = $mainMod, mouse_up, workspace, e-1 bind = $mainMod, mouse_up, workspace, e-1 # Open previous workspace
bind = $mainMod CTRL, down, workspace, empty bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace
# Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , XF86Calculator, exec, qalculate-gtk
bind = , XF86Lock, exec, hyprlock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
# Passthrough SUPER KEY to Virtual Machine # Passthrough SUPER KEY to Virtual Machine
bind = $mainMod, P, submap, passthru bind = $mainMod, P, submap, passthru # Passthrough SUPER key to virtual machine
submap = passthru submap = passthru
bind = SUPER, Escape, submap, reset bind = SUPER, Escape, submap, reset # Get SUPER key back from virtual machine
submap = reset submap = reset
# Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10% # Increase brightness by 10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%- # Reduce brightness by 10%
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% # Increase volume by 5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% # Reduce volume by 5%
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Toggle mute
bind = , XF86AudioPlay, exec, playerctl play-pause # Audio play pause
bind = , XF86AudioPause, exec, playerctl pause # Audio pause
bind = , XF86AudioNext, exec, playerctl next # Audio next
bind = , XF86AudioPrev, exec, playerctl previous # Audio previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle # Toggle microphone
bind = , XF86Calculator, exec, qalculate-gtk # Open calculator
bind = , XF86Lock, exec, hyprlock # Open screenlock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
+2 -1
View File
@@ -8,7 +8,8 @@ dwindle {
} }
master { master {
new_is_master = true # new_is_master = true
# new_status = master
} }
gestures { gestures {
+2 -1
View File
@@ -8,7 +8,8 @@ dwindle {
} }
master { master {
new_is_master = true # new_is_master = true
# new_status = master
} }
gestures { gestures {
+42 -8
View File
@@ -2,10 +2,22 @@
# ML4W configurations # ML4W configurations
# ----------------------------------------------------- # -----------------------------------------------------
windowrulev2 = float,class:(.*chat.openai.com.*) # Pavucontrol floating
windowrulev2 = size 500 50%,class:(.*chat.openai.com.*) windowrulev2 = float,class:(.*org.pulseaudio.pavucontrol.*)
windowrulev2 = move 20 70,class:(.*chat.openai.com.*) windowrulev2 = size 700 600,class:(.*org.pulseaudio.pavucontrol.*)
windowrulev2 = center,class:(.*org.pulseaudio.pavucontrol.*)
# OpenAI ChatGPT floating
windowrulev2 = float,title:(.*chat.openai.com.*)
windowrulev2 = size 500 50%,title:(.*chat.openai.com.*)
windowrulev2 = move 20 70,title:(.*chat.openai.com.*)
# ML4W Welcome App floating
windowrulev2 = float,class:(.*waypaper.*)
windowrulev2 = size 800 700,class:(.*waypaper.*)
windowrulev2 = center,class:(.*waypaper.*)
# ML4W Welcome App floating
windowrulev2 = float,class:(com.ml4w.welcome) windowrulev2 = float,class:(com.ml4w.welcome)
windowrulev2 = size 700 600,class:(com.ml4w.welcome) windowrulev2 = size 700 600,class:(com.ml4w.welcome)
windowrulev2 = center,class:(com.ml4w.welcome) windowrulev2 = center,class:(com.ml4w.welcome)
@@ -14,6 +26,7 @@ windowrulev2 = float,class:(ml4w-welcome.py)
windowrulev2 = size 400 500,class:(ml4w-welcome.py) windowrulev2 = size 400 500,class:(ml4w-welcome.py)
windowrulev2 = center,class:(ml4w-welcome.py) windowrulev2 = center,class:(ml4w-welcome.py)
# ML4W Settings App floating
windowrulev2 = float,class:(com.ml4w.dotfilessettings) windowrulev2 = float,class:(com.ml4w.dotfilessettings)
windowrulev2 = size 700 600,class:(com.ml4w.dotfilessettings) windowrulev2 = size 700 600,class:(com.ml4w.dotfilessettings)
windowrulev2 = move 10% 20%,class:(com.ml4w.dotfilessettings) windowrulev2 = move 10% 20%,class:(com.ml4w.dotfilessettings)
@@ -22,19 +35,40 @@ windowrulev2 = float,class:(ml4w-dotfiles-settings.py)
windowrulev2 = size 400 500,class:(ml4w-dotfiles-settings.py) windowrulev2 = size 400 500,class:(ml4w-dotfiles-settings.py)
windowrulev2 = move 10% 20%,class:(ml4w-dotfiles-settings.py) windowrulev2 = move 10% 20%,class:(ml4w-dotfiles-settings.py)
windowrulev2 = float,class:(com.ml4w.hyprlandsettings) # ML4W Hyprland App floating
windowrulev2 = size 700 600,class:(com.ml4w.hyprlandsettings) windowrulev2 = float,class:(com.ml4w.hyprland.settings)
windowrulev2 = center,class:(com.ml4w.hyprlandsettings) windowrulev2 = size 700 600,class:(com.ml4w.hyprland.settings)
windowrulev2 = center,class:(com.ml4w.hyprland.settings)
windowrulev2 = float,class:(ml4w-hyprland-settings.py) windowrulev2 = float,class:(ml4w-hyprland-settings.py)
windowrulev2 = size 700 600,class:(ml4w-hyprland-settings.py) windowrulev2 = size 700 600,class:(ml4w-hyprland-settings.py)
windowrulev2 = center,class:(ml4w-hyprland-settings.py) windowrulev2 = center,class:(ml4w-hyprland-settings.py)
# General floating
windowrulev2 = float,class:(dotfiles-floating) windowrulev2 = float,class:(dotfiles-floating)
windowrulev2 = size 1000 800,class:(dotfiles-floating) windowrulev2 = size 1000 800,class:(dotfiles-floating)
windowrulev2 = center,class:(dotfiles-floating) windowrulev2 = center,class:(dotfiles-floating)
env = APPIMAGELAUNCHER_DISABLE,1 # XDG Desktop Portal
env = XCURSOR_SIZE,24
env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
# QT
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# GTK
env = GDK_SCALE,1
# Mozilla
env = MOZ_ENABLE_WAYLAND,1
# Set the cursor size for xcursor
env = XCURSOR_SIZE,24
# Disable appimage launcher by default
env = APPIMAGELAUNCHER_DISABLE,1
-6
View File
@@ -1,6 +0,0 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
monitor=,preferred,auto,2
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -10,4 +10,5 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
+1
View File
@@ -43,6 +43,7 @@ input-field {
label { label {
monitor = monitor =
#clock
text = cmd[update:1000] echo "$TIME" text = cmd[update:1000] echo "$TIME"
color = rgba(200, 200, 200, 1.0) color = rgba(200, 200, 200, 1.0)
font_size = 55 font_size = 55
+2 -2
View File
@@ -1,3 +1,3 @@
preload = $HOME/wallpaper/hyprland.jpg preload = $HOME/wallpaper/default.jpg
wallpaper = ,$HOME/wallpaper/hyprland.jpg wallpaper = ,$HOME/wallpaper/default.jpg
splash = false splash = false
+1
View File
@@ -46,6 +46,7 @@ _commandExists "swww" "swww"
_commandExists "eww" "eww" _commandExists "eww" "eww"
_commandExists "magick" "imagemagick" _commandExists "magick" "imagemagick"
_commandExists "figlet" "figlet" _commandExists "figlet" "figlet"
_commandExists "waypaper" "waypaper"
echo echo
echo "Press return to exit" echo "Press return to exit"
+10 -5
View File
@@ -7,13 +7,18 @@
# #
if [ -f ~/.cache/gamemode ] ;then if [ -f ~/.cache/gamemode ] ;then
hyprctl keyword animations:enabled true hyprctl reload
hyprctl keyword decoration:blur:enabled true
rm ~/.cache/gamemode rm ~/.cache/gamemode
notify-send "Gamemode deactivated" "Animations and blur enabled" notify-send "Gamemode deactivated" "Animations and blur enabled"
else else
hyprctl keyword animations:enabled false hyprctl --batch "\
hyprctl keyword decoration:blur:enabled false keyword animations:enabled 0;\
touch ~/.cache/gamemode keyword decoration:drop_shadow 0;\
keyword decoration:blur:enabled 0;\
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 1;\
keyword decoration:rounding 0"
touch ~/.cache/gamemode
notify-send "Gamemode activated" "Animations and blur disabled" notify-send "Gamemode activated" "Animations and blur disabled"
fi fi
+25 -9
View File
@@ -21,13 +21,29 @@ config_file=${config_file/source=~/}
config_file="/home/$USER$config_file" config_file="/home/$USER$config_file"
echo "Reading from: $config_file" echo "Reading from: $config_file"
# ----------------------------------------------------- keybinds=""
# Parse keybindings
# ----------------------------------------------------- # Detect Start String
keybinds=$(grep -oP '(?<=bind = ).*' $config_file) while read -r line
keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g') do
# ----------------------------------------------------- if [[ "$line" == "bind"* ]]; then
# Show keybindings in rofi
# ----------------------------------------------------- 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 sleep 0.2
rofi -dmenu -i -replace -p "Keybinds" -config ~/dotfiles/rofi/config-compact.rasi <<< "$keybinds" rofi -dmenu -i -markup -eh 2 -replace -p "Keybinds" -config ~/dotfiles/rofi/config-compact.rasi <<< "$keybinds"
+11 -2
View File
@@ -14,10 +14,11 @@ NAME="screenshot_$(date +%d%m%Y_%H%M%S).png"
option2="Selected area" option2="Selected area"
option3="Fullscreen (delay 3 sec)" option3="Fullscreen (delay 3 sec)"
option4="Current display (delay 3 sec)"
options="$option2\n$option3" options="$option2\n$option3\n$option4"
choice=$(echo -e "$options" | rofi -dmenu -replace -config ~/dotfiles/rofi/config-screenshot.rasi -i -no-show-icons -l 2 -width 30 -p "Take Screenshot") choice=$(echo -e "$options" | rofi -dmenu -replace -config ~/dotfiles/rofi/config-screenshot.rasi -i -no-show-icons -l 3 -width 30 -p "Take Screenshot")
case $choice in case $choice in
$option2) $option2)
@@ -33,4 +34,12 @@ case $choice in
notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen" notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen"
swappy -f "$DIR$NAME" swappy -f "$DIR$NAME"
;; ;;
$option4)
sleep 3
monitor="$(hyprctl monitors | awk '/Monitor/{monitor=$2} /focused: yes/{print monitor; exit}')"
grim -o "$monitor" "$DIR$NAME"
xclip -selection clipboard -t image/png -i "$DIR$NAME"
notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen"
swappy -f "$DIR$NAME"
;;
esac esac
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
generated_versions="$HOME/.cache/ml4w-wallpaper-generated"
rm $HOME/.cache/ml4w-wallpaper-generated/*
echo ":: Wallpaper cache cleared"
notify-send "Wallpaper cache cleared"
+92 -138
View File
@@ -9,181 +9,135 @@
# by Stephan Raabe (2024) # by Stephan Raabe (2024)
# ----------------------------------------------------- # -----------------------------------------------------
# Cache file for holding the current wallpaper # -----------------------------------------------------
wallpaper_folder="$HOME/wallpaper" # Get selected wallpaper
if [ -f ~/dotfiles/.settings/wallpaper-folder.sh ] ;then # -----------------------------------------------------
source ~/dotfiles/.settings/wallpaper-folder.sh echo ":: Using wallpaper $1"
wallpaper=$1
# -----------------------------------------------------
# Check to use wallpaper cache
# -----------------------------------------------------
use_cache=0
if [ -f $HOME/dotfiles/.settings/wallpaper_cache ] ;then
use_cache=1
fi fi
used_wallpaper="$HOME/.cache/used_wallpaper"
if [ "$use_cache" == "1" ] ;then
echo ":: Using Wallpaper Cache"
else
echo ":: Wallpaper Cache disabled"
fi
# -----------------------------------------------------
# File and folder names
# -----------------------------------------------------
force_generate=0
generated_versions="$HOME/.cache/ml4w-wallpaper-generated"
cache_file="$HOME/.cache/current_wallpaper" cache_file="$HOME/.cache/current_wallpaper"
blurred="$HOME/.cache/blurred_wallpaper.png" blurred_wallpaper="$HOME/.cache/blurred_wallpaper.png"
square="$HOME/.cache/square_wallpaper.png" square_wallpaper="$HOME/.cache/square_wallpaper.png"
rasi_file="$HOME/.cache/current_wallpaper.rasi" rasi_file="$HOME/.cache/current_wallpaper.rasi"
blur_file="$HOME/dotfiles/.settings/blur.sh" blur_file="$HOME/dotfiles/.settings/blur.sh"
blur="50x30" blur="50x30"
blur=$(cat $blur_file) blur=$(cat $blur_file)
# Create cache file if not exists
if [ ! -f $cache_file ] ;then
touch $cache_file
echo "$wallpaper_folder/default.jpg" > "$cache_file"
fi
# Create rasi file if not exists # Create rasi file if not exists
if [ ! -f $rasi_file ] ;then if [ ! -f $rasi_file ] ;then
touch $rasi_file touch $rasi_file
echo "* { current-image: url(\"$wallpaper_folder/default.jpg\", height); }" > "$rasi_file" echo "* { current-image: url(\"$wallpaper_folder/default.jpg\", height); }" > "$rasi_file"
fi fi
current_wallpaper=$(cat "$cache_file") # Create folder with generated versions of wallpaper if not exists
if [ ! -d $generated_versions ] ;then
case $1 in mkdir $generated_versions
fi
# Load wallpaper from .cache of last session
"init")
sleep 1
if [ -f $cache_file ]; then
wal -q -i $current_wallpaper
else
wal -q -i $wallpaper_folder/
fi
;;
# Select wallpaper with rofi
"select")
sleep 0.2
selected=$( find "$wallpaper_folder" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) -exec basename {} \; | sort -R | while read rfile
do
echo -en "$rfile\x00icon\x1f$wallpaper_folder/${rfile}\n"
done | rofi -dmenu -i -replace -config ~/dotfiles/rofi/config-wallpaper.rasi)
if [ ! "$selected" ]; then
echo "No wallpaper selected"
exit
fi
wal -q -i $wallpaper_folder/$selected
;;
# Randomly select wallpaper
*)
wal -q -i $wallpaper_folder/
;;
esac
# ----------------------------------------------------- # -----------------------------------------------------
# Load current pywal color scheme # Current wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
current_wallpaper=$wallpaper
current_wallpaper_filename=$(basename $current_wallpaper)
echo ":: Current Wallpaper: $current_wallpaper"
echo ":: Current Wallpaper Filename: $current_wallpaper_filename"
newwall=$current_wallpaper_filename
# -----------------------------------------------------
# Execute pywal
# -----------------------------------------------------
echo ":: Execute wallpaper"
wal -q -i $wallpaper
source "$HOME/.cache/wal/colors.sh" source "$HOME/.cache/wal/colors.sh"
# ----------------------------------------------------- # -----------------------------------------------------
# get wallpaper image name # Wallpaper Effects
# ----------------------------------------------------- # -----------------------------------------------------
newwall=$(echo $wallpaper | sed "s|$wallpaper_folder/||g")
# -----------------------------------------------------
# Reload waybar with new colors
# -----------------------------------------------------
~/dotfiles/waybar/launch.sh
# -----------------------------------------------------
# Set the new wallpaper
# -----------------------------------------------------
transition_type="wipe"
# transition_type="outer"
# transition_type="random"
cp $wallpaper $HOME/.cache/
mv $HOME/.cache/$newwall $used_wallpaper
# Load Wallpaper Effect
if [ -f $HOME/dotfiles/.settings/wallpaper-effect.sh ] ;then if [ -f $HOME/dotfiles/.settings/wallpaper-effect.sh ] ;then
effect=$(cat $HOME/dotfiles/.settings/wallpaper-effect.sh) effect=$(cat $HOME/dotfiles/.settings/wallpaper-effect.sh)
if [ ! "$effect" == "off" ] ;then if [ ! "$effect" == "off" ] ;then
if [ "$1" == "init" ] ;then used_wallpaper=$generated_versions/$effect-$newwall
echo ":: Init" if [ -f $generated_versions/$effect-$newwall ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
echo ":: Use cached wallpaper $effect-$newwall"
else else
dunstify "Using wallpaper effect $effect..." "with image $newwall" -h int:value:10 -h string:x-dunst-stack-tag:wallpaper echo ":: Generate new cached wallpaper $effect-$newwall with effect $effect"
if [ "$1" == "init" ] ;then
echo ":: Init"
else
dunstify "Using wallpaper effect $effect..." "with image $newwall" -h int:value:10 -h string:x-dunst-stack-tag:wallpaper
fi
source $HOME/dotfiles/hypr/effects/wallpaper/$effect
fi fi
source $HOME/dotfiles/hypr/effects/wallpaper/$effect echo ":: Loading wallpaper $generated_versions/$effect-$newwall with effect $effect"
killall -e hyprpaper &
sleep 1;
wal_tpl=$(cat $HOME/dotfiles/.settings/hyprpaper.tpl)
echo $wal_tpl
output=${wal_tpl//WALLPAPER/$used_wallpaper}
echo "$output" > $HOME/dotfiles/hypr/hyprpaper.conf
hyprpaper & > /dev/null 2>&1
else
echo ":: Wallpaper effect is set to off"
fi fi
fi fi
wallpaper_engine=$(cat $HOME/dotfiles/.settings/wallpaper-engine.sh)
if [ "$wallpaper_engine" == "swww" ] ;then
# swww
echo ":: Using swww"
swww img $used_wallpaper \
--transition-bezier .43,1.19,1,.4 \
--transition-fps=60 \
--transition-type=$transition_type \
--transition-duration=0.7 \
--transition-pos "$( hyprctl cursorpos )"
elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
# hyprpaper
echo ":: Using hyprpaper"
killall hyprpaper
wal_tpl=$(cat $HOME/dotfiles/.settings/hyprpaper.tpl)
output=${wal_tpl//WALLPAPER/$used_wallpaper}
echo "$output" > $HOME/dotfiles/hypr/hyprpaper.conf
hyprpaper &
else
echo ":: Wallpaper Engine disabled"
fi
if [ "$1" == "init" ] ;then
echo ":: Init"
else
sleep 1
dunstify "Changing wallpaper ..." "with image $newwall" -h int:value:25 -h string:x-dunst-stack-tag:wallpaper
# -----------------------------------------------------
# Reload Hyprctl.sh
# -----------------------------------------------------
$HOME/.config/ml4w-hyprland-settings/hyprctl.sh &
fi
# ----------------------------------------------------- # -----------------------------------------------------
# Created blurred wallpaper # Created blurred wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
if [ "$1" == "init" ] ;then if [ -f $generated_versions/blur-$blur-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
echo ":: Init" echo ":: Use cached wallpaper blur-$blur-$newwall.png"
else else
dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper echo ":: Generate new cached wallpaper blur-$blur-$newwall with blur $blur"
fi if [ "$1" == "init" ] ;then
echo ":: Init"
magick $used_wallpaper -resize 75% $blurred else
echo ":: Resized to 75%" dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper
if [ ! "$blur" == "0x0" ] ;then fi
magick $blurred -blur $blur $blurred magick $wallpaper -resize 75% $blurred_wallpaper
echo ":: Blurred" echo ":: Resized to 75%"
if [ ! "$blur" == "0x0" ] ;then
magick $blurred_wallpaper -blur $blur $blurred_wallpaper
cp $blurred_wallpaper $generated_versions/blur-$blur-$newwall.png
echo ":: Blurred"
fi
cp $generated_versions/blur-$blur-$newwall.png $blurred_wallpaper
fi fi
cp $generated_versions/blur-$blur-$newwall.png $blurred_wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
# Created quare wallpaper # Created square wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
if [ "$1" == "init" ] ;then if [ -f $generated_versions/square-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
echo ":: Init" echo ":: Use cached wallpaper square-$newwall.png"
else else
dunstify "Creating square version ..." "with image $newwall" -h int:value:75 -h string:x-dunst-stack-tag:wallpaper echo ":: Generate new cached wallpaper square-$newwall"
if [ "$1" == "init" ] ;then
echo ":: Init"
else
dunstify "Creating square version ..." "with image $newwall" -h int:value:75 -h string:x-dunst-stack-tag:wallpaper
fi
magick $wallpaper -gravity Center -extent 1:1 $square_wallpaper
cp $square_wallpaper $generated_versions/square-$newwall.png
fi fi
magick $wallpaper -gravity Center -extent 1:1 $square cp $generated_versions/square-$newwall.png $square_wallpaper
echo ":: Square version created"
# -----------------------------------------------------
# Write selected wallpaper into .cache files
# -----------------------------------------------------
echo "$wallpaper" > "$cache_file"
echo "* { current-image: url(\"$blurred\", height); }" > "$rasi_file"
# -----------------------------------------------------
# Send notification
# -----------------------------------------------------
if [ "$1" == "init" ] ;then
echo ":: Init"
else
dunstify "Wallpaper procedure complete!" "with image $newwall" -h int:value:100 -h string:x-dunst-stack-tag:wallpaper
fi
echo "DONE!"
+1 -1
View File
@@ -15,7 +15,7 @@ killall -e xdg-desktop-portal-kde
killall -e xdg-desktop-portal-lxqt killall -e xdg-desktop-portal-lxqt
killall -e xdg-desktop-portal-wlr killall -e xdg-desktop-portal-wlr
killall -e xdg-desktop-portal-gtk killall -e xdg-desktop-portal-gtk
killall xdg-desktop-portal killall -e xdg-desktop-portal
sleep 1 sleep 1
# start xdg-desktop-portal-hyprland # start xdg-desktop-portal-hyprland
+14 -7
View File
@@ -34,7 +34,7 @@ else
fi fi
echo "" echo ""
source .install/required.sh source .install/required.sh
source .install/confirm-start.sh source .install/confirm_start.sh
source .install/paralleldownloads.sh source .install/paralleldownloads.sh
source .install/yay.sh source .install/yay.sh
source .install/updatesystem.sh source .install/updatesystem.sh
@@ -44,38 +44,45 @@ source .install/installer.sh
source .install/remove.sh source .install/remove.sh
source .install/general.sh source .install/general.sh
source .install/packages/general-packages.sh source .install/packages/general-packages.sh
source .install/install-packages.sh source .install/install_packages.sh
source .install/profile.sh source .install/profile.sh
if [[ $profile == *"Hyprland"* ]]; then if [[ $profile == *"Hyprland"* ]]; then
echo -e "${GREEN}" echo -e "${GREEN}"
figlet "Hyprland" figlet "Hyprland"
echo -e "${NONE}" echo -e "${NONE}"
source .install/packages/hyprland-packages.sh source .install/packages/hyprland-packages.sh
source .install/install-packages.sh source .install/install_packages.sh
fi fi
if [[ $profile == *"Qtile"* ]]; then if [[ $profile == *"Qtile"* ]]; then
echo -e "${GREEN}" echo -e "${GREEN}"
figlet "Qtile" figlet "Qtile"
echo -e "${NONE}" echo -e "${NONE}"
source .install/packages/qtile-packages.sh source .install/packages/qtile-packages.sh
source .install/install-packages.sh source .install/install_packages.sh
fi fi
source .install/wallpaper.sh source .install/wallpaper.sh
source .install/hidpi.sh
source .install/displaymanager.sh source .install/displaymanager.sh
source .install/issue.sh source .install/issue.sh
# Modify existing files before restore starts
source .install/before_restore.sh
# Restore configuration and settings
source .install/restore.sh source .install/restore.sh
# Setup the input devices
source .install/keyboard.sh source .install/keyboard.sh
source .install/neovim.sh source .install/neovim.sh
source .install/hook.sh source .install/hook.sh
source .install/vm.sh source .install/vm.sh
source .install/copy.sh source .install/copy.sh
source .install/init-pywal.sh source .install/init-pywal.sh
if [[ $profile == *"Hyprland"* ]]; then if [[ $profile == *"Hyprland"* ]]; then
source .install/hyprland-dotfiles.sh source .install/hyprland_dotfiles.sh
fi fi
if [[ $profile == *"Qtile"* ]]; then if [[ $profile == *"Qtile"* ]]; then
source .install/qtile-dotfiles.sh source .install/qtile_dotfiles.sh
fi fi
source .install/settings.sh source .install/settings.sh
source .install/apps.sh source .install/apps.sh
+10
View File
@@ -31,3 +31,13 @@ set ttyfast " Speed up scrolling in Vim
" set spell " enable spell check (may need to download language package) " set spell " enable spell check (may need to download language package)
" set noswapfile " disable creating swap file " set noswapfile " disable creating swap file
" set backupdir=~/.cache/vim " Directory to store backup files. " set backupdir=~/.cache/vim " Directory to store backup files.
hi NonText ctermbg=none guibg=NONE
hi Normal guibg=NONE ctermbg=NONE
hi NormalNC guibg=NONE ctermbg=NONE
hi SignColumn ctermbg=NONE ctermfg=NONE guibg=NONE
hi Pmenu ctermbg=NONE ctermfg=NONE guibg=NONE
hi FloatBorder ctermbg=NONE ctermfg=NONE guibg=NONE
hi NormalFloat ctermbg=NONE ctermfg=NONE guibg=NONE
hi TabLine ctermbg=None ctermfg=None guibg=None
+3 -2
View File
@@ -151,10 +151,11 @@ listview {
spacing: 10px; spacing: 10px;
padding: 10px; padding: 10px;
margin: 0px; margin: 0px;
fixed-height: true; fixed-height: true;
fixed-columns: true; fixed-columns: true;
background-color: @background; background-color: @background;
border: 0px; border: 0px;
flow: horizontal;
} }
/* ---- Element ---- */ /* ---- Element ---- */
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

+2 -2
View File
@@ -25,7 +25,7 @@ sleep 0.2
# ----------------------------------------------------- # -----------------------------------------------------
# Default theme: /THEMEFOLDER;/VARIATION # Default theme: /THEMEFOLDER;/VARIATION
# ----------------------------------------------------- # -----------------------------------------------------
themestyle="/ml4w;/ml4w/light" themestyle="/ml4w-blur;/ml4w-blur/white"
# ----------------------------------------------------- # -----------------------------------------------------
# Get current theme information from .cache/.themestyle.sh # Get current theme information from .cache/.themestyle.sh
@@ -38,7 +38,7 @@ else
fi fi
IFS=';' read -ra arrThemes <<< "$themestyle" IFS=';' read -ra arrThemes <<< "$themestyle"
echo "Theme: ${arrThemes[0]}" echo ":: Theme: ${arrThemes[0]}"
if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
themestyle="/ml4w;/ml4w/light" themestyle="/ml4w;/ml4w/light"
+4 -25
View File
@@ -11,6 +11,8 @@
{ {
// Workspaces // Workspaces
"hyprland/workspaces" : { "hyprland/workspaces" : {
"on-scroll-up": "hyprctl dispatch workspace r-1",
"on-scroll-down": "hyprctl dispatch workspace r+1",
"on-click": "activate", "on-click": "activate",
"active-only": false, "active-only": false,
"all-outputs": true, "all-outputs": true,
@@ -108,7 +110,7 @@
// Wallpaper // Wallpaper
"custom/wallpaper": { "custom/wallpaper": {
"format": "", "format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select", "on-click": "waypaper",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh", "on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh",
"tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect" "tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect"
}, },
@@ -134,20 +136,6 @@
"tooltip": false "tooltip": false
}, },
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip-format": "Open the filemanager"
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip-format": "Open the browser"
},
// ChatGPT Launcher // ChatGPT Launcher
"custom/chatgpt": { "custom/chatgpt": {
"format": " ", "format": " ",
@@ -159,7 +147,7 @@
"custom/calculator": { "custom/calculator": {
"format": "", "format": "",
"on-click": "qalculate-gtk", "on-click": "qalculate-gtk",
"tooltip": false "tooltip-format": "Open calculator"
}, },
// Windows VM // Windows VM
@@ -313,15 +301,6 @@
] ]
}, },
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network // Network
"network": { "network": {
"format": "{ifname}", "format": "{ifname}",
+18
View File
@@ -0,0 +1,18 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img">
<!-- Define the mask for the cutouts -->
<mask id="cutoutMask">
<!-- Circle -->
<circle fill="white" cx="120" cy="120" r="120" />
<!-- Big L Shape -->
<rect x="60" y="165" width="120" height="15" rx="4" ry="4" fill="black"/>
<rect x="60" y="60" width="15" height="120" rx="4" ry="4" fill="black"/>
<!-- Little L Shape -->
<rect x="110" y="120" width="75" height="15" rx="4" ry="4" fill="black"/>
<rect x="110" y="55" width="15" height="80" rx="4" ry="4" fill="black"/>
</mask>
<!-- Circle with cutouts -->
<circle fill="black" cx="120" cy="120" r="120" mask="url(#cutoutMask)" />
</svg>

After

Width:  |  Height:  |  Size: 728 B

+18
View File
@@ -0,0 +1,18 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img">
<!-- Define the mask for the cutouts -->
<mask id="cutoutMask">
<!-- Circle -->
<circle fill="white" cx="120" cy="120" r="120" />
<!-- Big L Shape -->
<rect x="60" y="165" width="120" height="15" rx="4" ry="4" fill="black"/>
<rect x="60" y="60" width="15" height="120" rx="4" ry="4" fill="black"/>
<!-- Little L Shape -->
<rect x="110" y="120" width="75" height="15" rx="4" ry="4" fill="black"/>
<rect x="110" y="55" width="15" height="80" rx="4" ry="4" fill="black"/>
</mask>
<!-- Circle with cutouts -->
<circle fill="white" cx="120" cy="120" r="120" mask="url(#cutoutMask)" />
</svg>

After

Width:  |  Height:  |  Size: 728 B

+18
View File
@@ -0,0 +1,18 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img">
<!-- Define the mask for the cutouts -->
<mask id="cutoutMask">
<!-- Circle -->
<circle fill="#19cddb" cx="120" cy="120" r="120" />
<!-- Big L Shape -->
<rect x="60" y="165" width="120" height="15" rx="4" ry="4" fill="black"/>
<rect x="60" y="60" width="15" height="120" rx="4" ry="4" fill="black"/>
<!-- Little L Shape -->
<rect x="110" y="120" width="75" height="15" rx="4" ry="4" fill="black"/>
<rect x="110" y="55" width="15" height="80" rx="4" ry="4" fill="black"/>
</mask>
<!-- Circle with cutouts -->
<circle fill="#19cddb" cx="120" cy="120" r="120" mask="url(#cutoutMask)" />
</svg>

After

Width:  |  Height:  |  Size: 732 B

+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#ffffff" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#ffffff" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

@@ -20,5 +20,10 @@ window#waybar {
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-dark.png"); background-image: url("../../assets/ml4w-icon-black.svg");
} }
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
}
+4 -1
View File
@@ -19,7 +19,10 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": ["~/dotfiles/waybar/modules.json"], "include": [
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
@@ -18,3 +18,11 @@
window#waybar { window#waybar {
background-color: rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.1);
} }
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+5 -1
View File
@@ -20,5 +20,9 @@ window#waybar {
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-dark.png"); background-image: url("../../assets/ml4w-icon-black.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
} }
+4 -1
View File
@@ -19,7 +19,10 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": ["~/dotfiles/waybar/modules.json"], "include": [
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+17 -5
View File
@@ -165,6 +165,16 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 20px; font-size: 20px;
@@ -203,10 +213,11 @@ window#waybar.empty #window {
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/ml4w-icon.png"); background-image: url("../assets/ml4w-icon.svg");
background-repeat: no-repeat;
background-position: center; background-position: center;
padding-right: 24px; background-repeat: no-repeat;
background-size: contain;
padding-right: 20px;
} }
#custom-ml4w-hyprland-settings { #custom-ml4w-hyprland-settings {
@@ -219,10 +230,11 @@ window#waybar.empty #window {
#custom-chatgpt { #custom-chatgpt {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/ai-icon-20.png"); background-image: url("../assets/openai.svg");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
padding-right: 24px; background-size: contain;
padding-right: 16px;
} }
/* ----------------------------------------------------- /* -----------------------------------------------------
+8
View File
@@ -18,3 +18,11 @@
window#waybar { window#waybar {
background-color: rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.1);
} }
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+5 -1
View File
@@ -16,5 +16,9 @@
@import '../../ml4w/style.css'; @import '../../ml4w/style.css';
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-dark.png"); background-image: url("../../assets/ml4w-icon-black.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
} }
+4 -1
View File
@@ -19,7 +19,10 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": ["~/dotfiles/waybar/modules.json"], "include": [
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
@@ -14,3 +14,11 @@
@define-color iconcolor #FFFFFF; @define-color iconcolor #FFFFFF;
@import '../../ml4w/style.css'; @import '../../ml4w/style.css';
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+4 -1
View File
@@ -18,7 +18,10 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": ["~/dotfiles/waybar/modules.json"], "include": [
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+15 -4
View File
@@ -136,6 +136,16 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 14px; font-size: 14px;
@@ -185,11 +195,12 @@ window#waybar.empty #window {
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 15px; margin-right: 12px;
background-image: url("../assets/ml4w-icon-20.png"); background-image: url("../assets/ml4w-icon.svg");
background-repeat: no-repeat;
background-position: center; background-position: center;
padding-right: 24px; background-repeat: no-repeat;
background-size: contain;
padding-right: 20px;
} }
#custom-ml4w-hyprland-settings { #custom-ml4w-hyprland-settings {
+6 -2
View File
@@ -15,6 +15,10 @@
@import '../style.css'; @import '../style.css';
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-dark.png"); background-image: url("../../assets/ml4w-icon-black.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
} }
+4 -1
View File
@@ -19,7 +19,10 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": ["~/dotfiles/waybar/modules.json"], "include": [
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+17 -5
View File
@@ -166,6 +166,16 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 20px; font-size: 20px;
@@ -204,18 +214,20 @@ window#waybar.empty #window {
#custom-chatgpt { #custom-chatgpt {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/ai-icon.png"); background-image: url("../assets/openai.svg");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
padding-right: 24px; background-size: contain;
padding-right: 16px;
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/ml4w-icon.png"); background-image: url("../assets/ml4w-icon.svg");
background-repeat: no-repeat;
background-position: center; background-position: center;
padding-right: 24px; background-repeat: no-repeat;
background-size: contain;
padding-right: 20px;
} }
#custom-ml4w-hyprland-settings { #custom-ml4w-hyprland-settings {
+18 -11
View File
@@ -1,17 +1,24 @@
/* ----------------------------------------------------- /* -----------------------------------------------------
* Import Pywal colors * Import Pywal colors
* ----------------------------------------------------- */ * ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css'; @import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight #FFFFFF; @define-color backgroundlight #FFFFFF;
@define-color backgrounddark #FFFFFF; @define-color backgrounddark #FFFFFF;
@define-color workspacesbackground1 #FFFFFF; @define-color workspacesbackground1 #FFFFFF;
@define-color workspacesbackground2 #CCCCCC; @define-color workspacesbackground2 #CCCCCC;
@define-color bordercolor #FFFFFF; @define-color bordercolor #FFFFFF;
@define-color textcolor1 #000000; @define-color textcolor1 #000000;
@define-color textcolor2 #000000; @define-color textcolor2 #000000;
@define-color textcolor3 #000000; @define-color textcolor3 #000000;
@define-color iconcolor #FFFFFF; @define-color iconcolor #FFFFFF;
@import '../style.css'; @import '../style.css';
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+4 -1
View File
@@ -26,7 +26,10 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": ["~/dotfiles/waybar/themes/starter/modules.json"], "include": [
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/themes/starter/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+14 -3
View File
@@ -166,6 +166,16 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 20px; font-size: 20px;
@@ -194,10 +204,11 @@ window#waybar.empty #window {
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 15px; margin-right: 12px;
background-image: url("../assets/ml4w-icon.png"); background-image: url("../assets/ml4w-icon.svg");
background-repeat: no-repeat;
background-position: center; background-position: center;
background-repeat: no-repeat;
background-size: contain;
padding-right: 24px; padding-right: 24px;
} }
+19
View File
@@ -0,0 +1,19 @@
[Settings]
language = en
folder = ~/wallpaper
wallpaper = ~/wallpaper/default.jpg
backend = hyprpaper
monitors = All
fill = fill
sort = name
color = #ffffff
subfolders = False
show_hidden = False
show_gifs_only = False
post_command = ~/dotfiles/hypr/scripts/wallpaper.sh $wallpaper
number_of_columns = 3
swww_transition_type = any
swww_transition_step = 90
swww_transition_angle = 0
swww_transition_duration = 2