homu (scrot)
nonbirithm Jan 20, 2020 (wms/i3)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | set $mod Mod4
set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
set $ws9 9
set $ws10 10
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+c kill
# start dmenu (a program launcher)
bindsym $mod+r exec dmenu_recent_aliases -fn "artwiz curefixed-8" -sf \#F8F8F8 -sb \#FF6F54
# 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
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
bindsym $mod+shift+q exit
bindsym $mod+shift+r reload
bindsym $mod+ctrl+shift+r restart
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
bindsym $mod+Shift+space floating toggle
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# change position
bindsym $mod+shift+h move left
bindsym $mod+shift+j move down
bindsym $mod+shift+k move up
bindsym $mod+shift+l move right
# layout
bindsym $mod+q layout splith
bindsym $mod+w layout splitv
bindsym $mod+e layout default
bindsym $mod+v split vertical
bindsym $mod+o split horizontal
bindsym $mod+p split toggle
bindsym $mod+g gaps inner all set 0
bindsym $mod+shift+g gaps inner all set $default_gaps_inner
bindsym $mod+f fullscreen toggle
bindsym $mod+i exec surf google.com
bindsym $mod+s exec scrot -e 'mv $f "/home/hiro/Pictures/scrots"'
bindsym $mod+z exec mouse-switchscreen
bindsym $mod+b exec urxvt-browser
bindsym XF86AudioLowerVolume exec amixer set Master 5%- && pkill -SIGRTMIN+10 i3blocks
bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ && pkill -SIGRTMIN+10 i3blocks
bindsym XF86AudioMute exec amixer sset Master toggle && pkill -SIGRTMIN+10 i3blocks
# alternatively, you can use the cursor keys:
bindsym $mod+Alt_R focus left
bindsym $mod+Super_R focus down
bindsym $mod+Print focus up
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
bindsym XF86TouchpadToggle exec bash /usr/local/bin/touchpad_toggle.sh
set $background #e0eaf9
# class border backgr. text indicator child_border
client.focused #271f17 #271f17 #AAAAAA #AAAAAA #C93F2C
client.focused_inactive #21211d #1d2121 #a1a1a1 #484e50 #1d2121
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #4a4b4c #4a4b4c #AAAAAA #AAAAAA #4a4c4b
client.placeholder #000000 #0c0c0c #AAAAAA #000000 #0c0c0c
client.background #111111
# Borders
new_window pixel 4
new_float pixel 4
focus_follows_mouse no
# Gaps
set $default_gaps_inner 32
set $default_gaps_outer 0
gaps inner $default_gaps_inner
gaps outer $default_gaps_outer
smart_borders on
new_window normal
popup_during_fullscreen ignore
for_window [class="^.*"] border pixel 1
for_window [title="urxvt-browser"] fullscreen enable
for_window [class="mpv"] fullscreen enable
for_window [title="Android Emulator"] floating enable
for_window [title="ElonaFoobar*"] floating enable
for_window [title="ElonaFoobar*"] border pixel 0
for_window [class="mpv"] border pixel 0
for_window [class="chromium"] border pixel 0
for_window [class="chromium"] move window to workspace $ws2
for_window [class="emacs"] move window to workspace $ws1
for_window [class="gimp"] move window to workspace $ws5
for_window [class="freerdp"] move window to workspace $ws9
for_window [class="Firefox"] move window to workspace $ws3
for_window [class="firefoxdeveloperedition"] move window to workspace $ws3
for_window [title="urxvt-browser"] move window to workspace $ws10
for_window [window_role="browser|GtkFileChooserDialog"] resize set 800 600, move position center
bar {
font pango:artwiz cure 8
tray_output primary
status_command i3blocks
i3bar_command i3bar -t
position bottom
separator_symbol "|"
strip_workspace_numbers yes
# Color panel
colors {
background #303030
statusline #d0e1d4
separator #c1d0c1
# border backgr text
focused_workspace #FF6F54 #FF6F54 #FFF2CE
inactive_workspace #64635f #64635f #a7afa9
urgent_workspace #2e394a #2e394a #e7dfd9
}
}
exec --no-startup-id feh --bg-fill /home/hiro/Pictures/mybg2.png
# Local Variables:
# eval: (rainbow-mode 1)
# End:
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | # i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=/usr/lib/i3blocks/$BLOCK_NAME/$BLOCK_NAME
separator_block_width=10
markup=none
# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
[volume]
label=
#label=♪
instance=Master
#instance=PCM
interval=once
signal=10
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=
separator=true
interval=30
[memory]
label=
instance=swap
separator=true
interval=30
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=
#instance=/mnt/data
interval=30
# Network interface monitoring
#
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
#[iface]
#instance=wlan0
#color=#00FF00
#interval=10
#separator=true
[wifi]
instance=wlp3s0
label=
interval=10
separator=true
[bandwidth]
#instance=wlp3s0
label=
command=$SCRIPT_DIR/bandwidth2 -w 307200:30720 -c 512000:51200
interval=persist
markup=pango
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=
interval=1
#min_width=100.00%
separator=true
# Temperature
#
# Support multiple chips, though lm-sensors.
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[temperature]
label=
interval=10
#[load_average]
#interval=10
# Battery indicator
#
# The battery instance defaults to 0.
[battery]
label=
#label=⚡
#instance=1
interval=30
# Date Time
#
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=1
# Generic media player support
#
# This displays "ARTIST - SONG" if a music is playing.
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
#[mediaplayer]
#instance=spotify
#interval=5
#signal=10
# OpenVPN support
#
# Support multiple VPN, with colors.
#[openvpn]
#interval=20
# Key indicators
#
# Add the following bindings to i3 config file:
#
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
#[keyindicator]
#instance=CAPS
#interval=once
#signal=11
#[keyindicator]
#instance=NUM
#interval=once
#signal=11
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'black',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = true,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'override',
own_window_transparent = true,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
minimum_height = 768,
border_inner_margin = 100,
border_outer_margin = 100,
}
conky.text = [[
${offset 35}${voffset 455}${font Helvetica:pixelsize=74:bold}${offset 0}${time %d %A %Y}.${font}
${offset 35}${voffset 25}${color F8F8F8}${font Helvetica:pixelsize=150:bold}${time %H:%M}${font}
]]
|
x
Notes
Github: https://github.com/Ruin0x11/dotfiles/tree/slack (includes wallpaper)