This commit is contained in:
David Aizenberg
2020-04-18 22:28:02 +03:00
parent c06919aca3
commit 60e381cd0f
3 changed files with 38 additions and 23 deletions

View File

@@ -16,22 +16,16 @@ set $super Mod4
# is used in the bar {} block below.
font pango:monospace 8
exec --no-startup-id compton
#exec feh --bg-fill /home/david/Pictures/Wallpapers/ellie_full.jpg
exec_always feh --bg-max /home/david/Pictures/wall.jpg
exec feh --bg-fill /home/david/Pictures/wall.png
exec setxkbmap -layout gb,ru -variant ,winkeys -option grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp,compose:ralt
exec /home/david/.screenlayout/main.sh
# 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
# Force mpv to left-most screen
for_window [class="mpv"] move to workspace 1
# 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
@@ -56,9 +50,6 @@ bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
#bindsym --release Print exec scrot -s ~/Pictures/Screenshots/%b%d::%H%M%S.png
bindsym --release Print exec scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f'
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
@@ -116,8 +107,6 @@ bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
workspace_auto_back_and_forth yes
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
@@ -129,8 +118,6 @@ bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
bindsym $mod+c workspace tg
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
@@ -143,7 +130,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+c move container to workspace tg
# mocp
#bindsym $mod+Shift+j exec "/usr/bin/mocp -G"
@@ -151,10 +137,9 @@ bindsym $mod+p exec "/usr/bin/mocp -G"
bindsym $mod+k exec "/usr/bin/mocp -f"
bindsym $mod+j exec "/usr/bin/mocp -r"
#bindsym $super+l exec i3lock -i /home/david/Pictures/wall.png
bindsym $super+l exec i3lock-fancy & sleep 1 && xset dpms force off
bindsym $super+l exec i3lock -i /home/david/Pictures/wall.png
# reload the configuration file
#bindsym $mod+Shift+c reload
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)
@@ -187,7 +172,20 @@ mode "resize" {
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3blocks -c /home/david/.config/i3blocks.conf </dev/null
status_command i3blocks -c /home/david/.config/i3blocks.conf </dev/null
colors {
separator #928374
background #333333
statusline #AAAAAA
focused_workspace #282828 #282828 #FFFFFF #FFFFFF
active_workspace #1d2021 #1d2021 #928374 #aea79f
inactive_workspace #333333 #333333 #AAAAAA #AAAAAA
urgent_workspace #cc241d #cc241d #ebdbb2 #ffffff
}
}
client.focused #000000 #000000 #FFFFFF #000000
client.focused_inactive #333333 #333333 #FFFFFF #000000
client.unfocused #333333 #333333 #FFFFFF #333333
client.urgent #cc241d #cc241d #ebdbb2 #282828

View File

@@ -4,6 +4,11 @@ command= sh ~/Scripts/docker.sh
color=#0db7ed
interval=10
[balance]
command= sh ~/Scripts/getTransferBal.sh
interval=120
color=#00ff00
[memory]
command= sh ~/Scripts/memory.sh
label=MEM

View File

@@ -172,8 +172,20 @@ mode "resize" {
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
status_command i3blocks -c /home/david/.config/i3blocks.conf </dev/null
colors {
separator #928374
background #333333
statusline #AAAAAA
focused_workspace #282828 #282828 #FFFFFF #FFFFFF
active_workspace #1d2021 #1d2021 #928374 #aea79f
inactive_workspace #333333 #333333 #AAAAAA #AAAAAA
urgent_workspace #cc241d #cc241d #ebdbb2 #ffffff
}
}
client.focused #000000 #000000 #FFFFFF #000000
client.focused_inactive #333333 #333333 #FFFFFF #000000
client.unfocused #333333 #333333 #FFFFFF #333333
client.urgent #cc241d #cc241d #ebdbb2 #282828