summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/dunst/dunstrc119
-rw-r--r--.config/i3blocks/config2
-rwxr-xr-x.local/bin/blocks/calendar (renamed from .local/bin/blocklets/calendar)0
-rwxr-xr-x.local/bin/blocks/cpu (renamed from .local/bin/blocklets/cpu)0
-rwxr-xr-x.local/bin/blocks/gpu (renamed from .local/bin/blocklets/gpu)0
-rwxr-xr-x.local/bin/blocks/memory (renamed from .local/bin/blocklets/memory)0
-rwxr-xr-x.local/bin/blocks/time (renamed from .local/bin/blocklets/time)0
-rwxr-xr-x.local/bin/blocks/volume (renamed from .local/bin/blocklets/volume)0
-rwxr-xr-x.local/bin/color_test41
-rw-r--r--.local/bin/pys/xcolors.py (renamed from .local/bin/py/xcolors.py)0
-rw-r--r--.profile2
-rw-r--r--.xinitrc2
-rw-r--r--.xprofile10
13 files changed, 62 insertions, 114 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
index 3c0a3e4..3337148 100644
--- a/.config/dunst/dunstrc
+++ b/.config/dunst/dunstrc
@@ -1,3 +1,6 @@
+#
+# ~/.config/dunst/dunstrc
+# vim: ft=cfg
[global]
monitor = 0
follow = mouse
@@ -15,27 +18,9 @@
sort = yes
idle_threshold = 120
- ### Text ###
- font = Monospace 10
+ ## Text.
+ font = Monospace 10
line_height = 0
- # 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.
markup = full
# %a appname
# %s summary
@@ -46,7 +31,6 @@
# %n progress value if set without any extra characters
# %% Literal %
format = "<b>%s</b>\n%b"
- # Possible values are "left", "center" and "right".
alignment = left
show_age_threshold = 60
word_wrap = yes
@@ -55,40 +39,30 @@
stack_duplicates = true
hide_duplicate_count = false
show_indicators = yes
-
- ### Icons ###
+
+ ## Icons.
icon_position = off
max_icon_size = 32
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
- ### History ###
- sticky_history = yes
+ ## History.
+ sticky_history = yes
history_length = 20
- ### Misc/Advanced ###
- dmenu = /usr/bin/dmenu -p dunst:
+ ## Misc advanced.
+ dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox -new-tab
always_run_script = true
title = Dunst
class = Dunst
startup_notification = false
- # crit: Critical features. Dunst aborts
- # warn: Only non-fatal warnings
- # mesg: Important Messages
- # info: all unimportant stuff
- # debug: all less than unimportant stuff
verbosity = mesg
corner_radius = 0
- ### Legacy
+ ### Legacy.
force_xinerama = false
- ### mouse
- # * none: Don't do anything.
- # * do_action: If the notification has exactly one action, or one is marked as default,
- # invoke it. If there are multiple and no default, open the context menu.
- # * close_current: Close current notification.
- # * close_all: Close all notifications.
+ ## Mouse.
mouse_left_click = close_current
mouse_middle_click = do_action
mouse_right_click = close_all
@@ -97,41 +71,21 @@
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]
@@ -139,53 +93,8 @@
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 (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
-# timeout
-# urgency
-#
-# 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.
-#
-# 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.
-
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
@@ -256,5 +165,3 @@
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
-#
-# vim: ft=cfg
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index c1daacb..9cacae2 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -1,7 +1,7 @@
# i3blocks config
# Global properties
-command=$HOME/.local/bin/blocklets/$BLOCK_NAME
+command=$HOME/.local/bin/blocks/$BLOCK_NAME
separator=false
separator_block_width=5
markup=pango
diff --git a/.local/bin/blocklets/calendar b/.local/bin/blocks/calendar
index eb8e210..eb8e210 100755
--- a/.local/bin/blocklets/calendar
+++ b/.local/bin/blocks/calendar
diff --git a/.local/bin/blocklets/cpu b/.local/bin/blocks/cpu
index 44c1189..44c1189 100755
--- a/.local/bin/blocklets/cpu
+++ b/.local/bin/blocks/cpu
diff --git a/.local/bin/blocklets/gpu b/.local/bin/blocks/gpu
index e5e460b..e5e460b 100755
--- a/.local/bin/blocklets/gpu
+++ b/.local/bin/blocks/gpu
diff --git a/.local/bin/blocklets/memory b/.local/bin/blocks/memory
index 90eb2c6..90eb2c6 100755
--- a/.local/bin/blocklets/memory
+++ b/.local/bin/blocks/memory
diff --git a/.local/bin/blocklets/time b/.local/bin/blocks/time
index 725fc68..725fc68 100755
--- a/.local/bin/blocklets/time
+++ b/.local/bin/blocks/time
diff --git a/.local/bin/blocklets/volume b/.local/bin/blocks/volume
index ad1b2d1..ad1b2d1 100755
--- a/.local/bin/blocklets/volume
+++ b/.local/bin/blocks/volume
diff --git a/.local/bin/color_test b/.local/bin/color_test
new file mode 100755
index 0000000..e89f24e
--- /dev/null
+++ b/.local/bin/color_test
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# This file echoes a bunch of color codes to the
+# terminal to demonstrate what's available. Each
+# line is the color code of one forground color,
+# out of 17 (default + 16 escapes), followed by a
+# test use of that color on all nine background
+# colors (default + 8 escapes).
+#
+# Author: Giles Orr
+# URL: http://gilesorr.com/bashprompt/howto/c350.html
+# License: GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation;
+# http://gilesorr.com/bashprompt/howto/a1004.html
+
+
+T='gYw' # The test text
+
+echo -e "\n 40m 41m 42m 43m\
+ 44m 45m 46m 47m";
+
+for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
+ '1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
+ ' 36m' '1;36m' ' 37m' '1;37m';
+ do FG=${FGs// /}
+ echo -en " $FGs \033[$FG $T "
+ for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
+ do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
+ done
+ echo;
+done
+echo
+
+echo -e "\e[0mCOLOR_NC (No color)"
+echo -e "\e[1;37mCOLOR_WHITE\t\e[0;30mCOLOR_BLACK"
+echo -e "\e[0;34mCOLOR_BLUE\t\e[1;34mCOLOR_LIGHT_BLUE"
+echo -e "\e[0;32mCOLOR_GREEN\t\e[1;32mCOLOR_LIGHT_GREEN"
+echo -e "\e[0;36mCOLOR_CYAN\t\e[1;36mCOLOR_LIGHT_CYAN"
+echo -e "\e[0;31mCOLOR_RED\t\e[1;31mCOLOR_LIGHT_RED"
+echo -e "\e[0;35mCOLOR_PURPLE\t\e[1;35mCOLOR_LIGHT_PURPLE"
+echo -e "\e[0;33mCOLOR_YELLOW\t\e[1;33mCOLOR_LIGHT_YELLOW"
+echo -e "\e[1;30mCOLOR_GRAY\t\e[0;37mCOLOR_LIGHT_GRAY"
diff --git a/.local/bin/py/xcolors.py b/.local/bin/pys/xcolors.py
index 39010c7..39010c7 100644
--- a/.local/bin/py/xcolors.py
+++ b/.local/bin/pys/xcolors.py
diff --git a/.profile b/.profile
index 064da8e..d98018a 100644
--- a/.profile
+++ b/.profile
@@ -3,7 +3,7 @@
#
##--Environment variables--##
## Modified env vars.
-export PATH="$PATH:$(du -L "$HOME/.local/bin/" | cut -f2 | tr '\n' ';' | sed 's/:*$//')"
+# export PATH="$PATH:$(du -L "$HOME/.local/bin/" | cut -f2 | tr '\n' ';' | sed 's/:*$//')"
## Default program.
export EDITOR="nvim"
diff --git a/.xinitrc b/.xinitrc
index 04c809a..0ddd63d 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -6,4 +6,4 @@
# but since display managers use ~/.xprofile instead,
# .xprofile is sourced to be compatible with both.
-[[ -f ~/.xprofile ]] && . ~/.xprofile
+# [[ -f ~/.xprofile ]] && . ~/.xprofile
diff --git a/.xprofile b/.xprofile
index c805b0d..4aaa84c 100644
--- a/.xprofile
+++ b/.xprofile
@@ -5,8 +5,8 @@
# This is run when a display manager logs in.
# Used as source for ~/.xinitrc.
-picom & # Transparency and stuff.
-dunst & # Notifications.
-nm-applet & # Network manager.
-udiskie & # Drive mounting.
-flameshot & # Screenshots.
+# picom & # Transparency and stuff.
+# dunst & # Notifications.
+# nm-applet & # Network manager.
+# udiskie & # Drive mounting.
+# flameshot & # Screenshots.