From: ds6 Date: Sat, 3 Feb 2018 06:36:06 +0000 (-0600) Subject: remove tint2 battery alert, zsh dotfiles vcs check X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/fdff3888817f385106d215002c76cbcfe089bf5f?hp=ed1770755a75601a875f9b7ab2bb655782663273 remove tint2 battery alert, zsh dotfiles vcs check alert didn't work anyway, going to implement it in software anyway or at least write a daemon for it. dotfiles now checks if a file is changed for my sanity. --- diff --git a/base/.zshrc b/base/.zshrc index bb1fedf..52e3c7e 100644 --- a/base/.zshrc +++ b/base/.zshrc @@ -35,20 +35,21 @@ alias h="history -25" alias j="jobs -l" alias l="ls -AF" alias ll="ls -lAFho" +# ps local p="ps -aSdxwwouser=USR -ogroup=GRP -opid,nice=N \ -o%cpu,%mem,tt,stat,start=START -oetime,command | ${PAGER:-more} -Se" alias pa="$p" alias spa="sudo $p" unset p +# sound source function s { sysctl hw.snd.default_unit${1:+=$1} } +# py venv alias va="source bin/activate" alias vd="deactivate" - # be paranoid alias cp='cp -ip' alias mv='mv -i' alias rm='rm -I' - # ports function portpkg { case "$1" { @@ -79,6 +80,7 @@ zstyle ':vcs_info:git*' formats "%c%u%%F{green}%r/%b%%f/%%F{yellow}%S%%f" zstyle ':vcs_info:git*' actionformats "%%F{red}(%a)%%f %c%u%%F{green}%r/%b%%f/\ %%F{yellow}%S%%f" #zstyle ':vcs_info:git*' check-for-changes true #too slow +zstyle ':vcs_info:git*:.dotfiles' check-for-changes true zstyle ':vcs_info:git*' check-for-staged-changes true zstyle ':vcs_info:git*' stagedstr "%F{blue}+" zstyle ':vcs_info:git*' unstagedstr "%F{red}*" diff --git a/xdg/tint2/tint2rc b/xdg/tint2/tint2rc index 8625e9e..081c965 100644 --- a/xdg/tint2/tint2rc +++ b/xdg/tint2/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf 6694 ---- +#---- Generated by tint2conf 457d ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- @@ -176,14 +176,14 @@ clock_dwheel_command = #------------------------------------- # Battery battery_tooltip = 1 -battery_low_status = 5 -battery_low_cmd = notify-send -u critical "Battery low" +battery_low_status = 0 +battery_low_cmd = battery_full_cmd = bat1_font = Dina 8 bat2_font = Dina 6 battery_font_color = #93a1a1 100 -bat1_format = -bat2_format = +bat1_format = %p +bat2_format = %t battery_padding = 0 0 battery_background_id = 0 battery_hide = 101 diff --git a/xdg/volumeicon/volumeicon b/xdg/volumeicon/volumeicon index 812f5b0..a5bd428 100644 --- a/xdg/volumeicon/volumeicon +++ b/xdg/volumeicon/volumeicon @@ -1,12 +1,20 @@ +[Alsa] +card=default + +[Notification] +show_notification=false +notification_type=0 + [StatusIcon] stepsize=5 +onclick=~/bin/xmixer +theme=Default +use_panel_specific_icons=false lmb_slider=true mmb_mute=true use_horizontal_slider=true show_sound_level=true use_transparent_background=false -onclick=~/bin/xmixer -theme=Default [Hotkeys] up_enabled=true @@ -15,6 +23,3 @@ mute_enabled=false up=XF86AudioRaiseVolume down=XF86AudioLowerVolume mute=XF86AudioMute - -[Alsa] -card=default