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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 | # Please see http://i4wm.org/docs/userguide.html for a complete reference!
#
set_from_resource $darkred color1 #000000
set_from_resource $red color9 #000000
set_from_resource $darkgreen color2 #000000
set_from_resource $green color10 #000000
set_from_resource $darkyellow color3 #000000
set_from_resource $yellow color11 #000000
set_from_resource $darkblue color4 #000000
set_from_resource $blue color12 #000000
set_from_resource $darkmagenta color5 #000000
set_from_resource $magenta color13 #000000
set_from_resource $darkcyan color6 #000000
set_from_resource $cyan color14 #000000
set_from_resource $darkwhite color7 #000000
set_from_resource $white color15 #000000
# Use custom colors for black
set $black #282828
set $darkblack #1d2021
set $transparent #00000000
set $mod Mod4
set $terminal termite
# bindsym F1 exec ~/bin/dmenu
# 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
# 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
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec $terminal
bindsym $mod+x exec $terminal
# kill focused window
bindsym $mod+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id rofi -show run -font "FontAwesome 12" -m -1
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
# bindsym $mod+l focus up
bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
#bindsym $mod+w layout tabbed
bindsym $mod+t layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# Workspace Variables
set $ws1 "1: Desktop "
set $ws2 "2: Web "
set $ws3 "3: Learn "
set $ws4 "4: Thunar "
set $ws5 "5: Virtual "
set $ws6 "6: Spotify "
set $ws7 "7: Tor "
# switch to workspace
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 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
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 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
# reload the configuration file
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)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Custom bind keys
#bindsym $mod+l exec i3lock
#
bindsym $mod+l exec i3lock -i ~/Pictures/cube.png
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# Pulse Audio controls
# run pactl list sinks
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle # mute sound
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 # decrease screen brightness
# Touchpad controls
bindsym XF86TouchpadToggle exec ~/.toggletouchpad.sh # toggle touchpad
# Mpd keys
# bindsym F9 exec mpc stop
# bindsym F10 exec mpc toggle
# bindsym F11 exec mpc prev
# bindsym F12 exec mpc next
# multimedia keys
bindsym XF86AudioPlay exec "mpc toggle"
bindsym XF86AudioStop exec "mpc stop"
bindsym XF86AudioNext exec "mpc next"
bindsym XF86AudioPrev exec "mpc prev"
bindsym XF86AudioPause exec "mpc pause"
# i3blocks
bar {
status_command i3blocks
position top
font pango:Hack, FontAwesome 10
separator_symbol " "
#strip_workspace_numbers yes
colors {
#separator #268bd2
#background #002b36
#statusline #839496
#focused_workspace #fdf6e3 #6c71c4 #fdf6e3
#active_workspace #fdf6e3 #6c71c4 #fdf6e3
#inactive_workspace #002b36 #586e75 #002b36
#urgent_workspace #d33682 #d33682 #fdf6e3
statusline $white
background $transparent
separator $transparent
}
}
#client.focused #6c71c4 #6c71c4 #fdf6e3 #6c71c4
#client.focused_inactive #073642 #073642 #eee8d5 #6c71c4
#client.unfocused #073642 #073642 #93a1a1 #586e75
#client.urgent #d33682 #d33682 #fdf6e3 #dc322f
set $m1 #fdf6e3
set $m2 #303030
#BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
client.focused $black $black $m1 $darkblack $darkblack
client.unfocused $black $black $white $darkblack $darkblack
client.focused_inactive $black $black $white $darkblack $darkblack
client.urgent $darkred $darkred $black $darkred $darkred
client.background $black
# Startup programs
exec --no-startup-id dunst &
exec_always feh --bg-scale ~/Pictures/wallpaper2.png
# bindsym $mod+j exec --no-startup-id feh --bg-fill "$(find /home/afeld/Bilder/Wallpaper/ | shuf -n1)" &
#
#exec_always --no-startup-id nm-applet
# Transparent background
exec_always compton
# Atostart media players
exec --no-startup-id mpd
exec --no-startup-id conky
#exec --no-startup-id termite -name ncmpcpp -e ncmpcpp -s playlist
exec_always --no-startup-id dropbox
# Bind App to workspace
# Check class by : xprop
assign [class="chromium"] $ws2
assign [class="Atom"] $ws3
assign [class="Foxit Reader"] $ws3
assign [class="Thunar"] $ws4
assign [class="Virt-manager"] $ws5
assign [class="Cherrytree"] $ws3
assign [class="mtp-ng-qt"] $ws4
assign [class="Spotify"] $ws6
assign [class="qBittorrent"] $ws7
# assign [class="Termite" instance="ncmpcpp"] $ws6
#
# Custom Keybinds
bindsym $mod+c exec chromium
# Press $mod+o followed by either f, t, Esc or Return to launch firefox,
# thunderbird or return to the default mode, respectively.
set $mode_launcher Launcher
bindsym $mod+o mode "$mode_launcher"
mode "$mode_launcher" {
bindsym f exec foxitreader
bindsym l exec lxappearance
bindsym a exec atom
bindsym t exec thunar
bindsym v exec virt-manager
bindsym c exec cherrytree
bindsym s exec spotify
bindsym d exec deepin-screenshot
bindsym m exec android-file-transfer
bindsym q exec qbittorrent
bindsym Esc mode "default"
bindsym Return mode "default"
}
# Shutdown, Reboot, Lock Screen, and Logout
set $power_mode "power"
bindsym $mod+Shift+q mode $power_mode
mode $power_mode {
bindsym p exec systemctl poweroff
bindsym r exec systemctl reboot
bindsym l exec i3lock -i ~/Pictures/cube.png , mode "default"
bindsym q exec --no-startup-id i3-msg exit, mode "default"
bindsym h exec systemctl hibernate
bindsym s exec systemctl hybrid-sleep
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Enable browser pop-ups
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_role="Open Files"] floating enable
for_window [class="qBittorrent" window_role="pop-up"] floating enable
for_window [class="mtp-ng-qt" window_role="Open"] floating enable
# for_window [class="mpv"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
# Rename workspace with i3-input using numbers and text
bindsym $mod+n exec i3-input -F 'rename workspace to "%s"' -P 'New name for this workspace: '
for_window [class="Chromium" instance="Chromium"] border none
# screenshot
bindsym --release Print exec --no-startup-id "maim -p 0 -c 0.96,0.5,0.09 $HOME/Pictures/screenshot-$(date +%Y-%m-%d_%H-%M-%S).png"
bindsym --release Shift+Print exec --no-startup-id "maim -s -p 0 -c 0.96,0.5,0.09 $HOME/Pictures/screenshot-$(date +%Y-%m-%d_%H-%M-%S).png"
|
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 | # 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
separator=false
separator_block_width= 10
#separator_block_width=15
#
#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=VOL
#label=♪
#instance=Master
#instance=PCM
#interval=once
#signal=10
[mediaplayer]
label=♪
interval=1
signal=10
color=#50C878
# url https://raw.githubusercontent.com/vivien/i3blocks-contrib/master/mediaplayer/mediaplayer
# Memory usage
[memory]
label=
separator=false
interval=1
color=#1793D1
# Disk usage
[disk-root]
label=:
command=/usr/lib/i3blocks/disk /
interval=30
color=#1793D1
#color=#cc241d
[disk-home]
label=:
command=/usr/lib/i3blocks/disk $HOME
interval=30
color=#859900
# 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=1
separator=false
label=
[wireless]
#label=
#command=echo "$(iw dev wlo1 link | grep SSID | cut -d " " -f 2-)"
label=
command=[[ -z "$(iwgetid -r)" ]] || echo "$(iwgetid -r) "
#color=#d33682
color=#98971a
interval=2
[cpu_usage]
label=
interval=10
color=#00FF00
[brightness]
label=
#label=
command= printf "%.0f " $(xbacklight -get)
interval=1
signal=2
color=#d79921
# Battery indicator
#[battery]
#label=⚡
#interval=1
#color=#d15517
#color=#458588
[battery]
command=~/.config/i3/battery.py
markup=pango
interval=30
color=#458588
[volume]
label=
command=/usr/lib/i3blocks/volume
instance=Master
interval=1
instance=Master
signal=10
#color=#d70a53
color=#cc241d
# Date Time
[time]
label=
#command=date '+%a %Y-%m-%d %l:%M:%S %p'
command=date '+%a %Y-%m-%d %R:%S'
interval=1
#color=#50C878
color=#928374
separator_block_width=0
|
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 | [options]
resize_grip = false
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
visible_bell = false
mouse_autohide = false
allow_bold = false
allow_bold = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
#font = berry 9
scrollback_lines = 1000
search_wrap = true
geometry = 400x240
# "system", "on" or "off"
cursor_blink = off
# "block", "underline" or "ibeam"
cursor_shape = block
# $BROWSER is used by default
browser = chromium
# set size hints for the window
size_hints = false
[colors]
#background = #282828
#foreground = #ebdbb2
#color0 = #282828
#color8 = #928374
#color1 = #cc241d
#color9 = #fb4934
#color2 = #98971a
#color10 = #b8bb26
#color3 = #d79921
#color11 = #fabd2f
#color4 = #458588
#color12 = #83a598
#color5 = #b16286
#color13 = #d3869b
#color6 = #689d6a
#color14 = #8ec07c
#color7 = #a89984
#color15 = #ebdbb2
# Gotham color scheme
foreground_bold = #d1d4e0
cursor = #d1d4e0
background = #101218
# 16 color space
color0 = #101218
color1 = #ee829f
color2 = #a5ffe1
color3 = #ffefcc
color4 = #97bbf7
color5 = #c0b7f9
color6 = #97e0ff
color7 = #d1d4e0
color8 = #7780a1
color9 = #ee829f
color10 = #a5ffe1
color11 = #ffefcc
color12 = #97bbf7
color13 = #c0b7f9
color14 = #97e0ff
color15 = #ffffff
# 256 color space
color16 = #f99170
color17 = #fcc09e
color18 = #1f222d
color19 = #252936
color20 = #C0C5CE
color21 = #C9CCDB
|
x
1 2 3 4 5 6 7 8 | ! ------------------------------------------------------------------------------
! ROFI Color theme
! ------------------------------------------------------------------------------
rofi.color-enabled: true
rofi.color-window: #002b37, #002b37, #003642
rofi.color-normal: #002b37, #819396, #003643, #008ed4, #ffffff
rofi.color-active: #002b37, #008ed4, #003643, #008ed4, #66c6ff
rofi.color-urgent: #002b37, #da4281, #003643, #008ed4, #890661
|
x
Notes
My Arch i3 environment
WM: i3
Terminal: Termite
Status: i3blocks
Search: rofi
dunst
mpv
ncmpcpp & mpd
Check my github for more:
https://github.com/NerdJK23/dotfiles