fix
This commit is contained in:
@@ -843,3 +843,4 @@ cursor:
|
||||
|
||||
# Print all received window events.
|
||||
#print_events: false
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# See dunst(5) for all configuration options
|
||||
|
||||
[global]
|
||||
### Display ###
|
||||
### Display ###
|
||||
|
||||
# Which monitor should the notifications be displayed on.
|
||||
monitor = 0
|
||||
@@ -276,10 +276,10 @@
|
||||
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
|
||||
# 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.
|
||||
# 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
|
||||
@@ -287,8 +287,8 @@
|
||||
per_monitor_dpi = false
|
||||
|
||||
|
||||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
# Otherwise the "#" and following would be interpreted as a comment.
|
||||
background = "#222222"
|
||||
foreground = "#888888"
|
||||
@@ -297,23 +297,23 @@
|
||||
# Icon for notifications with low urgency, uncomment to enable
|
||||
#default_icon = /path/to/icon
|
||||
|
||||
[urgency_normal]
|
||||
background = "#161e24"
|
||||
[urgency_normal]
|
||||
background = "#161e24"
|
||||
foreground = "#fefefe"
|
||||
frame_color = "#404242"
|
||||
timeout = 10
|
||||
# Icon for notifications with normal urgency, uncomment to enable
|
||||
#default_icon = /path/to/icon
|
||||
|
||||
[urgency_critical]
|
||||
background = "#900000"
|
||||
[urgency_critical]
|
||||
background = "#900000"
|
||||
foreground = "#f5f5f5"
|
||||
frame_color = "#ff0000"
|
||||
timeout = 0
|
||||
# Icon for notifications with critical urgency, uncomment to enable
|
||||
#default_icon = /path/to/icon
|
||||
|
||||
# Every section that isn't one of the above is interpreted as a rules to
|
||||
# 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
|
||||
|
||||
@@ -1414,7 +1414,7 @@ map kitty_mod+delete clear_terminal reset active
|
||||
#: .. code-block:: sh
|
||||
|
||||
#: scroll-and-clear-screen() {
|
||||
#: printf '\n%.0s' {1..$LINES}
|
||||
#: printf '\n%.0s' {1..$LINES}
|
||||
#: zle clear-screen
|
||||
#: }
|
||||
#: zle -N scroll-and-clear-screen
|
||||
|
||||
@@ -23,4 +23,4 @@ restore_paused "yes"
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "pulse audio"
|
||||
}
|
||||
}
|
||||
@@ -42,7 +42,7 @@ inactive-opacity = 1.0;
|
||||
# and there is also whether there is Focused or Unfocused.
|
||||
#
|
||||
#opacity-rule = [
|
||||
# "95:class_g = 'kitty' && focused",
|
||||
# "95:class_g = 'kitty' && focused",
|
||||
# "75:class_g = 'kitty' && !focused",
|
||||
# "95:class_g = 'Alacritty' && focused",
|
||||
# "75:class_g = 'Alacritty' && !focused"
|
||||
@@ -55,7 +55,7 @@ opacity-rule = [
|
||||
"75:class_g = 'kitty' && !focused",
|
||||
"95:class_g = 'Alacritty' && focused",
|
||||
"75:class_g = 'Alacritty' && !focused"
|
||||
];
|
||||
];
|
||||
|
||||
#################################
|
||||
# Shadows #
|
||||
@@ -108,7 +108,7 @@ shadow-exclude = [
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
];
|
||||
|
||||
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
|
||||
# clip-shadow-above = []
|
||||
@@ -166,7 +166,7 @@ shadow-exclude = [
|
||||
|
||||
# Exclude conditions for rounded corners.
|
||||
#rounded-corners-exclude = [
|
||||
# "window_type = 'dock'",
|
||||
# "window_type = 'dock'",
|
||||
# "window_type = 'desktop'"
|
||||
#];
|
||||
|
||||
@@ -224,7 +224,7 @@ blur-background-exclude = [
|
||||
"window_type = 'splash'",
|
||||
"class_g = 'slop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
];
|
||||
|
||||
#################################
|
||||
# General Settings #
|
||||
@@ -443,4 +443,4 @@ wintypes:
|
||||
dnd = { shadow = false; }
|
||||
popup_menu = { opacity = 1.0; }
|
||||
dropdown_menu = { opacity = 1.0; }
|
||||
};
|
||||
};
|
||||
@@ -3,15 +3,15 @@
|
||||
function send_notification() {
|
||||
brightness=$(printf "%.0f\n" $(brillo -G))
|
||||
dunstify -a "changebrightness" -u low -r 9991 -h int:value:"$brightness" -i "brightness-$1" "Brightness: $brightness%" -t 2000
|
||||
}
|
||||
}
|
||||
|
||||
case $1 in
|
||||
up)
|
||||
brillo -A 5 -q
|
||||
send_notification $1
|
||||
;;
|
||||
down)
|
||||
down)
|
||||
brillo -U 5 -q
|
||||
send_notification $1
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
@@ -19,7 +19,7 @@ Section "Device"
|
||||
Identifier "AMD Graphics"
|
||||
Driver "amdgpu"
|
||||
Option "TearFree" "true"
|
||||
EndSection
|
||||
EndSection
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user