Commit d1daa60

Ansari <ping@ansari.wtf>
2026-01-03 06:34:33
Add FreeCAD desktop entry and update autostart configurations
1 parent a4d80be
Changed files (7)
.assets/icons/freecad.png
Binary file
.config/hypr/modules/autostarts.conf
@@ -1,5 +1,6 @@
 exec-once = waybar &
 exec-once = swaync &
+exec-once = hyprctl dispatch workspace "Research"
 exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
 exec-once = wl-paste --type text --watch cliphist store
 exec-once = wl-paste --type image --watch cliphist store 
.config/hypr/modules/keybinds.conf
@@ -69,7 +69,7 @@ ws=$(hyprctl activeworkspace -j | jq '.id'); \
 bind = , mouse:276, exec, \
 ws=$(hyprctl activeworkspace -j | jq '.id'); \
 max=$(hyprctl workspaces -j | jq '[.[] | select(.id > 0) | .id] | max'); \
-if [ "$ws" -lt 3 ]; then \
+if [ "$ws" -lt 5 ]; then \
     hyprctl dispatch workspace $((ws + 1)); \
 elif [ "$ws" -lt "$max" ]; then \
     hyprctl dispatch workspace $((ws + 1)); \
.config/hypr/modules/windows.conf
@@ -1,20 +1,25 @@
 monitor=DP-1,1920x1080@144,auto,1
 
+workspace = 1, defaultName:AI,monitor:DP-1,persistent:true
+workspace = 2, defaultName:Code,monitor:DP-1,persistent:true
+workspace = 3, defaultName:Research,monitor:DP-1,persistent:true
+workspace = 4, defaultName:Misc,monitor:DP-1,persistent:true
+workspace = 5, defaultName:Forge,monitor:DP-1,persistent:true
 # Floating windows
 windowrule = float true,center true,size 875 600,match:tag floating-window
 
 windowrule = tag +floating-window, match:class (Thunar|thunar|org.gnome.Evince|org.wraith.*|org.pulseaudio.pavucontrol|com.mitchellh.ghostty|Termius|nwg-look|localsend|imv|mpv)
 windowrule = tag +floating-window, match:class (xdg-desktop-portal-gtk|org.gnome.*|rustdesk)
 windowrule = tag +floating-window, match:title ^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
+windowrule = tag +floating-window, match:title ^(Settings|Preferences|Options|About|Help|License|Shortcuts|Keybindings|Update|Updates|Checking for updates|Extensions|Add-ons|Choose a Font|About .*)$
 
 # Popped window rounding
 windowrule = rounding 8, match:tag pop
-
-
 # Apps Rules
-windowrule = workspace 1, match:class ^(zen)$
-windowrule = workspace 2, match:class ^(code|code-oss|Code-Insiders)$
-windowrule = workspace 3, match:class ^(chrome-gemini.google.com.*)$
+windowrule = workspace Research, match:class ^(zen)$
+windowrule = workspace Code, match:class ^(code|code-oss|Code-Insiders)$
+windowrule = workspace AI, match:class ^(chrome-gemini.google.com.*)$
+windowrule = workspace Forge, match:class ^(BambuStudio|blender|FreeCAD)$
 
 windowrule = float true,center true,size 1000 550,rounding 12,tag -floating-window,match:class org.wraith.about
 windowrule = workspace special:temp, match:class ^(discord)$
@@ -22,9 +27,6 @@ windowrule = workspace special:temp, match:class ^(discord)$
 windowrule = float true,center true, size 1100 700, match:class steam, match:title Steam
 windowrule = size 460 800, match:class steam, match:title Friends List
 
-
-
 #Special Workspaces
 windowrule = workspace special:youtube, match:class ^(chrome-youtube\..*)$
-windowrule = workspace special:music, match:class ^(chrome-music\.youtube\..*)$
-windowrule = workspace special:3d, match:class ^(BambuStudio)$
\ No newline at end of file
+windowrule = workspace special:music, match:class ^(chrome-music\.youtube\..*)$
\ No newline at end of file
.config/waybar/config.jsonc
@@ -7,7 +7,6 @@
   "modules-center": ["hyprland/workspaces#main"],
   "modules-right": [
     "hyprland/workspaces#special",
-    "custom/special_workspaces",
     "custom/brightness",
     "pulseaudio",
     "custom/notification",
@@ -26,25 +25,24 @@
     "show-special": false,
     "format": "{icon}",
     "format-icons": {
-      "1": "",
-      "2": "",
-      "3": ""
-    },
-    "persistent-workspaces": {
-      "*": ["1", "2", "3"]
+      "AI": "󱚝",
+      "Code": "",
+      "Research": "",
+      "Misc": "",
+      "Forge": "󰐫"
     }
   },
 
   "hyprland/workspaces#special": {
     "disable-scroll": false,
+    "sort-by": "id",
     "show-special": true,
     "format": "{icon}",
     "format-icons": {
       "youtube": "",
-      "music": "󰎆",
-      "3d": "󰭼"
+      "music": "󰎆"
     },
-    "ignore-workspaces": ["^([0-9]|10)$"]
+    "ignore-workspaces": ["^(?!.*(youtube|music)).*$"]
   },
 
   "clock": {
.config/zsh/aliases.zsh
@@ -3,7 +3,7 @@ alias src="source $HOME/.zshrc"
 alias la="ls -a"
 alias ccat="bat --color=always"
 alias vim=nvim
-alias decompress="tar -xzf"
+alias decompress="tar -xf"
 
 if command -v eza &> /dev/null; then
   alias ls='eza -lah --group-directories-first --icons=auto --no-user --no-filesize --no-permissions --time-style=long-iso'
.local/share/applications/freecad.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=FreeCAD
+Exec="/opt/AppImages/FreeCAD_1.0.2-conda-Linux-x86_64-py311.AppImage"
+Terminal=false
+Type=Application
+Icon=/home/robin/.assets/icons/freecad.png
+StartupNotify=true
+