Script notif Redshift
This commit is contained in:
parent
5004c798d7
commit
7da41c7f18
7 changed files with 19 additions and 8 deletions
|
@ -39,7 +39,7 @@ ${color 6699CC}$alignc${font xos4 Terminus:pixelsize=18}${time %A %d %B %Y}$font
|
||||||
|
|
||||||
${color2}${font2}Mémoire $hr$font$color
|
${color2}${font2}Mémoire $hr$font$color
|
||||||
${memgraph}
|
${memgraph}
|
||||||
${goto 140}${color 747369}${memwithbuffersbar}${color}${voffset -11}
|
${goto 140}${color 747369}${memwithbuffersbar}${color}${voffset -12}
|
||||||
RAM : $memperc%${goto 140}${if_match $memperc>85}${color F2777A}$else${if_match $memperc>70}${color FFCC66}$else${color 99CC99}$endif$endif${membar}$color
|
RAM : $memperc%${goto 140}${if_match $memperc>85}${color F2777A}$else${if_match $memperc>70}${color FFCC66}$else${color 99CC99}$endif$endif${membar}$color
|
||||||
Util.: ${mem}${goto 140}Dispo.: ${memeasyfree}
|
Util.: ${mem}${goto 140}Dispo.: ${memeasyfree}
|
||||||
Cache: ${cached}${goto 140}Libre : ${memfree}
|
Cache: ${cached}${goto 140}Libre : ${memfree}
|
||||||
|
|
|
@ -224,7 +224,7 @@
|
||||||
# Scale small icons up to this size, set to 0 to disable. Helpful
|
# 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,
|
# for e.g. small files or high-dpi screens. In case of conflict,
|
||||||
# max_icon_size takes precedence over this.
|
# max_icon_size takes precedence over this.
|
||||||
min_icon_size = 32
|
min_icon_size = 16
|
||||||
|
|
||||||
# Scale larger icons down to this size, set to 0 to disable
|
# Scale larger icons down to this size, set to 0 to disable
|
||||||
max_icon_size = 32
|
max_icon_size = 32
|
||||||
|
|
|
@ -68,7 +68,10 @@ bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start program launcher
|
# start program launcher
|
||||||
# bindsym $mod+d exec --no-startup-id dmenu_recent -f -nb '#2d2d2d' -nf '#747369' -sb '#6699cc' -sf '#2d2d2d' -p 'execute' -fn 'xos4 Terminus'
|
# bindsym $mod+d exec --no-startup-id dmenu_recent -f -nb '#2d2d2d' -nf '#747369' -sb '#6699cc' -sf '#2d2d2d' -p 'execute' -fn 'xos4 Terminus'
|
||||||
bindcode $mod+40 exec --no-startup-id dmenu_recent
|
# bepo & azerty
|
||||||
|
# bindcode $mod+40 exec --no-startup-id dmenu_recent
|
||||||
|
# Ergo-L & bépo
|
||||||
|
bindsym $mod+d exec --no-startup-id dmenu_recent
|
||||||
|
|
||||||
# launch desktop menu
|
# launch desktop menu
|
||||||
bindsym $mod+z exec --no-startup-id i3-dmenu-desktop --dmenu='dmenu -p "Launch:"'
|
bindsym $mod+z exec --no-startup-id i3-dmenu-desktop --dmenu='dmenu -p "Launch:"'
|
||||||
|
|
|
@ -155,9 +155,12 @@ color=
|
||||||
# This does not affect any text, which is always rendered fully opaque. Defaults:
|
# This does not affect any text, which is always rendered fully opaque. Defaults:
|
||||||
# timeline=0.9,position=1,chapters=0.8,slider=0.9,slider_gauge=1,controls=0,speed=0.6,menu=1,submenu=0.4,border=1,title=1,tooltip=1,thumbnail=1,curtain=0.8,idle_indicator=0.8,audio_indicator=0.5,buffering_indicator=0.3,playlist_position=0.8
|
# timeline=0.9,position=1,chapters=0.8,slider=0.9,slider_gauge=1,controls=0,speed=0.6,menu=1,submenu=0.4,border=1,title=1,tooltip=1,thumbnail=1,curtain=0.8,idle_indicator=0.8,audio_indicator=0.5,buffering_indicator=0.3,playlist_position=0.8
|
||||||
opacity=
|
opacity=
|
||||||
# Use a faster estimation method instead of accurate measurement
|
# A comma delimited list of features to refine at a cost of some performance impact.
|
||||||
# setting this to `no` might have a noticeable impact on performance, especially in large menus.
|
# text_width - Use a more accurate text width measurement that measures each text string individually
|
||||||
text_width_estimation=yes
|
# instead of just measuring the width of known letters once and adding them up.
|
||||||
|
# sorting - Use filename sorting that handles non-english languages better, especially asian ones.
|
||||||
|
# At the moment, this is only available on windows, and has no effect on other platforms.
|
||||||
|
refine=
|
||||||
# Duration of animations in milliseconds
|
# Duration of animations in milliseconds
|
||||||
animation_duration=100
|
animation_duration=100
|
||||||
# Execute command for background clicks shorter than this number of milliseconds, 0 to disable
|
# Execute command for background clicks shorter than this number of milliseconds, 0 to disable
|
||||||
|
@ -218,6 +221,7 @@ chapter_ranges=openings:30abf964,endings:30abf964,ads:c54e4e80
|
||||||
chapter_range_patterns=openings:オープニング;endings:エンディング
|
chapter_range_patterns=openings:オープニング;endings:エンディング
|
||||||
|
|
||||||
# Localization language priority from highest to lowest.
|
# Localization language priority from highest to lowest.
|
||||||
|
# Also controls what languages are fetched by `download-subtitles` menu.
|
||||||
# Built in languages can be found in `uosc/intl`.
|
# Built in languages can be found in `uosc/intl`.
|
||||||
# `slang` is a keyword to inherit values from `--slang` mpv config.
|
# `slang` is a keyword to inherit values from `--slang` mpv config.
|
||||||
# Supports paths to custom json files: `languages=~~/custom.json,slang,en`
|
# Supports paths to custom json files: `languages=~~/custom.json,slang,en`
|
||||||
|
|
|
@ -356,7 +356,7 @@ playlist_shorten_total_times = yes
|
||||||
#
|
#
|
||||||
#seek_time = 1
|
#seek_time = 1
|
||||||
#
|
#
|
||||||
#volume_change_step = 2
|
volume_change_step = 1
|
||||||
#
|
#
|
||||||
autocenter_mode = yes
|
autocenter_mode = yes
|
||||||
#
|
#
|
||||||
|
|
|
@ -35,6 +35,7 @@ displaylastupdated = yes
|
||||||
groupbyrepository = yes
|
groupbyrepository = yes
|
||||||
reversesearchsorting = yes
|
reversesearchsorting = yes
|
||||||
warnaboutpackageupdates =
|
warnaboutpackageupdates =
|
||||||
|
warnaboutnondefaultprivilegeescalationtool = yes
|
||||||
|
|
||||||
[misc]
|
[misc]
|
||||||
pacmanpath = pacman
|
pacmanpath = pacman
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[[ "$3" == "none" ]] && status=off || status=on
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
period-changed)
|
period-changed)
|
||||||
exec dunstify -i redshift -u low -r 6903 "Redshift" "Period changed to $3"
|
exec dunstify -i "redshift-status-${status}" -u low -r 6903 "Redshift" "Period changed to $3"
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue