From d2f055f39eef969f8f8b55ebf043945260ea629e Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Mon, 29 Jan 2024 13:21:11 +0100 Subject: [PATCH] Add AI Icon --- .version/name | 2 +- CHANGELOG | 1 + README.md | 2 +- waybar/modules.json | 21 ++++++++------------- waybar/themes/assets/ai-icon-20.png | Bin 0 -> 4969 bytes waybar/themes/assets/ai-icon.png | Bin 0 -> 5315 bytes waybar/themes/ml4w-blur-bottom/config | 4 +--- waybar/themes/ml4w-blur/config | 4 +--- waybar/themes/ml4w-blur/style.css | 8 ++++++++ waybar/themes/ml4w-bottom/config | 4 +--- waybar/themes/ml4w-minimal/config | 1 + waybar/themes/ml4w-minimal/style.css | 23 ++++++++++++++++++----- waybar/themes/ml4w/config | 4 +--- waybar/themes/ml4w/style.css | 8 ++++++++ 14 files changed, 50 insertions(+), 32 deletions(-) create mode 100644 waybar/themes/assets/ai-icon-20.png create mode 100644 waybar/themes/assets/ai-icon.png diff --git a/.version/name b/.version/name index f7025a3..251e37d 100644 --- a/.version/name +++ b/.version/name @@ -1 +1 @@ -2.8RC1 \ No newline at end of file +2.8RC2 \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG index 3003cac..099e45d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ Hyprland: - New waybar idle-inhibator icon - New waybar theme ml4w-minimal - New window animation variation animation-moving.conf +- New AI icon to open ChatGPT Version 2.7.2 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.7.2 diff --git a/README.md b/README.md index 19dadc0..ea1bd4f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ML4W dotfiles 2.8RC1 +# ML4W dotfiles 2.8RC2 This is my configuration of Hyprland (Wayland) and Qtile (X11) for Arch Linux based distributions. This package includes an installation script to install and setup the required components. diff --git a/waybar/modules.json b/waybar/modules.json index 518e63b..5d1779f 100644 --- a/waybar/modules.json +++ b/waybar/modules.json @@ -127,7 +127,7 @@ // Filemanager Launcher "custom/filemanager": { - "format": "", + "format": "", "on-click": "~/dotfiles/.settings/filemanager.sh", "tooltip": false }, @@ -148,14 +148,14 @@ // Browser Launcher "custom/browser": { - "format": "", + "format": "", "on-click": "~/dotfiles/.settings/browser.sh", "tooltip": false }, // ChatGPT Launcher "custom/chatgpt": { - "format": "", + "format": " ", "on-click": "chromium --app=https://chat.openai.com", "tooltip": false }, @@ -274,13 +274,11 @@ // Group Settings "group/settings": { - "orientation": "inherit", - "drawer": { - "transition-duration": 300, - "children-class": "not-memory", - "transition-left-to-right": false - }, + "orientation": "horizontal", "modules": [ + // START CHATGPT TOOGLE + "custom/chatgpt", + // END CHATGPT TOOGLE "custom/settings", "custom/waybarthemes", "custom/wallpaper" @@ -291,11 +289,8 @@ "group/quicklinks": { "orientation": "horizontal", "modules": [ - // START CHATGPT TOOGLE - "custom/chatgpt", - // END CHATGPT TOOGLE + "custom/browser", "custom/filemanager", - "custom/browser" ] }, diff --git a/waybar/themes/assets/ai-icon-20.png b/waybar/themes/assets/ai-icon-20.png new file mode 100644 index 0000000000000000000000000000000000000000..a070dd488405c241c09fa214463c0a84a20e4097 GIT binary patch literal 4969 zcmeHLX;c$g7OsE_0s$2e)OLu$4W*JwWg$ru770R>C_+>m53Q9{C6toIB#DtZP!kNV#~Y=`{_Psj^|AOBRP+{@4kD#d*Ao& zyHMoBPKu(t40eGah%Sqk#(}37HJtl^pDS{P(!ryGNRX*zvN4b|m;g&!FNj9jfI;gb zJJ1{@biM8wJ>A{YjvUQH$w5MLin_t>p2(XC5$)zx4bvp6E+MTXjNZ~8PSjvaaLKj zB2S?19q+%5>Aoj_())3@iM)3MHTx9A)%3SMeGY%PjNT&Y{wpH`!!wVh#->4 z==nw>e*PqdYW`f62xo?dxCC3p06SUeU2M_S2Llo{f}2sYwsah!B~8w8k1m`P@{LCj`bEEbl9%hDS)Y>r4IVk0OU zMPXn8o6>Y<%nIvF{uD$jhLkX=jHJO#>U9hX6I1F_%n~LOtTWp4(;DRR4tSlZ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001 diff --git a/waybar/themes/assets/ai-icon.png b/waybar/themes/assets/ai-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..398379b177f8d26f00b2d41ace6a1ebaa994a09b GIT binary patch literal 5315 zcmeHLc~q0f7EeF~H#QL{3Wk76m8^s$Um)y@Q9+hiKvDRTe1Q~5ViHIM+&4hQy|^L@ zxB&7*iXw^|vJ|VL2($uXr2=(BL`p%CH(yx9_j=Adp7Z*j$(hWZJNN$P&TsDA)vkNDWR;iuO9{-sg7a9#%oop}%+=YTryrp`$J6B7uBNOSe1&G(`>vMm!KMTv z?%~2kg{%|nP6qufaGZV8E|>RYn$z|S?OM}a2a%sS0UGH&v5T9zN`v%g&AkylIU(Dy zPP>`alMCIhxH=YwP?()lw+6d@mwYd|(x(L1Wz{e(t%cccZmbekEt=Jy?0$=Pb;o|X zP%F?X9j}{v$hXh!5wgGAIN~f9xs&kLWPD+NHMK!B#VXa))^&r9))FIsH!Xulu>rQ$ ze>k@NHdFS&@RE^i+KsA$byQka>dX&%Ywp!o`}h`fZkX2e@fv4lx`dlVK8$|<{+A2W z=d2t2ruf0Kk23QE1J zSbRwg5f(^z2vHRyMNbUl=&X{${3t|$;~^0uF&p1``5GQ460q?>_C91EsXG!WnjbGi z0^@zT{P-w7B)~g6O>|VT06+|)fN`prXtA87V&m1gEFhz55+0{EQADxv!61>`B{Bp@ zBhrXuf~QIpN5wl$#5u|YLRNr>*DwSavGI`#g_K1iDV0j1(vB#RMUW^E1d+&85|v5- z76kb!u>w{R#BwVXVhFfuEiU1A*L1Y>O5fCW$h#i5(L?8l$(D?+OfDiHPXk?0j$`}K& zSSA8l2}h5O3WX8?C_5UJ$LG-)1cp7GN}y3eb}%8n9l_3?PG`~)m=DtsHI#tQ@{-76 zU~rtG7&rnUNyQQB36yY_s~?ArrxMAZG=9;rLI@n#_(dXdtm@MQR}_N;DqxgN3WH3y zr-IE;XiO$#4}CKF4w1=0CZd??;;EiNkA(#`1BivuJOu!1J=hD&U53C4iHs|eM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qNM_p8u0cUn+aeDYPrvL*9Q(0gsoYxn%w;<~)u zHe2(}KhI#bv1@yavhmT_{b`CBnyKqqQw)thOb(}$XC`fuR)rQOK0Nc| z)TGC;?4V6O894@T-TFfA>%L75csbJrFHE1_6?FQ(_p1(zEmazRh|2`GTlU85bd6R% k$;xf@79edc7i;_U+#kW2v}ab}pF0eO>?-st{-(5ArVgLXD literal 0 HcmV?d00001 diff --git a/waybar/themes/ml4w-blur-bottom/config b/waybar/themes/ml4w-blur-bottom/config index 2074112..ed6fac5 100644 --- a/waybar/themes/ml4w-blur-bottom/config +++ b/waybar/themes/ml4w-blur-bottom/config @@ -32,9 +32,7 @@ // Modules Left "modules-left": [ "custom/appmenu", - "custom/settings", - "custom/waybarthemes", - "custom/wallpaper", + "group/settings", // START TASK TOOGLE "wlr/taskbar", // END TASK TOOGLE diff --git a/waybar/themes/ml4w-blur/config b/waybar/themes/ml4w-blur/config index 838c2b4..e064d8f 100644 --- a/waybar/themes/ml4w-blur/config +++ b/waybar/themes/ml4w-blur/config @@ -32,9 +32,7 @@ // Modules Left "modules-left": [ "custom/appmenu", - "custom/settings", - "custom/waybarthemes", - "custom/wallpaper", + "group/settings", // START TASK TOOGLE "wlr/taskbar", // END TASK TOOGLE diff --git a/waybar/themes/ml4w-blur/style.css b/waybar/themes/ml4w-blur/style.css index da18725..8fa90c8 100644 --- a/waybar/themes/ml4w-blur/style.css +++ b/waybar/themes/ml4w-blur/style.css @@ -191,6 +191,14 @@ window#waybar.empty #window { padding-right: 24px; } +#custom-chatgpt { + margin-right: 15px; + background-image: url("../assets/ai-icon-20.png"); + background-repeat: no-repeat; + background-position: center; + padding-right: 24px; +} + /* ----------------------------------------------------- * Idle Inhibator * ----------------------------------------------------- */ diff --git a/waybar/themes/ml4w-bottom/config b/waybar/themes/ml4w-bottom/config index e30d232..a2593ef 100644 --- a/waybar/themes/ml4w-bottom/config +++ b/waybar/themes/ml4w-bottom/config @@ -32,9 +32,7 @@ // Modules Left "modules-left": [ "custom/appmenu", - "custom/settings", - "custom/waybarthemes", - "custom/wallpaper", + "group/settings", // START TASK TOOGLE "wlr/taskbar", // END TASK TOOGLE diff --git a/waybar/themes/ml4w-minimal/config b/waybar/themes/ml4w-minimal/config index 3008a87..43c87a7 100644 --- a/waybar/themes/ml4w-minimal/config +++ b/waybar/themes/ml4w-minimal/config @@ -32,6 +32,7 @@ "modules-left": [ "custom/appmenuicon", "hyprland/workspaces", + "group/settings", "group/quicklinks" ], diff --git a/waybar/themes/ml4w-minimal/style.css b/waybar/themes/ml4w-minimal/style.css index c27f544..2c6a5f2 100644 --- a/waybar/themes/ml4w-minimal/style.css +++ b/waybar/themes/ml4w-minimal/style.css @@ -140,13 +140,26 @@ window#waybar.empty #window { font-weight: bold; color: @iconcolor; } - - #custom-waybarthemes,#custom-system { - margin-right:15px; - } + +#custom-settings { + margin-right: 15; + +} + +#custom-chatgpt { + margin-right: 15px; + background-image: url("../assets/ai-icon-20.png"); + background-repeat: no-repeat; + background-position: center; + padding-right: 23px; +} + +#custom-waybarthemes,#custom-system { + margin-right:15px; +} - #custom-ml4w-welcome { +#custom-ml4w-welcome { margin-right: 15px; background-image: url("../assets/ml4w-icon-20.png"); background-repeat: no-repeat; diff --git a/waybar/themes/ml4w/config b/waybar/themes/ml4w/config index f66036e..3fce304 100644 --- a/waybar/themes/ml4w/config +++ b/waybar/themes/ml4w/config @@ -32,9 +32,7 @@ // Modules Left "modules-left": [ "custom/appmenu", - "custom/settings", - "custom/waybarthemes", - "custom/wallpaper", + "group/settings", // START TASK TOOGLE "wlr/taskbar", // END TASK TOOGLE diff --git a/waybar/themes/ml4w/style.css b/waybar/themes/ml4w/style.css index 42edc59..1a1c19a 100644 --- a/waybar/themes/ml4w/style.css +++ b/waybar/themes/ml4w/style.css @@ -184,6 +184,14 @@ window#waybar.empty #window { margin-right:20px; } +#custom-chatgpt { + margin-right: 15px; + background-image: url("../assets/ai-icon.png"); + background-repeat: no-repeat; + background-position: center; + padding-right: 24px; +} + #custom-ml4w-welcome { margin-right: 15px; background-image: url("../assets/ml4w-icon.png");