diff --git a/bin/backlight.sh b/bin/backlight.sh
index 3d7e4a4..8d9e35f 100755
--- a/bin/backlight.sh
+++ b/bin/backlight.sh
@@ -1,22 +1,52 @@
-#!/bin/sh
+# #!/bin/bash
+# # I copied this script from JaKooLit. https://github.com/JaKooLit. Because I do not have any laptop to test these kinds of features.
-# Use brightnessctl to naturally adjust laptop screen brightness and send a notification
+iDIR="$HOME/.config/dunst/icons/brightness"
+notification_timeout=1000
-currentbrightness=$(brightnessctl -e4 -m | awk -F, '{print substr($4, 0, length($4)-1)}')
-if [ "$currentbrightness" -lt 30 ] && [ "$1" = "down" ]; then exit 1; fi
-
-send_notification() {
- brightness=$(brightnessctl -e4 -m | awk -F, '{print substr($4, 0, length($4)-1)}')
- dunstify -a "Backlight" -u critical -h int:value:"$brightness" -i "brightness" "Brightness" -t 1000
+# Get brightness
+get_backlight() {
+ echo $(brightnessctl -m | cut -d, -f4)
}
-case $1 in
- up)
- brightnessctl -e4 set 1%+
- send_notification "$1"
+# Get icons
+get_icon() {
+ current=$(get_backlight | sed 's/%//')
+ if [ "$current" -le "20" ]; then
+ icon="$iDIR/brightness-20.png"
+ elif [ "$current" -le "40" ]; then
+ icon="$iDIR/brightness-40.png"
+ elif [ "$current" -le "60" ]; then
+ icon="$iDIR/brightness-60.png"
+ elif [ "$current" -le "80" ]; then
+ icon="$iDIR/brightness-80.png"
+ else
+ icon="$iDIR/brightness-100.png"
+ fi
+}
+
+# Notify
+notify_user() {
+ notify-send -e -h string:x-canonical-private-synchronous:brightness_notif -h int:value:$current -u low -i "$icon" "Brightness : $current%"
+}
+
+# Change brightness
+change_backlight() {
+ brightnessctl set "$1" -n && get_icon && notify_user
+}
+
+# Execute accordingly
+case "$1" in
+ "--get")
+ get_backlight
;;
- down)
- brightnessctl -e4 set 1%-
- send_notification "$1"
+ "up")
+ change_backlight "+10%"
+ ;;
+ "down")
+ change_backlight "10%-"
+ ;;
+ *)
+ get_backlight
;;
esac
diff --git a/bin/volume.sh b/bin/volume.sh
index 01093a5..5796d56 100755
--- a/bin/volume.sh
+++ b/bin/volume.sh
@@ -1,55 +1,170 @@
-#!/bin/sh
+#!/bin/bash
+iDIR="$HOME/.config/dunst/icons/vol"
-case $1 in
- up)
- wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
- wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 2%+
- ;;
- down)
- wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
- wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 2%-
- ;;
- mute)
- wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
- ;;
- *)
- echo "Usage: $0 {up|down|mute}"
- exit 1
- ;;
-esac
-
-VOLUME=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print int($2 * 100)}')
-
-NORMALIZED_VOLUME=$((VOLUME / 2))
-
-send_notification() {
- # if [ "$1" = "mute" ]; then
- # ICON='' # Mute icon
- # MSG="Muted"
- # elif [ "$NORMALIZED_VOLUME" -lt 50 ]; then
- # ICON='' # Low volume icon
- # MSG="Volume: $NORMALIZED_VOLUME%"
- # elif [ "$NORMALIZED_VOLUME" -lt 90 ]; then
- # ICON='' # Medium volume icon
- # MSG="Volume: $NORMALIZED_VOLUME%"
- # else
- # ICON='' # High volume icon
- # MSG="Volume: $NORMALIZED_VOLUME%"
- # fi
-
- dunstify -u normal -h "int:value:$NORMALIZED_VOLUME" -a "Volume" "Volume" -t 2000
+# Get Volume
+get_volume() {
+ volume=$(pamixer --get-volume)
+ if [[ "$volume" -eq "0" ]]; then
+ echo "Muted"
+ else
+ echo "$volume%"
+ fi
}
-case $1 in
- mute)
- if wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q "MUTED"; then
- send_notification mute
- else
- send_notification
- fi
- ;;
- *)
- send_notification
- ;;
-esac
\ No newline at end of file
+# Get icons
+get_icon() {
+ current=$(get_volume)
+ if [[ "$current" == "Muted" ]]; then
+ echo "$iDIR/muted-speaker.svg"
+ elif [[ "${current%\%}" = 5 ]]; then
+ echo "$iDIR/vol-5.svg"
+ elif [[ "${current%\%}" = 10 ]]; then
+ echo "$iDIR/vol-10.svg"
+ elif [[ "${current%\%}" = 15 ]]; then
+ echo "$iDIR/vol-15.svg"
+ elif [[ "${current%\%}" = 20 ]]; then
+ echo "$iDIR/vol-20.svg"
+ elif [[ "${current%\%}" = 25 ]]; then
+ echo "$iDIR/vol-25.svg"
+ elif [[ "${current%\%}" = 30 ]]; then
+ echo "$iDIR/vol-30.svg"
+ elif [[ "${current%\%}" = 35 ]]; then
+ echo "$iDIR/vol-35.svg"
+ elif [[ "${current%\%}" = 40 ]]; then
+ echo "$iDIR/vol-40.svg"
+ elif [[ "${current%\%}" = 45 ]]; then
+ echo "$iDIR/vol-45.svg"
+ elif [[ "${current%\%}" = 50 ]]; then
+ echo "$iDIR/vol-50.svg"
+ elif [[ "${current%\%}" = 55 ]]; then
+ echo "$iDIR/vol-55.svg"
+ elif [[ "${current%\%}" = 60 ]]; then
+ echo "$iDIR/vol-60.svg"
+ elif [[ "${current%\%}" = 65 ]]; then
+ echo "$iDIR/vol-65.svg"
+ elif [[ "${current%\%}" = 70 ]]; then
+ echo "$iDIR/vol-70.svg"
+ elif [[ "${current%\%}" = 75 ]]; then
+ echo "$iDIR/vol-75.svg"
+ elif [[ "${current%\%}" = 80 ]]; then
+ echo "$iDIR/vol-80.svg"
+ elif [[ "${current%\%}" = 85 ]]; then
+ echo "$iDIR/vol-85.svg"
+ elif [[ "${current%\%}" = 90 ]]; then
+ echo "$iDIR/vol-90.svg"
+ elif [[ "${current%\%}" = 95 ]]; then
+ echo "$iDIR/vol-95.svg"
+ else
+ echo "$iDIR/vol-100.svg"
+ fi
+}
+
+# Notify
+notify_user() {
+ if [[ "$(get_volume)" == " " ]]; then
+ notify-send -a -r -h string:x-dunst-stack-tag:volume_notif -i "$(get_icon)" "Volume: Muted"
+ else
+ notify-send -a -r -h string:x-dunst-stack-tag:volume_notif -i "$(get_icon)" "Volume: $(get_volume)"
+ fi
+}
+
+# Increase Volume
+inc_volume() {
+ if [ "$(pamixer --get-mute)" == "true" ]; then
+ pamixer -u && notify_user
+ fi
+ pamixer -i 5 && notify_user
+}
+
+# Decrease Volume
+dec_volume() {
+ if [ "$(pamixer --get-mute)" == "true" ]; then
+ pamixer -u && notify_user
+ fi
+ pamixer -d 5 && notify_user
+}
+
+# Toggle Mute
+toggle_mute() {
+ if [ "$(pamixer --get-mute)" == "false" ]; then
+ pamixer -m && notify-send -a -h -i "$iDIR/muted-speaker.svg" "Volume Switched OFF"
+ elif [ "$(pamixer --get-mute)" == "true" ]; then
+ pamixer -u && notify-send -a -h -i "$iDIR/unmuted-speaker.svg" "Volume Switched ON"
+ fi
+}
+
+# Toggle Mic
+toggle_mic() {
+ if [ "$(pamixer --default-source --get-mute)" == "false" ]; then
+ pamixer --default-source -m && notify-send -e -u low -i "$iDIR/muted-mic.svg" "Microphone Switched OFF"
+ elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then
+ pamixer --default-source -u && notify-send -e -u low -i "$iDIR/unmuted-mic.svg" "Microphone Switched ON"
+ fi
+}
+
+# Get Mic Icon
+get_mic_icon() {
+ current=$(pamixer --default-source --get-volume)
+ if [[ "$current" -eq "0" ]]; then
+ echo "$iDIR/muted-mic.svg"
+ else
+ echo "$iDIR/unmuted-mic.svg"
+ fi
+}
+
+# Get Microphone Volume
+get_mic_volume() {
+ volume=$(pamixer --default-source --get-volume)
+ if [[ "$volume" -eq "0" ]]; then
+ echo "Muted"
+ else
+ echo "$volume%"
+ fi
+}
+
+# Notify for Microphone
+notify_mic_user() {
+ volume=$(get_mic_volume)
+ icon=$(get_mic_icon)
+ notify-send -a -r 91190 -t 800 -i "$icon" "Mic=vel: $volume"
+}
+
+# Increase MIC Volume
+inc_mic_volume() {
+ if [ "$(pamixer --default-source --get-mute)" == "true" ]; then
+ pamixer --default-source -u && notify_mic_user
+ fi
+ pamixer --default-source -i 5 && notify_mic_user
+}
+
+# Decrease MIC Volume
+dec_mic_volume() {
+ if [ "$(pamixer --default-source --get-mute)" == "true" ]; then
+ pamixer --default-source -u && notify_mic_user
+ fi
+ pamixer --default-source -d 5 && notify_mic_user
+}
+
+# Execute accordingly
+if [[ "$1" == "--get" ]]; then
+ get_volume
+elif [[ "$1" == "--inc" ]]; then
+ inc_volume
+elif [[ "$1" == "--dec" ]]; then
+ dec_volume
+elif [[ "$1" == "--toggle" ]]; then
+ toggle_mute
+elif [[ "$1" == "--toggle-mic" ]]; then
+ toggle_mic
+elif [[ "$1" == "--get-icon" ]]; then
+ get_icon
+elif [[ "$1" == "--get-mic-icon" ]]; then
+ get_mic_icon
+elif [[ "$1" == "--mic-inc" ]]; then
+ inc_mic_volume
+elif [[ "$1" == "--mic-dec" ]]; then
+ dec_mic_volume
+else
+ get_volume
+fi
diff --git a/bin/volume_bak.sh b/bin/volume_bak.sh
new file mode 100755
index 0000000..01093a5
--- /dev/null
+++ b/bin/volume_bak.sh
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+
+case $1 in
+ up)
+ wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
+ wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 2%+
+ ;;
+ down)
+ wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
+ wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 2%-
+ ;;
+ mute)
+ wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
+ ;;
+ *)
+ echo "Usage: $0 {up|down|mute}"
+ exit 1
+ ;;
+esac
+
+VOLUME=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print int($2 * 100)}')
+
+NORMALIZED_VOLUME=$((VOLUME / 2))
+
+send_notification() {
+ # if [ "$1" = "mute" ]; then
+ # ICON='' # Mute icon
+ # MSG="Muted"
+ # elif [ "$NORMALIZED_VOLUME" -lt 50 ]; then
+ # ICON='' # Low volume icon
+ # MSG="Volume: $NORMALIZED_VOLUME%"
+ # elif [ "$NORMALIZED_VOLUME" -lt 90 ]; then
+ # ICON='' # Medium volume icon
+ # MSG="Volume: $NORMALIZED_VOLUME%"
+ # else
+ # ICON='' # High volume icon
+ # MSG="Volume: $NORMALIZED_VOLUME%"
+ # fi
+
+ dunstify -u normal -h "int:value:$NORMALIZED_VOLUME" -a "Volume" "Volume" -t 2000
+}
+
+case $1 in
+ mute)
+ if wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q "MUTED"; then
+ send_notification mute
+ else
+ send_notification
+ fi
+ ;;
+ *)
+ send_notification
+ ;;
+esac
\ No newline at end of file
diff --git a/dunst/dunstrc b/dunst/dunstrc
index 46efb9f..492680f 100755
--- a/dunst/dunstrc
+++ b/dunst/dunstrc
@@ -1,107 +1,413 @@
+# See dunst(5) for all configuration options
+
[global]
+ ### Display ###
monitor = 0
- follow = mouse
- width = 350
- height = (0,100)
+ follow = none
+
+ ### Geometry ###
+ width = auto
+ height = 300
origin = top-right
- offset = 18x18
- # Progress Bar
+ offset = 10x50
+
+ scale = 0
+
+ notification_limit = 20
+
+ ### Progress bar ###
progress_bar = true
- progress_bar_height = 8
- progress_bar_frame_width = 2
+ progress_bar_height = 10
+ progress_bar_frame_width = 3
progress_bar_min_width = 150
- progress_bar_max_width = 1000
- progress_bar_corner_radius = 2
- progress_bar_background = "#313244"
- progress_bar_color = "#a6e3a1"
+ progress_bar_max_width = 300
+ progress_bar_corner_radius = 20
+ progress_bar_corners = all
+
+ # Corner radius for the icon image.
+ icon_corner_radius = 5
+ icon_corners = all
+ indicate_hidden = yes
+
+ # The transparency of the window. Range: [0; 100].
+ # This option will only work if a compositing window manager is
+ # present (e.g. xcompmgr, compiz, etc.). (X11 only)
+ transparency = 100
- # Notification Layout
- notification_limit = 2
- indicate_hidden = true
- shrink = no
separator_height = 2
- separator_color = "#313244"
- padding = 15
- horizontal_padding = 15
- frame_width = 1
- frame_color = "#cdd6f4"
- corner_radius = 6
+
+ # Padding between text and separator.
+ padding = 8
+
+ # Horizontal padding.
+ horizontal_padding = 8
+
+ # Padding between text and icon.
+ text_icon_padding = 8
+
+ # Defines width in pixels of frame around the notification window.
+ # Set to 0 to disable.
+ frame_width = 3
+
+ # Defines color of the frame around the notification window.
+ frame_color = "#a6c1c7"
+
+ gap_size = 5
+
+ separator_color = auto
+
+ # Sort type.
sort = yes
- idle_threshold = 120
- # Font and Text
- font = JetbrainsMono Nerd Font Mono 12
- line_height = 1.2
+ # Don't remove messages, if the user is idle (no mouse or keyboard input)
+ # for longer than idle_threshold seconds.
+ # Set to 0 to disable.
+ # A client can set the 'transient' hint to bypass this. See the rules
+ # section for how to disable this if necessary
+ # idle_threshold = 120
+
+ ### Text ###
+
+ font = JetBrainsMono Nerd Font 12
+ # font = Cascadia Code 12
+
+ # The spacing between lines. If the height is smaller than the
+ # font height, it will get raised to the font height.
+ line_height = 3
+
+ # Possible values are:
+ # full: Allow a small subset of html markup in notifications:
+ # bold
+ # italic
+ # strikethrough
+ # underline
+ #
+ # For a complete reference see
+ # .
+ #
+ # strip: This setting is provided for compatibility with some broken
+ # clients that send markup even though it's not enabled on the
+ # server. Dunst will try to strip the markup but the parsing is
+ # simplistic so using this option outside of matching rules for
+ # specific applications *IS GREATLY DISCOURAGED*.
+ #
+ # no: Disable markup parsing, incoming notifications will be treated as
+ # plain text. Dunst will not advertise that it has the body-markup
+ # capability if this is set as a global setting.
+ #
+ # It's important to note that markup inside the format option will be parsed
+ # regardless of what this is set to.
markup = full
- format = "%s\n%b"
- alignment = left
+
+ # The format of the message. Possible variables are:
+ # %a appname
+ # %s summary
+ # %b body
+ # %i iconname (including its path)
+ # %I iconname (without its path)
+ # %p progress value if set ([ 0%] to [100%]) or nothing
+ # %n progress value if set without any extra characters
+ # %% Literal %
+ # Markup is allowed
+ format = "%s\n%b"
+
+ # Alignment of message text.
+ # Possible values are "left", "center" and "right".
+ alignment = center
+
+ # Vertical alignment of message text and icon.
+ # Possible values are "top", "center" and "bottom".
vertical_alignment = center
+
+ # Show age of message if message is older than show_age_threshold
+ # seconds.
+ # Set to -1 to disable.
show_age_threshold = 60
- word_wrap = yes
+
+ # Specify where to make an ellipsis in long lines.
+ # Possible values are "start", "middle" and "end".
ellipsize = middle
- ignore_newline = yes
+
+ # Ignore newlines '\n' in notifications.
+ ignore_newline = no
+
+ # Stack together notifications with the same content
stack_duplicates = true
+
+ # Hide the count of stacked notifications with the same content
hide_duplicate_count = false
- show_indicators = false
- # Icons
- icon_position = right
- min_icon_size = 50
- max_icon_size = 70
- icon_path = $HOME/.local/share/fonts/
+ # Display indicators for URLs (U) and actions (A).
+ show_indicators = yes
- # Behavior
- sticky_history = no
+ ### Icons ###
+
+ # Recursive icon lookup. You can set a single theme, instead of having to
+ # define all lookup paths.
+ enable_recursive_icon_lookup = true
+
+ # Set icon theme (only used for recursive icon lookup)
+ icon_theme = Tela-circle-dracula
+ # You can also set multiple icon themes, with the leftmost one being used first.
+ # icon_theme = "Adwaita, breeze"
+
+ # Align icons left/right/top/off
+ icon_position = left
+
+ # Scale small icons up to this size, set to 0 to disable. Helpful
+ # for e.g. small files or high-dpi screens. In case of conflict,
+ # max_icon_size takes precedence over this.
+ min_icon_size = 32
+
+ # Scale larger icons down to this size, set to 0 to disable
+ max_icon_size = 128
+
+ # Paths to default icons (only necessary when not using recursive icon lookup)
+ icon_path = $HOME/.icons/Tela-circle-dracula/16/actions:$HOME/.icons/Tela-circle-dracula/16/apps:$HOME/.icons/Tela-circle-dracula/16/devices:$HOME/.icons/Tela-circle-dracula/16/mimetypes:$HOME/.icons/Tela-circle-dracula/16/panel:$HOME/.icons/Tela-circle-dracula/16/places:$HOME/.icons/Tela-circle-dracula/16/status
+
+ ### History ###
+
+ # Should a notification popped up from history be sticky or timeout
+ # as if it would normally do.
+ sticky_history = yes
+
+ # Maximum amount of notifications kept in history
history_length = 20
+
+ ### Misc/Advanced ###
+
+ # dmenu path.
+ dmenu = /usr/bin/dmenu -p dunst:
+
+ # Browser for opening urls in context menu.
+ browser = /usr/bin/xdg-open
+
+ # Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
+
+ # Define the title of the windows spawned by dunst (X11 only)
title = Dunst
+
+ # Define the class of the windows spawned by dunst (X11 only)
class = Dunst
+
+ # Define the corner radius of the notification window
+ # in pixel size. If the radius is 0, you have no rounded
+ # corners.
+ # The radius will be automatically lowered if it exceeds half of the
+ # notification height to avoid clipping text and/or icons.
+corner_radius = 15
+
+ # Define which corners to round when drawing the window. If the corner radius
+ # is set to 0 this option will be ignored.
+ #
+ # Comma-separated list of the corners. The accepted corner values are bottom-right,
+ # bottom-left, top-right, top-left, top, bottom, left, right or all.
+ corners = all
+
+ # Ignore the dbus closeNotification message.
+ # Useful to enforce the timeout set by dunst configuration. Without this
+ # parameter, an application may close the notification sent before the
+ # user defined timeout.
ignore_dbusclose = false
+
+ ### Wayland ###
+ # These settings are Wayland-specific. They have no effect when using X11
+
+ # Uncomment this if you want to let notifications appear under fullscreen
+ # applications (default: overlay)
+ # layer = top
+
+ # Set this to true to use X11 output on Wayland.
force_xwayland = false
+
+ ### Legacy
+
+ # Use the Xinerama extension instead of RandR for multi-monitor support.
+ # This setting is provided for compatibility with older nVidia drivers that
+ # do not support RandR and using it on systems that support RandR is highly
+ # discouraged.
+ #
+ # By enabling this setting dunst will not be able to detect when a monitor
+ # is connected or disconnected which might break follow mode if the screen
+ # layout changes.
force_xinerama = false
- # Mouse Actions
- mouse_left_click = do_action, close_current
+ ### mouse
+
+ # Defines list of actions for each mouse event
+ # Possible values are:
+ # * none: Don't do anything.
+ # * do_action: Invoke the action determined by the action_name rule. If there is no
+ # such action, open the context menu.
+ # * open_url: If the notification has exactly one url, open it. If there are multiple
+ # ones, open the context menu.
+ # * close_current: Close current notification.
+ # * close_all: Close all notifications.
+ # * context: Open context menu for the notification.
+ # * context_all: Open context menu for all notifications.
+ # These values can be strung together for each mouse event, and
+ # will be executed in sequence.
+ mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
+# Experimental features that may or may not work correctly. Do not expect them
+# to have a consistent behaviour across releases.
[experimental]
+ # Calculate the dpi to use on a per-monitor basis.
+ # If this setting is enabled the Xft.dpi value will be ignored and instead
+ # dunst will attempt to calculate an appropriate dpi value for each monitor
+ # using the resolution and physical size. This might be useful in setups
+ # where there are multiple screens with very different dpi values.
per_monitor_dpi = false
+
+# Every section that isn't one of the above is interpreted as a rules to
+# override settings for certain messages.
+#
+# Messages can be matched by
+# appname (discouraged, see desktop_entry)
+# body
+# category
+# desktop_entry
+# icon
+# match_transient
+# msg_urgency
+# stack_tag
+# summary
+#
+# and you can override the
+# background
+# foreground
+# format
+# frame_color
+# fullscreen
+# new_icon
+# set_stack_tag
+# set_transient
+# set_category
+# timeout
+# urgency
+# icon_position
+# skip_display
+# history_ignore
+# action_name
+# word_wrap
+# ellipsize
+# alignment
+# hide_text
+# override_pause_level
+#
+# Shell-like globbing will get expanded.
+#
+# Instead of the appname filter, it's recommended to use the desktop_entry filter.
+# GLib based applications export their desktop-entry name. In comparison to the appname,
+# the desktop-entry won't get localized.
+#
+# You can also allow a notification to appear even when paused. Notification will appear whenever notification's override_pause_level >= dunst's paused level.
+# This can be used to set partial pause modes, where more urgent notifications get through, but less urgent stay paused. To do that, you can override the following in the rules:
+# override_pause_level = X
+
+# SCRIPTING
+# You can specify a script that gets run when the rule matches by
+# setting the "script" option.
+# The script will be called as follows:
+# script appname summary body icon urgency
+# where urgency can be "LOW", "NORMAL" or "CRITICAL".
+#
+# NOTE: It might be helpful to run dunst -print in a terminal in order
+# to find fitting options for rules.
+
+# Disable the transient hint so that idle_threshold cannot be bypassed from the
+# client
+#[transient_disable]
+# match_transient = yes
+# set_transient = no
+#
+# Make the handling of transient notifications more strict by making them not
+# be placed in history.
+#[transient_history_ignore]
+# match_transient = yes
+# history_ignore = yes
+
+# fullscreen values
+# show: show the notifications, regardless if there is a fullscreen window opened
+# delay: displays the new notification, if there is no fullscreen window active
+# If the notification is already drawn, it won't get undrawn.
+# pushback: same as delay, but when switching into fullscreen, the notification will get
+# withdrawn from screen again and will get delayed like a new notification
+#[fullscreen_delay_everything]
+# fullscreen = delay
+#[fullscreen_show_critical]
+# msg_urgency = critical
+# fullscreen = show
+
+#[espeak]
+# summary = "*"
+# script = dunst_espeak.sh
+
+#[script-test]
+# summary = "*script*"
+# script = dunst_test.sh
+
+#[ignore]
+# # This notification will not be displayed
+# summary = "foobar"
+# skip_display = true
+
+#[history-ignore]
+# # This notification will not be saved in history
+# summary = "foobar"
+# history_ignore = yes
+
+#[skip-display]
+# # This notification will not be displayed, but will be included in the history
+# summary = "foobar"
+# skip_display = yes
+
+#[signed_on]
+# appname = Pidgin
+# summary = "*signed on*"
+# urgency = low
+#
+#[signed_off]
+# appname = Pidgin
+# summary = *signed off*
+# urgency = low
+#
+#[says]
+# appname = Pidgin
+# summary = *says*
+# urgency = critical
+#
+#[twitter]
+# appname = pidgin
+# summary = *twitter.com*
+# urgency = normal
+#
+#[stack-volumes]
+# appname = "some_volume_notifiers"
+# set_stack_tag = "volume"
+#
+# vim: ft=cfg
+
+
[urgency_low]
- background = "#1e1e2e" # Mocha Base
- foreground = "#cdd6f4" # Mocha Text
- highlight = "#89b4fa" # Mocha Blue for highlight
- frame_color = "#313244" # Mocha Surface0 for frame
- timeout = 5
- border_color = "#89b4fa" # Mocha Blue for border
- border_width = 1
+ background = "#091016"
+ foreground = "#a6c1c7"
+ timeout = 10
[urgency_normal]
- background = "#1e1e2e" # Mocha Base
- foreground = "#cdd6f4" # Mocha Text
- highlight = "#a6e3a1" # Mocha Green for highlight
- frame_color = "#313244" # Mocha Surface0 for frame
- timeout = 5
- border_color = "#a6e3a1" # Mocha Green for border
- border_width = 1
+ background = "#09101680"
+ foreground = "#a6c1c7"
+ timeout = 10
+ override_pause_level = 30
[urgency_critical]
- background = "#1e1e2e" # Mocha Base
- foreground = "#cdd6f4" # Mocha Text
- highlight = "#f38ba8" # Mocha Red for highlight
- frame_color = "#f38ba8" # Mocha Red for frame
- timeout = 10
- border_color = "#f38ba8" # Mocha Red for border
- border_width = 1
-
-[volume]
- highlight = "#a6e3a1" # Mocha Green
- icon_size = 60
- icon_position = right
-
-[backlight]
- highlight = "#f5c2e7" # Mocha Pink
- icon_size = 60
- icon_position = right
\ No newline at end of file
+ background = "#8B0000"
+ foreground = "#a6c1c7"
+ frame_color = "#a6c1c7"
+ timeout = 0
+ override_pause_level = 60
diff --git a/dunst/dunstrc_bak b/dunst/dunstrc_bak
new file mode 100755
index 0000000..46efb9f
--- /dev/null
+++ b/dunst/dunstrc_bak
@@ -0,0 +1,107 @@
+[global]
+ monitor = 0
+ follow = mouse
+ width = 350
+ height = (0,100)
+ origin = top-right
+ offset = 18x18
+
+ # Progress Bar
+ progress_bar = true
+ progress_bar_height = 8
+ progress_bar_frame_width = 2
+ progress_bar_min_width = 150
+ progress_bar_max_width = 1000
+ progress_bar_corner_radius = 2
+ progress_bar_background = "#313244"
+ progress_bar_color = "#a6e3a1"
+
+ # Notification Layout
+ notification_limit = 2
+ indicate_hidden = true
+ shrink = no
+ separator_height = 2
+ separator_color = "#313244"
+ padding = 15
+ horizontal_padding = 15
+ frame_width = 1
+ frame_color = "#cdd6f4"
+ corner_radius = 6
+ sort = yes
+ idle_threshold = 120
+
+ # Font and Text
+ font = JetbrainsMono Nerd Font Mono 12
+ line_height = 1.2
+ markup = full
+ format = "%s\n%b"
+ alignment = left
+ vertical_alignment = center
+ show_age_threshold = 60
+ word_wrap = yes
+ ellipsize = middle
+ ignore_newline = yes
+ stack_duplicates = true
+ hide_duplicate_count = false
+ show_indicators = false
+
+ # Icons
+ icon_position = right
+ min_icon_size = 50
+ max_icon_size = 70
+ icon_path = $HOME/.local/share/fonts/
+
+ # Behavior
+ sticky_history = no
+ history_length = 20
+ always_run_script = true
+ title = Dunst
+ class = Dunst
+ ignore_dbusclose = false
+ force_xwayland = false
+ force_xinerama = false
+
+ # Mouse Actions
+ mouse_left_click = do_action, close_current
+ mouse_middle_click = do_action, close_current
+ mouse_right_click = close_all
+
+[experimental]
+ per_monitor_dpi = false
+
+[urgency_low]
+ background = "#1e1e2e" # Mocha Base
+ foreground = "#cdd6f4" # Mocha Text
+ highlight = "#89b4fa" # Mocha Blue for highlight
+ frame_color = "#313244" # Mocha Surface0 for frame
+ timeout = 5
+ border_color = "#89b4fa" # Mocha Blue for border
+ border_width = 1
+
+[urgency_normal]
+ background = "#1e1e2e" # Mocha Base
+ foreground = "#cdd6f4" # Mocha Text
+ highlight = "#a6e3a1" # Mocha Green for highlight
+ frame_color = "#313244" # Mocha Surface0 for frame
+ timeout = 5
+ border_color = "#a6e3a1" # Mocha Green for border
+ border_width = 1
+
+[urgency_critical]
+ background = "#1e1e2e" # Mocha Base
+ foreground = "#cdd6f4" # Mocha Text
+ highlight = "#f38ba8" # Mocha Red for highlight
+ frame_color = "#f38ba8" # Mocha Red for frame
+ timeout = 10
+ border_color = "#f38ba8" # Mocha Red for border
+ border_width = 1
+
+[volume]
+ highlight = "#a6e3a1" # Mocha Green
+ icon_size = 60
+ icon_position = right
+
+[backlight]
+ highlight = "#f5c2e7" # Mocha Pink
+ icon_size = 60
+ icon_position = right
\ No newline at end of file
diff --git a/dunst/icons/brightness/brightness-100.png b/dunst/icons/brightness/brightness-100.png
new file mode 100644
index 0000000..1e28ac3
Binary files /dev/null and b/dunst/icons/brightness/brightness-100.png differ
diff --git a/dunst/icons/brightness/brightness-20.png b/dunst/icons/brightness/brightness-20.png
new file mode 100644
index 0000000..aee9c52
Binary files /dev/null and b/dunst/icons/brightness/brightness-20.png differ
diff --git a/dunst/icons/brightness/brightness-40.png b/dunst/icons/brightness/brightness-40.png
new file mode 100644
index 0000000..bbedd1c
Binary files /dev/null and b/dunst/icons/brightness/brightness-40.png differ
diff --git a/dunst/icons/brightness/brightness-60.png b/dunst/icons/brightness/brightness-60.png
new file mode 100644
index 0000000..4cd838b
Binary files /dev/null and b/dunst/icons/brightness/brightness-60.png differ
diff --git a/dunst/icons/brightness/brightness-80.png b/dunst/icons/brightness/brightness-80.png
new file mode 100644
index 0000000..6684bdb
Binary files /dev/null and b/dunst/icons/brightness/brightness-80.png differ
diff --git a/dunst/icons/vol/muted-mic.svg b/dunst/icons/vol/muted-mic.svg
new file mode 100644
index 0000000..b0d0e36
--- /dev/null
+++ b/dunst/icons/vol/muted-mic.svg
@@ -0,0 +1,11 @@
+
+
+
\ No newline at end of file
diff --git a/dunst/icons/vol/muted-speaker.svg b/dunst/icons/vol/muted-speaker.svg
new file mode 100644
index 0000000..49119fc
--- /dev/null
+++ b/dunst/icons/vol/muted-speaker.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/dunst/icons/vol/unmuted-mic.svg b/dunst/icons/vol/unmuted-mic.svg
new file mode 100644
index 0000000..904908f
--- /dev/null
+++ b/dunst/icons/vol/unmuted-mic.svg
@@ -0,0 +1,11 @@
+
+
+
\ No newline at end of file
diff --git a/dunst/icons/vol/unmuted-speaker.svg b/dunst/icons/vol/unmuted-speaker.svg
new file mode 100644
index 0000000..e003d3f
--- /dev/null
+++ b/dunst/icons/vol/unmuted-speaker.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/dunst/icons/vol/vol-0.svg b/dunst/icons/vol/vol-0.svg
new file mode 100644
index 0000000..6535e5e
--- /dev/null
+++ b/dunst/icons/vol/vol-0.svg
@@ -0,0 +1,82 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-10.svg b/dunst/icons/vol/vol-10.svg
new file mode 100644
index 0000000..823dee3
--- /dev/null
+++ b/dunst/icons/vol/vol-10.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-100.svg b/dunst/icons/vol/vol-100.svg
new file mode 100644
index 0000000..bff61a4
--- /dev/null
+++ b/dunst/icons/vol/vol-100.svg
@@ -0,0 +1,82 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-15.svg b/dunst/icons/vol/vol-15.svg
new file mode 100644
index 0000000..b96bd5c
--- /dev/null
+++ b/dunst/icons/vol/vol-15.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-20.svg b/dunst/icons/vol/vol-20.svg
new file mode 100644
index 0000000..fe81cf4
--- /dev/null
+++ b/dunst/icons/vol/vol-20.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-25.svg b/dunst/icons/vol/vol-25.svg
new file mode 100644
index 0000000..bd4dab9
--- /dev/null
+++ b/dunst/icons/vol/vol-25.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-30.svg b/dunst/icons/vol/vol-30.svg
new file mode 100644
index 0000000..9225f42
--- /dev/null
+++ b/dunst/icons/vol/vol-30.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-35.svg b/dunst/icons/vol/vol-35.svg
new file mode 100644
index 0000000..211050c
--- /dev/null
+++ b/dunst/icons/vol/vol-35.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-40.svg b/dunst/icons/vol/vol-40.svg
new file mode 100644
index 0000000..6ef2e3d
--- /dev/null
+++ b/dunst/icons/vol/vol-40.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-45.svg b/dunst/icons/vol/vol-45.svg
new file mode 100644
index 0000000..bee965f
--- /dev/null
+++ b/dunst/icons/vol/vol-45.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-5.svg b/dunst/icons/vol/vol-5.svg
new file mode 100644
index 0000000..5ad7f09
--- /dev/null
+++ b/dunst/icons/vol/vol-5.svg
@@ -0,0 +1,84 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-50.svg b/dunst/icons/vol/vol-50.svg
new file mode 100644
index 0000000..22d967c
--- /dev/null
+++ b/dunst/icons/vol/vol-50.svg
@@ -0,0 +1,84 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-55.svg b/dunst/icons/vol/vol-55.svg
new file mode 100644
index 0000000..6868c5e
--- /dev/null
+++ b/dunst/icons/vol/vol-55.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-60.svg b/dunst/icons/vol/vol-60.svg
new file mode 100644
index 0000000..2db27ec
--- /dev/null
+++ b/dunst/icons/vol/vol-60.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-65.svg b/dunst/icons/vol/vol-65.svg
new file mode 100644
index 0000000..78b6404
--- /dev/null
+++ b/dunst/icons/vol/vol-65.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-70.svg b/dunst/icons/vol/vol-70.svg
new file mode 100644
index 0000000..8534bcb
--- /dev/null
+++ b/dunst/icons/vol/vol-70.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-75.svg b/dunst/icons/vol/vol-75.svg
new file mode 100644
index 0000000..56bc16c
--- /dev/null
+++ b/dunst/icons/vol/vol-75.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-80.svg b/dunst/icons/vol/vol-80.svg
new file mode 100644
index 0000000..b893b57
--- /dev/null
+++ b/dunst/icons/vol/vol-80.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-85.svg b/dunst/icons/vol/vol-85.svg
new file mode 100644
index 0000000..8bca371
--- /dev/null
+++ b/dunst/icons/vol/vol-85.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-90.svg b/dunst/icons/vol/vol-90.svg
new file mode 100644
index 0000000..2d4d648
--- /dev/null
+++ b/dunst/icons/vol/vol-90.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/dunst/icons/vol/vol-95.svg b/dunst/icons/vol/vol-95.svg
new file mode 100644
index 0000000..d9a7903
--- /dev/null
+++ b/dunst/icons/vol/vol-95.svg
@@ -0,0 +1,85 @@
+
+
+
+
diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css
index 23668bd..c9763f7 100644
--- a/gtk-3.0/gtk.css
+++ b/gtk-3.0/gtk.css
@@ -1 +1 @@
-@import 'colors.css';
+@import 'colors.css';
\ No newline at end of file
diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini
index 04c000f..04055aa 100644
--- a/gtk-3.0/settings.ini
+++ b/gtk-3.0/settings.ini
@@ -1,8 +1,8 @@
[Settings]
gtk-application-prefer-dark-theme=true
gtk-button-images=true
-gtk-theme-name=Raleigh
-gtk-icon-theme-name=breeze-dark
+gtk-theme-name=theme
+gtk-icon-theme-name=TokyoNight-SE
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Bibata-Modern-Ice
gtk-cursor-theme-size=0
@@ -15,5 +15,3 @@ gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
-gtk-xft-rgba=none
-gtk-modules=gail:atk-bridge
diff --git a/gtk-4.0/gtk.css b/gtk-4.0/gtk.css
index 23668bd..c9763f7 100644
--- a/gtk-4.0/gtk.css
+++ b/gtk-4.0/gtk.css
@@ -1 +1 @@
-@import 'colors.css';
+@import 'colors.css';
\ No newline at end of file
diff --git a/gtk-4.0/settings.ini b/gtk-4.0/settings.ini
index 14c94dc..04055aa 100644
--- a/gtk-4.0/settings.ini
+++ b/gtk-4.0/settings.ini
@@ -14,4 +14,4 @@ gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
-gtk-xft-hintstyle=hintfull
\ No newline at end of file
+gtk-xft-hintstyle=hintfull
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index bd43b9a..aeda25b 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -95,11 +95,11 @@ animations {
enabled = true
bezier = overshot, 0.05, 0.9, 0.1, 1.1
- bezier = smoothOut, 0.36, 0, 0.66, -0.56
+ bezier = smoothOut, 0.36, -0.2,1.1,0
bezier = smoothIn, 0.25, 1, 0.5, 1
animation = windows, 1, 5, overshot, slide
- animation = windowsOut, 1, 4, smoothOut, slide
+ animation = windowsOut, 1, 4, smoothIn, slide
animation = windowsMove, 1, 5, smoothIn, slide
animation = border, 1, 10, default
@@ -114,6 +114,29 @@ animations {
}
+# animations {
+# enabled = 1
+# bezier = overshot,0.13,0.99,0.29,1.15
+# bezier = win, 0.15,0.90,0.25,1.2
+# bezier = wind, 0.05, 0.9, 0.1, 1.05
+# bezier = winIn, 0.1, 1.1, 0.1, 1.1
+# bezier = winOut, 0.3, -0.3, 0, 1
+# bezier = liner, 1, 1, 1, 1
+
+# # animation = windows, 1, 6, wind, slide
+# animation = windowsIn, 1, 5, overshot, slide
+# animation = windowsOut, 1, 5, overshot, slide
+# animation = windowsMove, 1, 5, wind, slide
+# animation = border, 1, 1, liner
+# animation = fade, 1, 10, default
+# animation = workspaces, 1, 5, overshot, slide
+# animation = layers, 1, 5, overshot, slidefade 40%
+
+# # animation = layersIn, 1, 4, overshot, slide
+# # animation = layersOut, 1, 7, overshot, slide 10%
+# }
+
+
dwindle {
pseudotile = true
preserve_split = true
@@ -207,9 +230,12 @@ bind = $mainMod, M, exec, ~/.config/rofi/clipboard/launcher.sh
#bindl = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-
#Volume Control
-binde = , XF86AudioRaiseVolume, exec, ~/.local/bin/volume.sh up
-binde = , XF86AudioLowerVolume, exec, ~/.local/bin/volume.sh down
-binde = , XF86AudioMute, exec, ~/.local/bin/volume.sh mute
+# binde = , XF86AudioRaiseVolume, exec, ~/.local/bin/volume.sh up
+# binde = , XF86AudioLowerVolume, exec, ~/.local/bin/volume.sh down
+# binde = , XF86AudioMute, exec, ~/.local/bin/volume.sh mute
+binde = , XF86AudioRaiseVolume, exec, ~/.local/bin/volume.sh --inc
+binde = , XF86AudioLowerVolume, exec, ~/.local/bin/volume.sh --dec
+binde = , XF86AudioMute, exec, ~/.local/bin/volume.sh --toggle
#Player Control
bindl = , XF86AudioPlay, exec, playerctl play-pause
diff --git a/waybar/config-2.jsonc b/waybar/config-2.jsonc
new file mode 100644
index 0000000..5ce9a7a
--- /dev/null
+++ b/waybar/config-2.jsonc
@@ -0,0 +1,174 @@
+{
+ "layer": "top",
+ // "position": "bottom",
+ "margin-left": 3,
+ "margin-right": 3,
+ "margin-top": 2,
+ "margin-bottom": 0,
+ "modules-center": [
+ "hyprland/workspaces",
+ "cpu",
+ "memory",
+ "network#speed",
+ "clock",
+ // "custom/cava",
+ "temperature#gpu",
+ "custom/transparency",
+ "custom/wallpaper",
+ "pulseaudio",
+ "backlight",
+ "network",
+ // "bluetooth",
+ "battery"
+ ],
+ "custom/cava": {
+ "format": "{}",
+ "exec": "~/.config/waybar/scripts/cava.sh"
+ },
+ "temperature#gpu": {
+ "thermal-zone": 5,
+ "critical-threshold": 80,
+ "format-critical": "{temperatureC}°C ",
+ "format": "{temperatureC}°C ",
+ "tooltip": false
+ },
+ "backlight": {
+ "device": "intel_backlight",
+ "scroll-step": 5,
+ "format": "{icon}",
+ "format-icons": [" ", " ", " ", " "],
+ "tooltip": true,
+ "tooltip-format": "{percent}%"
+ },
+ "network#speed": {
+ "interval": 1,
+ "format": "{ifname}%%",
+ "format-wifi": " {bandwidthDownBytes} {bandwidthUpBytes}",
+ "format-ethernet": " {bandwidthDownBytes} {bandwidthUpBytes} ",
+ "format-disconnected": "",
+ "tooltip-format": "{ipaddr}",
+ "format-linked": " {ifname} (No IP)",
+ "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
+ "tooltip-format-ethernet": "{ifname} ",
+ "tooltip-format-disconnected": " Disconnected",
+ "max-length": 22,
+ "min-length": 20,
+ "format-icons": ["", "", "", "", ""]
+ },
+ "keyboard-state": {
+ "numlock": true,
+ "capslock": true,
+ "scrolllock": false,
+ "format": "{name} {icon}",
+ "format-icons": {
+ "locked": "\uf023",
+ "unlocked": "\uf3c1"
+ }
+ },
+ "custom/launcher": {
+ "format": "",
+ "tooltip": false,
+ "on-click": "~/.config/rofi/launcher/launcher.sh"
+ },
+ "custom/transparency": {
+ "format": " ",
+ "tooltip": false,
+ "on-click": "~/.config/waybar/scripts/toggle-trans.sh",
+ "format-alt": " "
+ },
+ "cpu": {
+ "interval": 1,
+ "format": "{usage}% \uf2db",
+ "on-click": "kitty btop"
+ },
+ "memory": {
+ "interval": 1,
+ "format": "{percentage}% \uf538",
+ "on-click": "kitty btop",
+ "tooltip-format": "{used}/{total} GiB"
+ },
+ "hyprland/workspaces": {
+ "all-outputs": true,
+ "warp-on-scroll": true,
+ "enable-bar-scroll": true,
+ "disable-scroll-wraparound": false,
+ "format": " {icon} ",
+ "format-icons": {
+ "active": "●",
+ "default": "○"
+ },
+ "persistent-workspaces": {
+ "*": 3
+ },
+ "on-click": "activate",
+ "on-scroll-up": "hyprctl dispatch workspace e-1",
+ "on-scroll-down": "hyprctl dispatch workspace e+1"
+ },
+ "custom/weather": {
+ "format": "{}°C",
+ "tooltip": false,
+ "interval": 3600,
+ "exec": "wttrbar --location 'Ahmedabad'",
+ "return-type": "json"
+ },
+
+ "clock": {
+ "format": "{:%I:%M %p • %a %d/%m}",
+ "tooltip": true,
+ "tooltip-format": "{calendar}"
+ },
+ "custom/wallpaper": {
+ "format": "\uf03e",
+ "on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
+ "tooltip": false
+ },
+ "network": {
+ "format-wifi": " {icon}",
+ "format-ethernet": "",
+ "format-icons": [" ", " ", " ", " ", " "],
+ "format-disconnected": "",
+ "interval": 5,
+ "tooltip-format-wifi": " {bandwidthDownBytes} | {bandwidthUpBytes} | {essid}",
+ "tooltip-format-disconnected": "Disconnected",
+ "on-click": "exec ~/.config/rofi/wifi/wifi.sh",
+ "on-click-right": "alacritty -e nmtui"
+ },
+ "battery": {
+ "states": {
+ "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": " {capacity}% {icon} ",
+ "format-full": "{icon}",
+ "format-plugged": " {capacity}% \uf0e7 ",
+ "format-alt": "{icon}",
+ "tooltip-format": "{capacity}%, about {time} left",
+ "format-icons": [" ", " ", " ", " "]
+ },
+ "pulseaudio": {
+ "format": "{icon}",
+ "format-muted": "\uf6a9",
+ "format-icons": {
+ "headphone": "\uf025",
+ "default": ["\uf028"]
+ },
+ "tooltip-format": "{volume}% {desc}",
+ "on-click": "pamixer -t"
+ },
+ "bluetooth": {
+ "format": "{icon}",
+ "format-icons": ["", "", "", "", ""],
+
+ "tooltip-format-off": "Bluetooth is off",
+ "tooltip-format-on": "Bluetooth is on",
+
+ "format-connected": "{icon} {num_connections}",
+ "format-connected-battery": "{icon} {device_battery_percentage}%",
+
+ "tooltip-format-connected": "{device_enumerate}",
+ "tooltip-format-enumerate-connected": "{device_alias}\t{device_battery_percentage}%",
+
+ "on-click": "blueman-manager"
+ }
+}
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index 8d547e2..9fa296f 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -1,5 +1,6 @@
{
"layer": "top",
+ "style": "~/.config/waybar/style-4.css",
// "position": "bottom",
"margin-left": 3,
"margin-right": 3,
diff --git a/waybar/style-2.css b/waybar/style-2.css
index 5e6a917..668fb41 100644
--- a/waybar/style-2.css
+++ b/waybar/style-2.css
@@ -1,12 +1,10 @@
@import 'mocha.css';
-/* reset all styles */
* {
font-family: JetBrains Mono Nerd Font;
- min-height: 18px;
+ min-height: 14px;
font-size: 12px;
border: none;
- /* border-radius: 2px; */
padding: 0;
margin: 0;
box-shadow: none;
@@ -14,46 +12,33 @@
background-color: transparent;
}
-#custom-weather {
- /* margin-left: 6px; */
- padding: 0px 8px;
- background: @raisin-black;
- color: @beige;
-}
-
-#keyboard-state {
+#custom-cava {
+ color: #8fbc8f;
+ border-left: 0px;
+ border-right: 0px;
+ padding: 6px;
+ font-family: 'bargraph';
background: @raisin-black;
}
-
#cpu {
color: @beige;
padding: 0px 8px 0px 15px;
- /* border-radius: 0px; */
- /* border-top-left-radius: 6px; */
- /* border-bottom-left-radius: 6px; */
background: @raisin-black;
- /* margin-left: 6px; */
}
#memory {
color: @beige;
padding: 0px 15px 0px 8px;
- /* border-radius: 0px; */
- /* border-top-right-radius: 6px; */
- /* border-bottom-right-radius: 6px; */
background: @raisin-black;
- /* margin-right: 2px; */
}
#temperature.gpu {
padding: 0px 12px;
- /* margin-right: 6px; */
color: @celadon;
background: @raisin-black;
}
-/* general */
-
+/* General Styling */
tooltip,
menu,
#workspaces,
@@ -65,32 +50,12 @@ menu,
#battery,
#custom-power {
background: @raisin-black;
- padding-bottom: 7px;
- padding-top: 7px;
+ padding: 7px 8px;
margin: 0;
}
-tooltip {
- border: 1px solid @beige;
-}
-
-.modules-right,
-.modules-center,
-.modules-left {
- padding: 0 5px;
-}
-
-#custom-wallpaper {
- font-size: 20px;
- font-family: 'Font Awesome 5 Free';
- padding: 0px 8px;
- /* margin-right: 4px; */
- color: #f38ba8;
- background: @raisin-black;
-}
-
#workspaces {
- background: #1e1e2e;
+ background: @raisin-black;
margin: 0;
padding: 0;
font-weight: bold;
@@ -98,16 +63,15 @@ tooltip {
opacity: 1;
font-size: 16px;
color: #1e1;
+ border-radius: 6px 0px 0px 6px;
}
#workspaces button {
- /* padding: 0px 3px; */
- /* margin: 5px; */
- border-radius: 0px;
+ padding: 0px 5px;
+ border-radius: 6px;
border: none;
- min-width: 30px;
color: #f5e0dc;
- background-color: #1e1e2e;
+ /* background-color: #1e1e2e; */
transition: all 0.3s ease-in-out;
opacity: 0.4;
}
@@ -115,7 +79,7 @@ tooltip {
#workspaces button.active {
color: #1e1e2e;
background: #cba6f7;
- min-width: 30px;
+ min-width: 20px;
opacity: 1;
}
@@ -125,6 +89,7 @@ tooltip {
opacity: 1;
animation: none;
}
+
#clock {
padding: 0 15px;
color: @beige;
@@ -134,7 +99,6 @@ tooltip {
font-size: 18px;
transition: none;
padding: 0px 10px;
- /* margin-right: 6px; */
background: @raisin-black;
color: rgba(137, 220, 235, 1);
}
@@ -144,13 +108,21 @@ tooltip {
background: @raisin-black;
color: #94e2d5;
padding: 0px 14px;
- /* margin-right: 6px; */
+ /* margin-right: 2px; */
+ /* border-radius: 0 6px 6px 0; */
+}
+
+#custom-wallpaper {
+ font-size: 20px;
+ font-family: 'Font Awesome 5 Free';
+ padding: 0px 8px;
+ color: #f38ba8;
+ background: @raisin-black;
}
#pulseaudio,
#backlight {
padding: 0 8px;
- /* margin: 0 2px; */
color: @beige;
}
@@ -169,49 +141,54 @@ tooltip {
#bluetooth {
min-width: 20px;
padding: 0 10px;
- /* margin: 0 2px; */
}
+
#network {
min-width: 30px;
padding: 0 7px 0 2px;
/* margin: 0 2px; */
+ /* border-radius: 0 6px 6px 0; */
}
+
#battery {
color: @mint;
min-width: 30px;
padding-left: 5px;
- /* margin: 0 2px; */
- padding-right: 5px;
}
#battery.charging {
- color: #eff1f5; /* Text */
- background: #40a02b; /* Green */
+ color: #33ae18; /* Text */
+ background: @raisin-black;
+ border-radius: 0px 6px 6px 0px;
}
#battery.good:not(.charging) {
- color: #f9e2af; /* Peach */
- background: #1e1e2e; /* Base */
+ color: #f8d589;
+ background: @raisin-black;
+ border-radius: 0px 6px 6px 0px;
}
#battery.warning:not(.charging) {
- color: #eff1f5; /* Text */
- background: #df8e1d; /* Yellow */
+ color: #e0a858; /* Text */
+ background: @raisin-black;
+ border-radius: 0px 6px 6px 0px;
}
#battery.low:not(.charging) {
- color: #eff1f5; /* Text */
- background: #d20f39; /* Red */
+ color: #d20f39; /* Text */
+ background: @raisin-black;
+ border-radius: 0px 6px 6px 0px;
}
#battery.critical:not(.charging) {
- color: #eff1f5; /* Text */
- background: #d20f39; /* Red */
+ color: #d20f39; /* Text */
+ background: @raisin-black;
animation-name: blink;
animation-duration: 0.75s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
+ border-radius: 0px 6px 6px 0px;
}
@keyframes blink {