diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-09-20 12:46:32 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-09-20 12:46:32 +0900 |
| commit | 7d376633842c143e658a3900c1d7fb10f8af4033 (patch) | |
| tree | e23bd823f47cef8d9c50e98ddec1a5d9aab19c17 /config | |
| parent | 3056d2060700d35b37b05634e226c734304a5efe (diff) | |
updates: Keybinds added in Hint button (right click), Added Default_v4 waybar for non-laptop. Minor ags style tweak. Minor tweak on config-keybinds.rasi
Diffstat (limited to 'config')
| -rw-r--r-- | config/ags/user/style.css | 16 | ||||
| -rwxr-xr-x | config/hypr/scripts/KeyBinds.sh | 5 | ||||
| -rwxr-xr-x | config/hypr/scripts/KeyHints.sh | 5 | ||||
| -rw-r--r-- | config/rofi/config-keybinds.rasi | 2 | ||||
| -rw-r--r-- | config/waybar/ModulesCustom | 19 | ||||
| -rw-r--r-- | config/waybar/configs/[TOP] Default_v4 | 53 |
6 files changed, 82 insertions, 18 deletions
diff --git a/config/ags/user/style.css b/config/ags/user/style.css index 49d44ad8..13410ea4 100644 --- a/config/ags/user/style.css +++ b/config/ags/user/style.css @@ -6,7 +6,7 @@ /* define some colors */ @define-color border-color @color12; -@define-color border-color-alt @color1; +@define-color border-color-alt @color9; @define-color text-color rgba(255, 255, 255, 0.7); @define-color noti-bg rgba(0, 0, 0, 0.4); @define-color noti-bg-alt #111111; @@ -24,11 +24,11 @@ widget { transition: 300ms cubic-bezier(0, 0.55, 0.45, 1); border-radius: 1.705rem; -gtk-outline-radius: 1.705rem; - border-top: 2px solid @border-color; + border-top: 4px solid @border-color; border-left: 1px solid @border-color-alt; border-right: 1px solid @border-color-alt; - border-bottom: 2px solid @border-color; - /*box-shadow: 0px 2px 3px alpha(@color0, 0.45); */ + border-bottom: 4px solid @border-color; + box-shadow: 0px 2px 3px alpha(@color12, 0.45); margin: 0.476rem; min-width: 13.636rem; min-height: 3.409rem; @@ -70,10 +70,10 @@ widget { .overview-search-results { border-radius: 1.705rem; -gtk-outline-radius: 1.705rem; - border-top: 2px solid @border-color; + border-top: 4px solid @border-color; border-left: 1px solid @border-color-alt; border-right: 1px solid @border-color-alt; - border-bottom: 2px solid @border-color; + border-bottom: 4px solid @border-color; box-shadow: 0px 2px 3px @color9; margin: 0.476rem; min-width: 28.773rem; @@ -123,10 +123,10 @@ widget { .overview-tasks { border-radius: 1.705rem; -gtk-outline-radius: 1.705rem; - border-top: 2px solid @border-color; + border-top: 4px solid @border-color; border-left: 1px solid @border-color-alt; border-right: 1px solid @border-color-alt; - border-bottom: 2px solid @border-color; + border-bottom: 4px solid @border-color; box-shadow: 0px 2px 3px @color5; margin: 0.476rem; padding: 0.341rem; diff --git a/config/hypr/scripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh index 29217910..01764f0f 100755 --- a/config/hypr/scripts/KeyBinds.sh +++ b/config/hypr/scripts/KeyBinds.sh @@ -3,6 +3,11 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Searchable enabled keybinds using rofi +# Check if yad is running and kill it if it is +if pgrep -x "yad" > /dev/null; then + pkill yad +fi + # Define the config files KEYBINDS_CONF="$HOME/.config/hypr/configs/Keybinds.conf" USER_KEYBINDS_CONF="$HOME/.config/hypr/UserConfigs/UserKeybinds.conf" diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 3534f2e4..e2e12634 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -5,6 +5,11 @@ # GDK BACKEND. Change to either wayland or x11 if having issues BACKEND=wayland +# Check if rofi is running and kill it if it is +if pgrep -x "rofi" > /dev/null; then + pkill rofi +fi + # Detect monitor resolution and scale x_mon=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .width') y_mon=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .height') diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index 13a070a0..964b37d1 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -6,7 +6,7 @@ /* ---- Entry ---- */ entry { width: 80%; - placeholder: "⌨ Search Keybinds - NOTE: Clicking with Mouse or Pressing ENTER will have NO function"; + placeholder: " 🧮 Search Keybinds ☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function"; } /* ---- Listview ---- */ diff --git a/config/waybar/ModulesCustom b/config/waybar/ModulesCustom index 201c97b7..d0c8e506 100644 --- a/config/waybar/ModulesCustom +++ b/config/waybar/ModulesCustom @@ -57,20 +57,21 @@ "custom/hint": { "format": " HINT!", "on-click": "$HOME/.config/hypr/scripts/KeyHints.sh", + "on-click-right": "$HOME/.config/hypr/scripts/KeyBinds.sh", "tooltip": true, - "tooltip-format": " Quick Tips", + "tooltip-format": "Left Click: Quick Tips\nRight Click: Keybinds", }, // Hypridle inhibitor "custom/hypridle": { - "format": " ", - "return-type": "json", - "escape": true, - "exec-on-event": true, - "interval": 60, - "exec": "$HOME/.config/hypr/scripts/Hypridle.sh status", - "on-click": "$HOME/.config/hypr/scripts/Hypridle.sh toggle", - "on-click-right": "hyprlock" + "format": " ", + "return-type": "json", + "escape": true, + "exec-on-event": true, + "interval": 60, + "exec": "$HOME/.config/hypr/scripts/Hypridle.sh status", + "on-click": "$HOME/.config/hypr/scripts/Hypridle.sh toggle", + "on-click-right": "hyprlock" }, "custom/keyboard": { diff --git a/config/waybar/configs/[TOP] Default_v4 b/config/waybar/configs/[TOP] Default_v4 new file mode 100644 index 00000000..051aa848 --- /dev/null +++ b/config/waybar/configs/[TOP] Default_v4 @@ -0,0 +1,53 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + +// ### DEFAULT v4 (Laptop) - Top ### // +{ +"include": [ + "$HOME/.config/waybar/Modules", + "$HOME/.config/waybar/ModulesWorkspaces", + "$HOME/.config/waybar/ModulesCustom", + "$HOME/.config/waybar/ModulesGroups", + ], +"layer": "top", +//"mode": "dock", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 3, +"margin-left": 8, +"margin-right": 8, + +"modules-left": [ + "group/app_drawer", + "custom/separator#dot-line", + "group/mobo_drawer", + "custom/separator#line", + "custom/weather", + ], + +"modules-center": [ + "custom/swaync", + "custom/cava_mviz", + "custom/separator#dot-line", + "clock", + "custom/separator#line", + "hyprland/workspaces#kanji", + "custom/separator#dot-line", + "idle_inhibitor", + "custom/hint", + ], + +"modules-right": [ + "network#speed", + "group/connections", + "custom/separator#line", + "tray", + "mpris", + "group/audio", + "custom/separator#dot-line", + "group/status", + ], +}
\ No newline at end of file |
