----- Changes: zsh
+ Added oh-my-zsh custom stuff
This commit is contained in:
parent
24f7803f51
commit
22a6b88e14
12 changed files with 54 additions and 77 deletions
|
@ -17,10 +17,22 @@ cmd open ${{
|
|||
image/*) feh -g 1280x720 --scale-down "$f" &;;
|
||||
video/*) mpv "$f" --quiet > /dev/null & ;;
|
||||
application/pdf) zathura "$f" & ;;
|
||||
*) xdg-open "$f" ;;
|
||||
*) xdg-open "$f" &;;
|
||||
esac
|
||||
}}
|
||||
|
||||
cmd extract ${{
|
||||
case $f in
|
||||
*.bz2) tar -xjvf $f ;;
|
||||
*.gz) tar -xvf $f ;;
|
||||
*.xz) tar -xf $f ;;
|
||||
*.tar) tar -xvf $f ;;
|
||||
*.7z|*.zip) 7z x $f ;;
|
||||
*.rar) unrar x $f ;;
|
||||
*) echo "File type not supported" ;;
|
||||
esac
|
||||
}}
|
||||
|
||||
cmd open_with $[ -z "$1" ] && echo "$f" || $1 "$f"
|
||||
|
||||
cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
|
||||
|
|
|
@ -1,70 +0,0 @@
|
|||
shadow = true;
|
||||
detect-rounded-corners = true;
|
||||
shadow-radius = 5;
|
||||
shadow-offset-x = 1;
|
||||
shadow-offset-y = 1;
|
||||
shadow-opacity = 0.3;
|
||||
shadow-ignore-shaped = false;
|
||||
shadow-exclude = [ "name = 'Notification'", "override_redirect = 1 && !WM_CLASS@:s", "class_g ?= 'Dmenu'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c", "class_g ?= 'i3-frame'", "class_g ?= 'trayer'", "class_g ?= 'tray'", "class_g ?= 'Polybar'", "class_g ?= 'rofi'" ];
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1;
|
||||
alpha-step = 0.01;
|
||||
inactive-dim = 0.0;
|
||||
blur-background = false;
|
||||
blur-kern = "3x3box";
|
||||
fading = false;
|
||||
fade-delta = 1;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
fade-exclude = [ ];
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-client-opacity = true;
|
||||
unredir-if-possible = true;
|
||||
refresh-rate = 60;
|
||||
vsync = true;
|
||||
dbe = false;
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
opacity-rule = [ "99:name *?= 'Call'",
|
||||
"95:name *?= 'Lynx'",
|
||||
"95:name *?= 'toot'",
|
||||
"95:name *?= 'nmon'",
|
||||
"95:name *?= 'httping'",
|
||||
"90:class_g *?= 'conky'",
|
||||
"90:class_g *?= 'thunar'",
|
||||
"100:class_g *?= 'Steam'",
|
||||
"100:class_g *?= 'st' && !_NET_WM_STATE@:32a",
|
||||
"90:class_g *?= 'atom'",
|
||||
"96:class_g *?= 'emacs'",
|
||||
"100:class_g *?= 'polybar' && class_g *?= 'Polybar'",
|
||||
"95:class_g *?= 'surf' && name *?='suckless.org'",
|
||||
"95:class_g *?= 'tabbed'",
|
||||
"95:name *?= 'newsboat'",
|
||||
"100:class_g = 'XTerm' && !_NET_WM_STATE@:32a",
|
||||
"100:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
|
||||
"90:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" ];
|
||||
wintypes :
|
||||
{
|
||||
tooltip :
|
||||
{
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 0.85;
|
||||
focus = true;
|
||||
};
|
||||
fullscreen :
|
||||
{
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 1;
|
||||
focus = true;
|
||||
};
|
||||
};
|
|
@ -106,7 +106,7 @@ font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2"
|
|||
; ----------------------------------------------------------------------------------------
|
||||
modules-left = bspwm dividerS wirednetwork temp covPos covSem dividerS
|
||||
modules-center = date
|
||||
modules-right = dividerS currency disk player-mpris-tail player-mpris mpd volume battery dividerS prompt
|
||||
modules-right = dividerS disk player-mpris-tail player-mpris mpd volume battery dividerS prompt
|
||||
; ----------------------------------------------------------------------------------------
|
||||
|
||||
tray-detached = false
|
||||
|
@ -613,7 +613,7 @@ ramp-foreground = ${colors.secondary1L2}
|
|||
[module/disk]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/disk.sh
|
||||
interval = 30
|
||||
interval = 5
|
||||
tail = true
|
||||
label-font = 3
|
||||
label-foreground = ${colors.foreground}
|
||||
|
|
|
@ -154,4 +154,6 @@ super + alt + g
|
|||
# volume
|
||||
super + alt + control + v
|
||||
sh $HOME/.scripts/volume.sh
|
||||
|
||||
# mount
|
||||
super + {_,shift} Insert
|
||||
{dmenumount,dmenuumount}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue