This commit is contained in:
Dr. Amr Osman 2019-03-29 17:12:18 +02:00
parent 2f54696cef
commit ef0997163e
4 changed files with 20 additions and 15 deletions

View File

@ -12,7 +12,10 @@
#new_window normal
for_window [class="^.*"] border pixel 3
for_window [class="mpv"] floating enable
for_window [title="^nmtui$"] floating enable
for_window [class="^Pavucontrol$"] floating enable
for_window [title="stfloat"] floating enable
for_window [title="htopfloat"] floating enable
gaps inner 5
gaps outer 5
@ -93,7 +96,7 @@ client.background $black
bar {
#font pango: SFNS Display:style=Regular 10
font pango:Ubuntu 8
font pango:Ubuntu 10
colors {
background $darkblack
statusline $darkwhite
@ -111,7 +114,7 @@ bar {
# #---Basic Bindings---# #
bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec --no-startup-id samedir
bindsym $mod+Shift+Return exec $term -T "stfloat"
# Custom Modes
mode "Leave" {
@ -164,7 +167,7 @@ bindsym $mod+Shift+y exec --no-startup-id i3resize left
#bindsym $mod+u exec --no-startup-id ddspawn tmuxdd
bindsym $mod+Shift+u exec --no-startup-id i3resize down
bindsym $mod+i exec $term -e htop
bindsym $mod+i exec $term -T "htopfloat" -e htop
bindsym $mod+Shift+i exec --no-startup-id i3resize up
bindsym $mod+o sticky toggle

View File

@ -1,5 +1,5 @@
command=~/.scripts/statusbar/$BLOCK_NAME
separator_block_width=15
separator_block_width=10
markup=pango
#[focused window]
@ -39,9 +39,9 @@ label=📬
interval=180
signal=12
[memory]
interval=30
label=🧠
#[memory]
#interval=30
#label=🧠
[cpu]
interval=15
@ -55,10 +55,10 @@ signal=10
interval=once
signal=16
[disk]
interval=60
command=disk /
label=🐧
#[disk]
#interval=60
#command=disk /
#label=🐧
#[disk]
#interval=60
#command=disk /home 🏠
@ -88,5 +88,6 @@ interval=10
[mycloud]
interval=once
signal=17
[help]
interval=once
#[help]
#interval=once

View File

@ -8,3 +8,4 @@ image/png=img.desktop;
image/jpeg=img.desktop;
image/gif=img.desktop;
application/rss+xml=rss.desktop
inode/directory=/home/dr3mro/.local/share/applications/ranger.desktop

View File

@ -1,7 +1,7 @@
#!/bin/sh
date '+%Y %b %d (%a) %I:%M%p'
#date '+%Y %b %d (%a) %I:%M%p'
date '+%I:%M%p'
case $BLOCK_BUTTON in
1) pgrep -x dunst >/dev/null && notify-send "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" && notify-send "$(calcurse -D ~/.config/calcurse -d3)" ;;
2) "$TERMINAL" -e calcurse -D ~/.config/calcurse ;;