Skip to content

Commit

Permalink
Changed my waybar look to hindi devnagri
Browse files Browse the repository at this point in the history
  • Loading branch information
niksingh710 committed May 14, 2024
1 parent b471bba commit d97c544
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 23 deletions.
Empty file added .config/btop/btop.log
Empty file.
15 changes: 15 additions & 0 deletions .config/hypr/bin/lock-parallel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
set -euo pipefail
if [ -f /tmp/locked ]; then exit; fi
touch /tmp/locked
(
until fprintd-verify -f right-index-finger | /usr/bin/grep "verify-match"; do
echo "Failed to verify fingerprint at $(date)" | systemd-cat
done
echo "Unlocked at $(date)" | systemd-cat
pkill -USR1 hyprlock
) &
hyprlock
rm /tmp/locked
kill $(jobs -p) &>/dev/null
pkill fprintd-verify &> /dev/null
6 changes: 5 additions & 1 deletion .config/hypr/conf.d/env.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ env = QT_IM_MODULE,fcitx
env = XMODIFIERS,@im=fcitx
env = SDL_IM_MODULE=fcitx

env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = ELECTRON_OZONE_PLATFORM_HINT,wayland


env = SWWW_TRANSITION_STEP,60
env = SWWW_TRANSITION,random

# vim: commentstring=#\ %s
4 changes: 2 additions & 2 deletions .config/hypr/conf.d/plugins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ plugin {
hyprexpo {
columns = 3
gap_size = 5
bg_col = rgb(111111)
bg_col = 0xff$color6
workspace_method = center first # [center/first] [workspace] e.g. first 1 or center m+1

enable_gesture = false # laptop touchpad, 4 fingers
gesture_distance = 300 # how far is the "max"
gesture_positive = true # positive = swipe down. Negative = swipe up.
}
hyprtrails {
color = $cursor
color = 0xff$color6
}
}
# vim: commentstring=#\ %s
3 changes: 3 additions & 0 deletions .config/hypr/conf.d/rules.conf
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ windowrule = float, title:^(Volume Control)$
windowrule = float, title:^(Picture-in-Picture)$
windowrule = float, title:Legacy Launcher*

windowrulev2 = float, class:org.gnome.Todo
windowrulev2 = float, class:org.gnome.Calendar
windowrulev2 = float, class:geary
windowrulev2 = float, class:FFPWA-(.*)
windowrulev2 = float, class:iriunwebcam
windowrule = float, title:^(Firefox — Sharing Indicator)$
Expand Down
2 changes: 1 addition & 1 deletion .config/hypr/hypridle.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
general {
lock_cmd = hyprlock
lock_cmd = "$HOME/.config/hypr/bin/lock-parallel"
unlock_cmd = killall -q -s SIGUSR1 hyprlock
before_sleep_cmd = loginctl lock-session; sleep 2
ignore_dbus_inhibit = false
Expand Down
4 changes: 2 additions & 2 deletions .config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ animations {
animation = windowsIn, 1, 6, winIn, popin
animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide
#animation = border, 1, 1, liner
#animation = borderangle, 1, 30, liner, loop
animation = border, 1, 1, liner
animation = borderangle, 1, 30, liner, loop
animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind
}
Expand Down
3 changes: 0 additions & 3 deletions .config/hypr/hyprlock.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ input-field {

font_color = rgb($inactive)
fade_on_empty = false
placeholder-text = <i>Input Password...</i> # Text rendered in the input box when it's empty.

position = 0, -20
halign = center
Expand All @@ -30,7 +29,6 @@ label {
monitor =
text = $TIME # Text rendered in the label.
color = 0xff$cursor
allow_breaks = true
font_size = 130
font_family = Road Rage

Expand All @@ -43,7 +41,6 @@ label {
monitor =
text = <b>  </b> # Text rendered in the label.
color = 0xff$cursor
allow_breaks = true
font_size = 80
font_family = Noto Sans

Expand Down
34 changes: 23 additions & 11 deletions .config/waybar/bars/top.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,30 @@
"format": "{icon}",
"on-click": "activate",
"all-outputs": true,
// "format-icons": {
// "1": "一",
// "2": "二",
// "3": "三",
// "4": "四",
// "5": "五",
// "6": "六",
// "7": "七",
// "8": "八",
// "9": "九",
// "10": "十"
// }
"format-icons": {
"1": "一",
"2": "二",
"3": "三",
"4": "四",
"5": "五",
"6": "六",
"7": "七",
"8": "八",
"9": "九",
"10": "十"
"1": "१",
"2": "२",
"3": "३",
"4": "४",
"5": "५",
"6": "६",
"7": "७",
"8": "८",
"9": "९",
"10": "०"
// "10": "१०"
}
},
"hyprland/submap": {
Expand Down Expand Up @@ -392,7 +405,6 @@
"on-click": "toggle-hyprshade",
"return-type": "json"
},

"custom/weather": {
"format": "{}",
"tooltip": true,
Expand Down
2 changes: 1 addition & 1 deletion .config/waybar/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ tooltip label {
}

#workspaces {
margin: 6px 2px;
margin: 0px 2px;
padding: 4px 0px 0px 0px;
border-radius: 8px;
}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ echo "Hyprland Not found will not launch it as GUI instance"
</div>
</p>

- **Wal**: My most of the colors are generated from `pywal16` i have added templates but if you want to look at a generated file for reference, You can find that at `extra/wal` this is in the same format as it will be generated inside `~/.cache/wal`.
- *Wal**: My most of the colors are generated from `pywal16` i have added templates but if you want to look at a generated file for reference, You can find that at `extra/wal` this is in the same format as it will be generated inside `~/.cache/wal`.
It has been generated using image below ![wall_secondary](https://github.com/niksingh710/gdots/assets/60490474/7e9a9661-6bd5-4aa5-a552-7c793781d2f6)

- **Stow** : Stow is the tool i prefer to manage my dot files (i use `xstow` to be exact but it shouldn't matter).
Expand Down Expand Up @@ -179,7 +179,7 @@ I have a keybind in my config that toggles it. `Super+b` -> `killall -SIGUSR1 wa

Waybar get's started by a script `~/.local/bin/bar.sh` that switches it's output based on connected monitors.

| ![image](https://github.com/niksingh710/gdots/assets/60490474/e6819215-54de-499d-bbd0-85742bdddf3f) | ![image](https://github.com/niksingh710/gdots/assets/60490474/2870a9e6-b6d6-4a07-8ab9-580858a6f628) |
| ![image](https://github.com/niksingh710/gdots/assets/60490474/e6819215-54de-499d-bbd0-85742bdddf3f) | ![image](https://github.com/niksingh710/gdots/assets/60490474/f4898446-e2e8-4c52-a628-ce654524a65f) |
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |

<details>
Expand Down

0 comments on commit d97c544

Please sign in to comment.