From 2fc050960655b559030453c4bc53e19dc7ef3769 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 8 May 2015 17:39:27 -0400 Subject: [PATCH 1/1] cleanup delete dunst,i3{,status},pulseaudio-ctl configs --- dunst/.config/dunst/dunstrc | 246 ---------------- i3/.i3/config | 282 ------------------- i3/.local/bin/i3exit | 24 -- i3status/.config/i3status/config | 75 ----- pulseaudio-ctl/.config/pulseaudio-ctl/config | 10 - 5 files changed, 637 deletions(-) delete mode 100644 dunst/.config/dunst/dunstrc delete mode 100644 i3/.i3/config delete mode 100755 i3/.local/bin/i3exit delete mode 100644 i3status/.config/i3status/config delete mode 100644 pulseaudio-ctl/.config/pulseaudio-ctl/config diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc deleted file mode 100644 index ca131a5..0000000 --- a/dunst/.config/dunst/dunstrc +++ /dev/null @@ -1,246 +0,0 @@ -[global] - font = Sauce Code Powerline 9 - - # Allow a small subset of html markup: - # bold - # italic - # strikethrough - # underline - # - # For a complete reference see - # . - # If markup is not allowed, those tags will be stripped out of the - # message. - allow_markup = yes - - # 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 - # Markup is allowed - format = "%s\n%b" - - # Sort messages by urgency. - sort = yes - - # Show how many messages are currently hidden (because of geometry). - indicate_hidden = yes - - # Alignment of message text. - # Possible values are "left", "center" and "right". - alignment = center - - # The frequency with wich text that is longer than the notification - # window allows bounces back and forth. - # This option conflicts with "word_wrap". - # Set to 0 to disable. - bounce_freq = 0 - - # 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 - - # Ignore newlines '\n' in notifications. - ignore_newline = no - - - # 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 respectevly. - # 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 = "x0-0+20" - - # Shrink window if it's smaller than the width. Will be ignored if - # width is 0. - shrink = no - - # The transparency of the window. Range: [0; 100]. - # This option will only work if a compositing windowmanager is - # present (e.g. xcompmgr, compiz, etc.). - transparency = 0 - - # 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. - idle_threshold = 120 - - # 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 windowmanager that exports the - # _NET_ACTIVE_WINDOW property. - # This should be the case for almost all modern windowmanagers. - # - # If this option is set to mouse or keyboard, the monitor option - # will be ignored. - follow = mouse - - # 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 - - # Display indicators for URLs (U) and actions (A). - show_indicators = yes - - # The height of a single line. If the height is smaller than the - # font height, it will get raised to the font height. - # This adds empty space above and under the text. - line_height = 8 - - # Draw a line of "separatpr_height" pixel height between two - # notifications. - # Set to 0 to disable. - separator_height = 0 - - # Padding between text and separator. - padding = 8 - - # Horizontal padding. - horizontal_padding = 0 - - # 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 - - # Print a notification on startup. - # This is mainly for error detection, since dbus (re-)starts dunst - # automatically after a crash. - startup_notification = false - - # dmenu path. - dmenu = /usr/bin/dmenu -p dunst: - - # Browser for opening urls in context menu. - browser = /usr/bin/firefox -new-tab - - # Align icons left/right/off - icon_position = off - - # Paths to default icons. - icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ - -[frame] - width = 0 - color = "#223344" - -[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". - 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 = "#2f2b30" - foreground = "#ddeeff" - timeout = 5 - -[urgency_normal] - background = "#7b59c0" - foreground = "#ddeeff" - timeout = 5 - -[urgency_critical] - background = "#ca402b" - #background = "#cf0f38" - foreground = "#ddeeff" - timeout = 0 - - -# 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 = "" - -#[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 diff --git a/i3/.i3/config b/i3/.i3/config deleted file mode 100644 index a68880f..0000000 --- a/i3/.i3/config +++ /dev/null @@ -1,282 +0,0 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! - -set $mod Mod4 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango:DejaVu Sans Mono 8 -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -set $lime #9FBC00 -set $darklime #505e00 -set $blue #131D24 -set $lightblue #232D34 -set $lightgray #DDEEDD -set $darkgray #444444 -set $white #FFFFFF -set $urgentred #B33A3A - -set $ws1 "1:" -set $ws2 "2:" -set $ws3 "3:" -set $ws4 "4:" - -# set $default_gaps_inner 10 -# set $default_gaps_outer 0 -# gaps inner $default_gaps_inner -# gaps outer $default_gaps_outer -#smart_borders on - -# start a terminal -#bindsym $mod+Return exec i3-sensible-terminal -bindsym $mod+Return exec urxvt - -# kill focused window -bindsym $mod+q kill - -# start dmenu (a program launcher) -bindsym $mod+space exec --no-startup-id dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -# change focus -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+comma split h - -# split in vertical orientation -bindsym $mod+period split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+semicolon focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# focus the child container -bindsym $mod+d focus child - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 -bindsym $mod+7 workspace 7 -bindsym $mod+8 workspace 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 - -bindsym $mod+braceleft workspace prev -bindsym $mod+braceright workspace next - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace number $ws1 -bindsym $mod+Shift+2 move container to workspace number $ws2 -bindsym $mod+Shift+3 move container to workspace number $ws3 -bindsym $mod+Shift+4 move container to workspace number $ws4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 -bindsym $mod+Shift+7 move container to workspace 7 -bindsym $mod+Shift+8 move container to workspace 8 -bindsym $mod+Shift+9 move container to workspace 9 -bindsym $mod+Shift+0 move container to workspace 10 - -bindsym $mod+Shift+braceleft move container to workspace prev -bindsym $mod+Shift+braceright move container to workspace next - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -# bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" - -set $mode_gaps Gaps: (o) outer, (i) inner -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - bindsym Return mode "default" - bindsym Escape mode "default" -} - -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} - -# fix graphics glitch -for_window [class="^.*"] border pixel 0 -for_window [class="(?i)urxvt"] border pixel 3 - -# dialogs -for_window [class="(?i)gsimplecal"] floating enable -for_window [window_role="pop-up"] floating enable -for_window [window_role="task_dialog"] floating enable - -# windows with no border -for_window [class="(?i)firefox"] border none -for_window [class="(?i)thunderbird"] border none -for_window [class="(?i)emacs"] border none - - -# assign certain applications to a specific workspace -assign [class="(?i)firefox"] $ws1 -assign [class="(?i)urxvt"] $ws2 -assign [class="(?i)emacs"] $ws3 - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - status_command i3status - strip_workspace_numbers yes -# height 20 - colors { - statusline $lightgray - background $blue - separator $lime -# BORDER BACKGROUND TEXT - focused_workspace $lightblue $lightblue $lime - inactive_workspace $blue $blue $white - urgent_workspace $urgentred $urgentred $white - } -} - -set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown -mode "$mode_system" { - bindsym l exec --no-startup-id i3exit lock, mode "default" - bindsym e exec --no-startup-id i3exit logout, mode "default" - bindsym r exec --no-startup-id i3exit reboot, mode "default" - bindsym s exec --no-startup-id i3exit shutdown, mode "default" - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+Shift+e mode "$mode_system" - -exec --no-startup-id nm-applet -exec --no-startup-id "pulseaudio --start" - -# Sreen brightness controls -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 # increase screen brightness -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 # decrease screen brightness - -# Keyboard brightness controls -bindsym XF86KbdBrightnessUp exec --no-startup-id kbdlight up # increase screen brightness -bindsym XF86KbdBrightnessDown exec --no-startup-id kbdlight down # decrease screen brightness - -# Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer --allow-boost --increase 5 #increase sound volume -bindsym XF86AudioLowerVolume exec --no-startup-id pamixer --allow-boost --decrease 5 #decrease sound volume -bindsym XF86AudioMute exec --no-startup-id pamixer --toggle-mute # mute sound - -# MPD controls (using mpc) -bindsym XF86AudioPlay exec --no-startup-id mpc toggle -bindsym XF86AudioPrev exec --no-startup-id mpc prev -bindsym XF86AudioNext exec --no-startup-id mpc next diff --git a/i3/.local/bin/i3exit b/i3/.local/bin/i3exit deleted file mode 100755 index 047edbf..0000000 --- a/i3/.local/bin/i3exit +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -lock() { - i3lock-wrapper && sleep 1 -} - -case "$1" in - lock) - lock - ;; - logout) - i3-msg exit - ;; - reboot) - systemctl reboot - ;; - shutdown) - systemctl poweroff - ;; - *) - echo "Usage: $0 {lock|logout|reboot|shutdown}" - exit 2 -esac - -exit 0 diff --git a/i3status/.config/i3status/config b/i3status/.config/i3status/config deleted file mode 100644 index 416632e..0000000 --- a/i3status/.config/i3status/config +++ /dev/null @@ -1,75 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - colors = true - interval = 3 -} - -#order += "ipv6" -order += "disk /" -#order += "run_watch DHCP" -#order += "run_watch VPN" -#order += "wireless wlp3s0" -#order += "ethernet eth0" -order += "battery 0" -order += "volume master" -order += "load" -order += "tztime local" -order += "time" - -wireless wlp3s0 { -# format_up = "W: (%quality at %essid) %ip" - format_up = "W: %ip at %essid" - format_down = "W: down" -} - -ethernet eth0 { - # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" - format_down = "E: down" -} - -battery 0 { -# format = "%status %percentage %remaining" - format = " %percentage" - -} - -run_watch DHCP { - pidfile = "/var/run/dhclient*.pid" -} - -run_watch VPN { - pidfile = "/var/run/vpnc/pid" -} - -tztime local { - format = " %a %b %_d, %Y" -} -time { - format = " %I:%M" -} - -load { - format = " %1min" -} - -disk "/" { - format = " %avail" -} - -volume master { -# format = "♪: %volume" -# format = " %volume" - format = " %volume" - format_muted = " %volume" - device = "pulse" - mixer = "Master" - mixer_idx = 0 -} diff --git a/pulseaudio-ctl/.config/pulseaudio-ctl/config b/pulseaudio-ctl/.config/pulseaudio-ctl/config deleted file mode 100644 index ff2388a..0000000 --- a/pulseaudio-ctl/.config/pulseaudio-ctl/config +++ /dev/null @@ -1,10 +0,0 @@ -# -# $HOME/.config/pulseaudio-ctl/pulseaudio-ctl.conf -# - -# The default setting is for pulseaudio-ctl to NOT increase to volume level -# above 100 % but Some users may wish exceed this level. If this describes -# your use case, uncomment the UPPER_THRESHOLD variable below setting it to -# the new upper threshold. -# -UPPER_THRESHOLD=120 -- 2.20.1