diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2018-12-16 19:36:31 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2018-12-16 19:36:31 +0100 |
commit | 5b87fa06c139b91fc3683e8393bccf927307bbd5 (patch) | |
tree | 273eeff6524965df9a7966c897ef6fde740b7531 | |
parent | 7cc4be61b2684d83fefae8a627f920345f0fc01c (diff) | |
download | configs-5b87fa06c139b91fc3683e8393bccf927307bbd5.tar.gz configs-5b87fa06c139b91fc3683e8393bccf927307bbd5.zip |
dom dic 16 19:36:33 CET 2018
-rw-r--r-- | files/i3/config | 28 | ||||
-rw-r--r-- | files/i3blocks/config | 36 | ||||
-rw-r--r-- | files/mpv/input.conf | 209 | ||||
-rw-r--r-- | files/ranger/rc.conf | 3 | ||||
-rw-r--r-- | files/ranger/rifle.conf | 1 | ||||
-rw-r--r-- | files/rcs/.Xresources | 9 | ||||
-rw-r--r-- | files/rcs/.bash_aliases | 2 | ||||
-rw-r--r-- | files/rcs/dunstrc | 327 |
8 files changed, 599 insertions, 16 deletions
diff --git a/files/i3/config b/files/i3/config index 1d04d4e..7b4c92f 100644 --- a/files/i3/config +++ b/files/i3/config @@ -163,13 +163,13 @@ bindsym $mod+Shift+0 move container to workspace $ws10 # class border bg text indicator child_border # client.focused #3F00FF #000000 #FFFFFF #9F9FFF #0000FF -# client.focused_inactive #007FFF #797979 #00FF00 #9F9FFF #00FF00 +# client.focused_inactive #007FFF #797979 #00FF00 #9F9FFF #00FF00 # client.unfocused #7F7F7F #000000 #BFBFBF #FF00FF #7F7F7F #client.focused $blue $black $white2 $blue2 $blue client.focused $black2 $black2 $white2 $magenta2 $blue client.focused_inactive $black2 $black $white $white $white -client.unfocused $black2 $black $white $black2 $black +client.unfocused $black2 $black $blue2 $black2 $black client.urgent $red $black $white $red $red #client.focused $magenta $black $magenta $magenta $magenta @@ -211,18 +211,18 @@ bindsym $mod+plus scratchpad show set $volChange 2 set $bigVolChange 10 #increase sound volume -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +$volChange% -bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +$bigVolChange% +bindsym XF86AudioRaiseVolume exec --no-startup-id ~/scripts/vol.sh +$volChange +bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id ~/scripts/vol.sh +$bigVolChange #decrease sound volume -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -$volChange% -bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -$bigVolChange% +bindsym XF86AudioLowerVolume exec --no-startup-id ~/scripts/vol.sh -$volChange +bindsym $mod+XF86AudioLowerVolume exec --no-startup-id ~/scripts/vol.sh -$bigVolChange #mute sound -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle +bindsym XF86AudioMute exec --no-startup-id ~/scripts/vol.sh mute # Sreen brightness controls set $brightChange 4 -set $bigBrightChange 80 +set $bigBrightChange 60 # increase screen brightness -bindsym XF86MonBrightnessUp exec ~/scripts/brightness.sh $brightChange +bindsym XF86MonBrightnessUp exec ~/scripts/brightness.sh $brightChange bindsym $mod+XF86MonBrightnessUp exec ~/scripts/brightness.sh $bigBrightChange # decrease screen brightness bindsym XF86MonBrightnessDown exec ~/scripts/brightness.sh -$brightChange @@ -232,13 +232,14 @@ bindsym $mod+XF86MonBrightnessDown exec ~/scripts/brightness.sh -$bigBrightChang # Media player controls bindsym XF86AudioPlay exec ~/scripts/cmusPlay.sh -bindsym XF86AudioNext exec cmus-remote -n -bindsym XF86AudioPrev exec cmus-remote -r +bindsym XF86AudioNext exec cmus-remote -n && pkill -SIGRTMIN+12 i3blocks +bindsym XF86AudioPrev exec cmus-remote -r && pkill -SIGRTMIN+12 i3blocks ## Programs bindsym $mod+q exec qutebrowser bindsym $mod+Control+s exec gnome-screenshot +bindsym $mod+Control+a exec gnome-screenshot -a bindsym $mod+r exec urxvt -e ranger bindsym $mod+a exec urxvt -e alsamixer bindsym $mod+n exec urxvt -e newsboat @@ -301,7 +302,7 @@ bindsym $mod+Shift+r mode "resize" # finds out, if available) bar { position top - font pango:monospace 7 + font pango:monospace 8 #font pango:DejaVu Sans Mono 8 #font pango:proggy 8 #font -*-clean-*-*-*-*-12-*-*-*-*-70-*-* @@ -314,7 +315,8 @@ bar { inactive_workspace $black $black2 $white urgent_workspace $black $magenta $white2 } - status_command i3status + #status_command i3status + status_command i3blocks } ### Init diff --git a/files/i3blocks/config b/files/i3blocks/config new file mode 100644 index 0000000..02886e0 --- /dev/null +++ b/files/i3blocks/config @@ -0,0 +1,36 @@ +#separator="|" +markup=pango + +[test] +color=#ffffff +background=#000000 +full_text=<i>>:)</i> + +[music] +color=#a5acff +command=~/scripts/i3blocks/i3music.sh +interval=2 +signal=12 + +[vol] +color=#bceebc +command=~/scripts/i3blocks/i3vol.sh +interval=once +signal=10 + +[brightness] +command=~/scripts/i3blocks/i3brightness.sh +interval=once +signal=11 + +[internet] +command=~/scripts/i3blocks/i3internet.sh +interval=2 + +[battery] +command=~/scripts/i3blocks/i3battery.sh BAT1 +interval=2 + +[date] +command=~/scripts/i3blocks/i3date.sh +interval=1 diff --git a/files/mpv/input.conf b/files/mpv/input.conf new file mode 100644 index 0000000..4ac5f5b --- /dev/null +++ b/files/mpv/input.conf @@ -0,0 +1,209 @@ +# mpv keybindings +# +# Location of user-defined bindings: ~/.config/mpv/input.conf +# +# Lines starting with # are comments. Use SHARP to assign the # key. +# Copy this file and uncomment and edit the bindings you want to change. +# +# List of commands and further details: DOCS/man/input.rst +# List of special keys: --input-keylist +# Keybindings testing mode: mpv --input-test --force-window --idle +# +# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore'). +# +# Strings need to be quoted and escaped: +# KEY show-text "This is a single backslash: \\ and a quote: \" !" +# +# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with +# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal). +# +# The default keybindings are hardcoded into the mpv binary. +# You can disable them completely with: --no-input-default-bindings + +# Developer note: +# On compilation, this file is baked into the mpv binary, and all lines are +# uncommented (unless '#' is followed by a space) - thus this file defines the +# default key bindings. + +# If this is enabled, treat all the following bindings as default. +#default-bindings start + +#MOUSE_BTN0 ignore # don't do anything +#MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off +#MOUSE_BTN2 cycle pause # toggle pause on/off +#MOUSE_BTN3 seek 10 +#MOUSE_BTN4 seek -10 +#MOUSE_BTN5 add volume -2 +#MOUSE_BTN6 add volume 2 + +# Mouse wheels, touchpad or other input devices that have axes +# if the input devices supports precise scrolling it will also scale the +# numeric value accordingly +#AXIS_UP seek 10 +#AXIS_DOWN seek -10 +#AXIS_LEFT seek 5 +#AXIS_RIGHT seek -5 + +## Seek units are in seconds, but note that these are limited by keyframes +#RIGHT seek 5 +#LEFT seek -5 +#UP seek 60 +#DOWN seek -60 +# Do smaller, always exact (non-keyframe-limited), seeks with shift. +# Don't show them on the OSD (no-osd). +#Shift+RIGHT no-osd seek 1 exact +#Shift+LEFT no-osd seek -1 exact +#Shift+UP no-osd seek 5 exact +#Shift+DOWN no-osd seek -5 exact +# Skip to previous/next subtitle (subject to some restrictions; see manpage) +#Ctrl+LEFT no-osd sub-seek -1 +#Ctrl+RIGHT no-osd sub-seek 1 +#PGUP add chapter 1 # skip to next chapter +#PGDWN add chapter -1 # skip to previous chapter +#Shift+PGUP seek 600 +#Shift+PGDWN seek -600 +#[ multiply speed 0.9091 # scale playback speed +#] multiply speed 1.1 +#{ multiply speed 0.5 +#} multiply speed 2.0 +#BS set speed 1.0 # reset speed to normal +#q quit +#Q quit-watch-later +#q {encode} quit 4 +#ESC set fullscreen no +#ESC {encode} quit 4 +#p cycle pause # toggle pause/playback mode +#. frame-step # advance one frame and pause +#, frame-back-step # go back by one frame and pause +#SPACE cycle pause +#> playlist-next # skip to next file +#ENTER playlist-next # skip to next file +#< playlist-prev # skip to previous file +#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode +#o show-progress +#P show-progress +#I show-text "${filename}" # display filename in osd +#z add sub-delay -0.1 # subtract 100 ms delay from subs +#x add sub-delay +0.1 # add +#ctrl++ add audio-delay 0.100 # this changes audio/video sync +#ctrl+- add audio-delay -0.100 +#9 add volume -2 +#/ add volume -2 +#0 add volume 2 +#* add volume 2 +#m cycle mute +#1 add contrast -1 +#2 add contrast 1 +#3 add brightness -1 +#4 add brightness 1 +#5 add gamma -1 +#6 add gamma 1 +#7 add saturation -1 +#8 add saturation 1 +#Alt+0 set window-scale 0.5 +#Alt+1 set window-scale 1.0 +#Alt+2 set window-scale 2.0 +# toggle deinterlacer (automatically inserts or removes required filter) +#d cycle deinterlace +#r add sub-pos -1 # move subtitles up +#t add sub-pos +1 # down +#v cycle sub-visibility +# stretch SSA/ASS subtitles with anamorphic videos to match historical +#V cycle sub-ass-vsfilter-aspect-compat +# switch between applying no style overrides to SSA/ASS subtitles, and +# overriding them almost completely with the normal subtitle style +#u cycle-values sub-ass-style-override "force" "no" +#j cycle sub # cycle through subtitles +#J cycle sub down # ...backwards +#SHARP cycle audio # switch audio streams +#_ cycle video +#T cycle ontop # toggle video window ontop of other windows +#f cycle fullscreen # toggle fullscreen +#s screenshot # take a screenshot +#S screenshot video # ...without subtitles +#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled +#Alt+s screenshot each-frame # automatically screenshot every frame +#w add panscan -0.1 # zoom out with -panscan 0 -fs +#e add panscan +0.1 # in +# cycle video aspect ratios; "-1" is the container aspect +#A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1" +#POWER quit +#PLAY cycle pause +#PAUSE cycle pause +#PLAYPAUSE cycle pause +#STOP quit +#FORWARD seek 60 +#REWIND seek -60 +#NEXT playlist-next +#PREV playlist-prev +#VOLUME_UP add volume 2 +#VOLUME_DOWN add volume -2 +#MUTE cycle mute +#CLOSE_WIN quit +#CLOSE_WIN {encode} quit 4 +#E cycle edition # next edition +#l ab-loop # Set/clear A-B loop points +#L cycle-values loop "inf" "no" # toggle infinite looping +#ctrl+c quit 4 + +# Apple Remote section +#AR_PLAY cycle pause +#AR_PLAY_HOLD quit +#AR_CENTER cycle pause +#AR_CENTER_HOLD quit +#AR_NEXT seek 10 +#AR_NEXT_HOLD seek 120 +#AR_PREV seek -10 +#AR_PREV_HOLD seek -120 +#AR_MENU show-progress +#AR_MENU_HOLD cycle mute +#AR_VUP add volume 2 +#AR_VUP_HOLD add chapter 1 +#AR_VDOWN add volume -2 +#AR_VDOWN_HOLD add chapter -1 + +# For tv:// +#h cycle tv-channel -1 # previous channel +#k cycle tv-channel +1 # next channel + +# For dvb:// +#H cycle dvb-channel-name -1 # previous channel +#K cycle dvb-channel-name +1 # next channel + +# +# Legacy bindings (may or may not be removed in the future) +# +#! add chapter -1 # skip to previous chapter +#@ add chapter 1 # next + +# +# Not assigned by default +# (not an exhaustive list of unbound commands) +# + +# ? add sub-scale +0.1 # increase subtitle font size +# ? add sub-scale -0.1 # decrease subtitle font size +# ? sub-step -1 # immediately display next subtitle +# ? sub-step +1 # previous +# ? cycle angle # switch DVD/Bluray angle +# ? add balance -0.1 # adjust audio balance in favor of left +# ? add balance 0.1 # right +# ? cycle sub-forced-only # toggle DVD forced subs +# ? cycle program # cycle transport stream programs +# ? stop # stop playback (quit or enter idle mode) + +l seek 5 +h seek -5 +j seek -60 +k seek 60 +Shift+l no-osd seek 1 exact +Shift+h no-osd seek -1 exact +Shift+k no-osd seek 5 exact +Shift+j no-osd seek -5 exact +Ctrl+h no-osd sub-seek -1 +Ctrl+l no-osd sub-seek 1 +Alt+j cycle sub +Alt+J cycle sub down +Alt+l ab-loop # Set/clear A-B loop points +Alt+L cycle-values loop "inf" "no" # toggle infinite looping +i show-text "${filename}" # display filename in osd diff --git a/files/ranger/rc.conf b/files/ranger/rc.conf index dc931fe..f85d04a 100644 --- a/files/ranger/rc.conf +++ b/files/ranger/rc.conf @@ -244,6 +244,9 @@ alias travel scout -aefiklst # == Define keys for the browser # =================================================================== +# Custom +map ,w shell /home/inigo/scripts/bgBrowser.sh %d + # Basic map Q quit! map q quit diff --git a/files/ranger/rifle.conf b/files/ranger/rifle.conf index ec87aa9..90afd38 100644 --- a/files/ranger/rifle.conf +++ b/files/ranger/rifle.conf @@ -110,6 +110,7 @@ ext php = php -- "$1" #------------------------------------------- mime ^audio|ogg$, terminal, has mpv = urxvt -title "floating" -geometry "120x4-0-0" -e mpv "$@" & #mime ^audio|ogg$, terminal, has mpv = urxvt -title "floating" -geometry "120x4-0-0" -e mpv --no-audio-display "$@" & +mime ^audio|ogg$, terminal, has mpv = urxvt -e mpv "$@" & #mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@" #mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@" #ext midi?, terminal, has wildmidi = wildmidi -- "$@" diff --git a/files/rcs/.Xresources b/files/rcs/.Xresources index 37996ce..adc5fce 100644 --- a/files/rcs/.Xresources +++ b/files/rcs/.Xresources @@ -9,6 +9,8 @@ !*cursor: #a8a19f !*background: #1b1918 +*.alpha: 120 + ! Light *color0: #000000 *color8: #242424 @@ -23,7 +25,7 @@ *color5: #e45eff *color13: #eb87ff *color6: #00ffff -*color14: #89cff0 +*color14: #b3ffff *color7: #b2ffe5 *color15: #cdfffc @@ -33,12 +35,13 @@ URxvt.foreground: #b2ffe5 URxvt.scrollBar: false URxvt.cursorColor: #b2ffe5 !URxvt.title: urxvt -URxvt.fading: 20 +URxvt.fading: 15 URxvt.transparent: true -URxvt.shading: 15 +URxvt.shading: 10 !URxvt.visualBell: true ! Visual signal when bell character processed URxvt.font: xft:monospace:size=10 +!xft:font-awesome:size=10 ! From https://www.askapache.com/linux/rxvt-xresources/#rxvt-unicode_urxvt !URxvt*font: -xos4-terminus-medium-*-*-*-14-*-*-*-*-*-iso8859-15,xft:terminus:pixelsize:12 diff --git a/files/rcs/.bash_aliases b/files/rcs/.bash_aliases index b5aaa03..3989f8c 100644 --- a/files/rcs/.bash_aliases +++ b/files/rcs/.bash_aliases @@ -9,6 +9,8 @@ alias cba="vim ~/.bash_aliases" alias cx="vim ~/.Xresources" alias ci3="vim ~/.config/i3/config" alias ci3b="vim ~/.i3status.conf" +alias ci3blocks="vim ~/.config/i3blocks/config" +alias cdunst="vim ~/.config/dunst/dunstrc" alias cv="vim ~/.vimrc" alias cqb="vim ~/.config/qutebrowser/config.py" alias cr="vim ~/.config/ranger/rc.conf" diff --git a/files/rcs/dunstrc b/files/rcs/dunstrc new file mode 100644 index 0000000..c65ba77 --- /dev/null +++ b/files/rcs/dunstrc @@ -0,0 +1,327 @@ +[global] + ### Display ### + + # Which monitor should the notifications be displayed on. + monitor = 0 + + # Display notification on focused monitor. Possible modes are: + # mouse: follow mouse pointer + # keyboard: follow window with keyboard focus + # none: don't follow anything + # + # "keyboard" needs a window manager that exports the + # _NET_ACTIVE_WINDOW property. + # This should be the case for almost all modern window managers. + # + # If this option is set to mouse or keyboard, the monitor option + # will be ignored. + follow = keyboard + + # The geometry of the window: + # [{width}]x{height}[+/-{x}+/-{y}] + # The geometry of the message window. + # The height is measured in number of notifications everything else + # in pixels. If the width is omitted but the height is given + # ("-geometry x2"), the message window expands over the whole screen + # (dmenu-like). If width is 0, the window expands to the longest + # message displayed. A positive x is measured from the left, a + # negative from the right side of the screen. Y is measured from + # the top and down respectively. + # The width can be negative. In this case the actual width is the + # screen width minus the width defined in within the geometry option. + geometry = "400x5-25+20" + + # Show how many messages are currently hidden (because of geometry). + indicate_hidden = yes + + # Shrink window if it's smaller than the width. Will be ignored if + # width is 0. + shrink = 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.). + transparency = 0 + + # The height of the entire notification. If the height is smaller + # than the font height and padding combined, it will be raised + # to the font height and padding. + notification_height = 0 + + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + separator_height = 2 + + # Padding between text and separator. + padding = 8 + + # Horizontal padding. + horizontal_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 = "#aaaaaa" + frame_color = "#000000" + + # Define a color for the separator. + # possible values are: + # * auto: dunst tries to find a color fitting to the background; + # * foreground: use the same color as the foreground; + # * frame: use the same color as the frame; + # * anything else will be interpreted as a X color. + separator_color = frame + + # Sort messages by urgency. + sort = yes + + # 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. + # Transient notifications ignore this setting. + idle_threshold = 120 + + ### Text ### + + font = Monospace 8 + + # The spacing between lines. If the height is smaller than the + # font height, it will get raised to the font height. + line_height = 0 + + # Possible values are: + # full: Allow a small subset of html markup in notifications: + # <b>bold</b> + # <i>italic</i> + # <s>strikethrough</s> + # <u>underline</u> + # + # For a complete reference see + # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>. + # + # 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 + + # 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 = "<b>%s</b>\n%b" + + # Alignment of message text. + # Possible values are "left", "center" and "right". + alignment = left + + # Show age of message if message is older than show_age_threshold + # seconds. + # Set to -1 to disable. + show_age_threshold = 60 + + # Split notifications into multiple lines if they don't fit into + # geometry. + word_wrap = yes + + # When word_wrap is set to no, specify where to ellipsize long lines. + # Possible values are "start", "middle" and "end". + ellipsize = middle + + # Ignore newlines '\n' in notifications. + ignore_newline = no + + # Merge multiple notifications with the same content + stack_duplicates = true + + # Hide the count of merged notifications with the same content + hide_duplicate_count = false + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + ### Icons ### + + # Align icons left/right/off + icon_position = right + + # Scale larger icons down to this size, set to 0 to disable + max_icon_size = 32 + + # Paths to default icons. + icon_path = /usr/share/icons/hicolor/16x16/status/:/usr/share/icons/hicolor/16x16/devices/ + + ### 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/firefox -new-tab + + # Always run rule-defined scripts, even if the notification is suppressed + always_run_script = true + + # Define the title of the windows spawned by dunst + title = Dunst + + # Define the class of the windows spawned by dunst + class = Dunst + + # Print a notification on startup. + # This is mainly for error detection, since dbus (re-)starts dunst + # automatically after a crash. + startup_notification = 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 + +# 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 + +[shortcuts] + + # Shortcuts are specified as [modifier+][modifier+]...key + # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", + # "mod3" and "mod4" (windows-key). + # Xev might be helpful to find names for keys. + + # Close notification. + close = ctrl+space + + # Close all notifications. + close_all = ctrl+shift+space + + # Redisplay last message(s). + # On the US keyboard layout "grave" is normally above TAB and left + # of "1". Make sure this key actually exists on your keyboard layout, + # e.g. check output of 'xmodmap -pke' + history = ctrl+grave + + # Context menu. + context = ctrl+shift+period + +[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" + timeout = 10 + # Icon for notifications with low urgency, uncomment to enable + #icon = /path/to/icon + +[urgency_normal] + background = "#285577" + foreground = "#ffffff" + timeout = 10 + # Icon for notifications with normal urgency, uncomment to enable + #icon = /path/to/icon + +[urgency_critical] + background = "#900000" + foreground = "#ffffff" + frame_color = "#ff0000" + timeout = 0 + # Icon for notifications with critical urgency, uncomment to enable + #icon = /path/to/icon + +# 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", "summary", "body", "icon", "category", +# "msg_urgency" and you can override the "timeout", "urgency", "foreground", +# "background", "new_icon" and "format". +# Shell-like globbing will get expanded. +# +# 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: if you don't want a notification to be displayed, set the format +# to "". +# NOTE: It might be helpful to run dunst -print in a terminal in order +# to find fitting options for rules. + +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + +#[script-test] +# summary = "*script*" +# script = dunst_test.sh + +#[ignore] +# # This notification will not be displayed +# summary = "foobar" +# format = "" + +#[history-ignore] +# # This notification will not be saved in history +# summary = "foobar" +# history_ignore = 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 +# +# vim: ft=cfg |