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