dark green (scrot) (+2 likes)
paranoid73 Apr 27, 2017 (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 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 | # i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
# 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
# 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
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.
# use these keys for focus, movement, and resize directions when reaching for
# the arrows is not convenient
set $up o
set $down l
set $left k
set $right m
# use Mouse+Mod4 to drag floating windows to their wanted position
floating_modifier Mod4
# start a terminal
bindsym Mod4+Return exec i3-sensible-terminal
# kill focused window
bindsym Mod4+Shift+q kill
# start dmenu (a program launcher)
#bindsym Mod4+d exec dmenu_run
#start rofi
bindsym Mod4+p exec rofi -show run
# 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 Mod4+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym Mod4+$left focus left
bindsym Mod4+$down focus down
bindsym Mod4+$up focus up
bindsym Mod4+$right focus right
# alternatively, you can use the cursor keys:
bindsym Mod4+Left focus left
bindsym Mod4+Down focus down
bindsym Mod4+Up focus up
bindsym Mod4+Right focus right
# move focused window
bindsym Mod4+Shift+$left move left
bindsym Mod4+Shift+$down move down
bindsym Mod4+Shift+$up move up
bindsym Mod4+Shift+$right move right
# alternatively, you can use the cursor keys:
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+Right move right
# split in horizontal orientation
bindsym Mod4+h split h
# split in vertical orientation
bindsym Mod4+v split v
# enter fullscreen mode for the focused container
bindsym Mod4+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym Mod4+s layout stacking
bindsym Mod4+w layout tabbed
bindsym Mod4+e layout toggle split
# toggle tiling / floating
bindsym Mod4+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym Mod4+space focus mode_toggle
# focus the parent container
bindsym Mod4+a focus parent
# focus the child container
#bindsym Mod4+d focus child
# move the currently focused window to the scratchpad
bindsym Mod4+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym Mod4+minus scratchpad show
# media keys
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +1%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -1%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 # decrease screen brightness
# multimedia keys
bindsym XF86AudioPlay exec "mpc toggle"
bindsym XF86AudioStop exec "mpc stop"
bindsym XF86AudioNext exec "mpc next"
bindsym XF86AudioPrev exec "mpc prev"
#custom keybinds
#screenshot
bindsym Print exec scrot '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/Screenshots/'
# workspace names
set $WS1 I
set $WS2 II
set $WS3 III
set $WS4 IV
set $WS5 V
set $WS6 VI
set $WS7 VII
set $WS8 VIII
set $WS9 IX
set $WS10 X
# switch to workspace
bindsym Mod4+1 workspace $ws1
bindsym Mod4+2 workspace $ws2
bindsym Mod4+3 workspace $ws3
bindsym Mod4+4 workspace $ws4
bindsym Mod4+5 workspace $ws5
bindsym Mod4+6 workspace $ws6
bindsym Mod4+7 workspace $ws7
bindsym Mod4+8 workspace $WS8
bindsym Mod4+9 workspace $WS9
bindsym Mod4+0 workspace $WS10
# move focused container to workspace
bindsym Mod4+Shift+1 move container to workspace $ws1
bindsym Mod4+Shift+2 move container to workspace $ws2
bindsym Mod4+Shift+3 move container to workspace $ws3
bindsym Mod4+Shift+4 move container to workspace $ws4
bindsym Mod4+Shift+5 move container to workspace $ws5
bindsym Mod4+Shift+6 move container to workspace $ws6
bindsym Mod4+Shift+7 move container to workspace $ws7
bindsym Mod4+Shift+8 move container to workspace $ws8
bindsym Mod4+Shift+9 move container to workspace $ws9
bindsym Mod4+Shift+0 move container to workspace $ws10
# open applications on specific workspaces
assign [class="^URxvt$"] $ws1
assign [class="Subl3"] $ws2
assign [class="^Wicd"] $ws3
assign [class="Firefox"] $ws3
assign [class="mpv|Mplayer|baka-mplayer"] $ws4
assign [class="Thunar"] $ws4
assign [class="YACReaderLibrary"] $ws5
assign [class="YACReader"] $ws5
assign [class="^zathura$"] $ws5
assign [class="zeal"] $ws5
assign [class="Inkscape"] $ws6
assign [class="discord"] $ws7
assign [class="Wine|Steam|dontstarve"] $ws8
#for_window [class="^YACReader$"] floating enable, resize set 1200 600
#floating
for_window [title="Press This - Mozilla Firefox" class="Firefox"] floating enable
for_window [title="File Operation Progress" class="Thunar"] floating enable
for_window [window_role="pop-up"] floating enable,move absolute center
#pour verouiller l'ecran
bindsym Mod4+Shift+v exec i3lock -i /home/encrypted/.wallpapers/lock.jpg
# reload the configuration file
bindsym Mod4+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod4+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod4+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 $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
# 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 Mod4+r mode "resize"
# Hybrid colors
set $black #0f1419
set $white #e6e1cf
set $gray #CCCCCC
set $darkgray #666666
set $green #3a5336
set $blue #4D73AA
set $purple #8473A7
set $red #ff3333
set $orange #f29718
set $cyan #3d7982
set $dark #404152
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3blocks -c ~/.config/i3/i3blocks.conf
position top
strip_workspace_numbers yes
font pango:SourceCodePro-12,fontawesome
height 25
# Color panel
colors {
statusline #999999
background $black
# Colors border backgr. text
focused_workspace $green $green $white
active_workspace $black $black $white
inactive_workspace $black $black $white
urgent_workspace $red $red $white
}
}
#class border backgr. text indicator
client.focused $black $green #FFFFFF $black
client.unfocused $dark $dark $white $dark
client.focused_inactive $dark $dark $white $dark
client.urgent $red $red $white $red
# gaps
gaps inner 20
gaps outer 20
#bordure
for_window [class="^.*"] border pixel 10
for_window [class="^URxvt$"] border pixel 5
# WALLPAPER
exec_always --no-startup-id feh --bg-scale --no-xinerama /home/encrypted/.wallpapers/green_eyes.jpg
exec --no-startup-id dunst
exec --no-startup-id /usr/bin/compton --config /home/encrypted/.config/i3/.compton.conf
exec --no-startup-id urxvt
exec --no-startup-id xautolock -time 10 -locker 'i3lock -d -c 000000'
|
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 | URxvt.font: xft:SourceCodePro-12
URxvt.letterSpace: -1
urxvt*transparent: true
urxvt*shading: 30
!change font size
URxvt.perl-ext-common: ...,resize-font,...
URxvt.resize-font.smaller: C-Down
URxvt.resize-font.bigger: C-Up
! special
*.foreground: #e6e1cf
*.background: #0f1419
*.cursorColor: #253340
! black
*.color0: #2a2b3a
*.color8: #404152
! red
*.color1: #ea596d
*.color9: #d85d6e
! green
*.color2: #ff3333
*.color10: #85c17c
! yellow
*.color3: #c99135
*.color11: #dcb15e
! blue
*.color4: #547599
*.color12: #5d8fc6
! magenta
*.color5: #9f5079
*.color13: #e486b7
! cyan
*.color6: #3d7982
*.color14: #8abeb7
! white
*.color7: #d3d7cf
*.color15: #ffffff
URxvt.scrollBar: false
!interne bordure
URxvt.internalBorder: 25
! ------------------------------------------------------------------------------
!
! ROFI
!
! ------------------------------------------------------------------------------
rofi.modi: combi
rofi.combi-modi: window,run,ssh,drun
! rofi.switchers combi -combi-modi ""
!! Monitor id to show on
rofi.m: -1
! ----------
! Appearance
! ----------
!! Border width
rofi.bw: 0
rofi.columns: 1
rofi.fake-transparency: true
rofi.font: Source Code Pro 12
rofi.fullscreen: false
rofi.fuzzy: true
rofi.hide-scrollbar: true
rofi.line-margin: 10
rofi.lines: 15
rofi.location: 0
rofi.opacity: 90
rofi.padding: 20
!! Style: none, dash, solid
rofi.separator-style: none
rofi.sidebar-mode: true
! -----------
! Keybindings
! -----------
rofi.kb-mode-next: Tab
rofi.kb-mode-previous: Shift+Tab
rofi.kb-accept-entry: Return,KP_Enter
rofi.kb-cancel: Escape,Control+c
! -----------
! Color theme
! -----------
! For transparency e.g. argb:ee2b2e37
# define rofi_bg #2b2e37
# define rofi_fg #c1c1c1
! # define rofi_border #161619
# define rofi_fg_hi #ffffff
# define rofi_blue #4989d7
# define rofi_blue2 #4d6b8e
# define rofi_red #dc322f
rofi.color-enabled: true
rofi.color-window: rofi_bg, rofi_bg , rofi_blue
rofi.color-normal: rofi_bg, rofi_fg , rofi_bg, rofi_bg, rofi_blue
rofi.color-active: rofi_bg, rofi_fg_hi, rofi_bg, rofi_bg, rofi_blue2
rofi.color-urgent: rofi_bg, rofi_red , rofi_bg, rofi_bg, rofi_red
|
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 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 | # align
# border
# 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/libexec/i3blocks/$BLOCK_NAME
border_left=0
border_right=0
border_top=0
border_bottom=3
border=#0d1116
#[focused window]
#command=xtitle -s -r
#interval=persist
#border=#f29718
#[weather]
#instance=3647651
#command=/usr/lib/i3blocks/weather
#interval=60
#markup=pango
#border=#0073a0
[music]
command=mpc current
color=#ffffff
interval=20
#[disk-home]
#label=
#command=/usr/lib/i3blocks/disk $HOME
#instance=/home/encrypted
#interval=30
#markup=pango
#
[cpu_usage]
label=
command=/usr/lib/i3blocks/cpu_usage
interval=10
markup=pango
#
[temp]
label=
command=echo `sensors -A | grep -oP '^Core.+? \+\K\d+' | awk '{k+=$1}END{print k/NR}'` °C
#command=/usr/lib/i3blocks/temp
interval=10
markup=pango
[wifi]
label=
command=/usr/lib/i3blocks/wifi
instance=wlp6s0
interval=10
markup=pango
[volume]
label=
command=/usr/lib/i3blocks/volume
instance=Master
interval=3
signal=10
[time]
label=
command=date '+%I:%M %P'
interval=5
markup=pango
#[mediaplayer]
#label=
#command=/usr/lib/i3blocks/mediaplayer
#instance=mpd
#interval=5
#signal=10
#border=#f29718
#markup=pango
[mpd]
command=/usr/lib/i3blocks/i3blocks-mpd
interval=5
signal=10
markup=pango
#::::::::::::::: Desactivated ::::::::::::::::#
#[uptime_label]
#label=
#command=/usr/lib/i3blocks/uptime
#interval=60
#border=#543154
#[separator]
#full_text=〈
##color=#000000f58957
#[memory]
#label=⚅
#command=/usr/lib/i3blocks/memory
#instance=mem
#interval=30
#border=#556072
#[separator]
#full_text=〈
##color=#000000f58957
[time]
label=
command=date '+%a:%d/%m/%y'
interval=5
[dunst]
command=/usr/lib/i3blocks/notify
signal=12
#[host]
#label=:
#command=uname -r
#color=#00000084c800
#interval=once
#[wireless]
#label=:
#command=[[ -z "(iwgetid -r)" ]] || echo "$(iwgetid -r)"
#interval=2
#######################################################
#[separator1]
#full_text=<span background="#1a253a" foreground="#3c4a59"></span>
#border=#1a253a
#markup=pango
#[upload]
#label=
#command=~/.config/i3/scripts/bandwidth.sh tx
#min_width=0000 kB/s
#align=left
#interval=1 # IMPORTANT
#border=#3c4a59
#markup=pango
#[separator2]
#full_text=<span background="#3c4a59" foreground="#1a253a"></span>
#border=#3c4a59
#markup=pango
#[download]
#label=
#command=~/.config/i3/scripts/bandwidth.sh rx
#min_width=0000 kB/s
#align=left
#interval=1 # IMPORTANT
#border=#1a253a
#markup=pango
|
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 | # Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow's mask behind the
# window. Fix some weirdness with ARGB windows.
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-opacity = 0.7; # The translucency for shadows. (default .75)
# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows.
# shadow-exclude = "n:e:Notification";
shadow-ignore-shaped = true; # Avoid drawing shadow on all shaped windows
# (see also: --detect-rounded-corners)
# Opacity
menu-opacity = 0.9; # The opacity for menus. (default 1.0)
inactive-opacity = 0.0; # Default opacity of inactive windows. (0.0 - 1.0)
# active-opacity = 0.8; # Default opacity for active windows. (0.0 - 1.0)
# frame-opacity = 0.8; # Opacity of window titlebars and borders. (0.1 - 1.0)
# inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
# value of _NET_WM_OPACITY. Bad choice.
alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
# it may result in less X resource usage,
# Yet fading may look bad.
# inactive-dim = 0.2; # Dim inactive windows. (0.0 - 1.0)
# inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
# blur-background = true; # Blur background of transparent windows.
# Bad performance with X Render backend.
# GLX backend is preferred.
# blur-background-frame = true; # Blur background of opaque windows with transparent
# frames as well.
blur-background-fixed = false; # Do not let blur radius adjust based on window opacity.
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
# Exclude conditions for background blur.
# Fading
fading = true; # Fade windows during opacity changes.
# fade-delta = 30; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
# no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
fade-exclude = [ ]; # Exclude conditions for fading.
# Other
backend = "xrender" # Backend to use: "xrender" or "glx". GLX backend is typically
# much faster but depends on a sane driver.
mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus).
use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused
# instead of using FocusIn/Out events. Usually more reliable but
# depends on a EWMH-compliant WM.
detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window
# managers not passing _NET_WM_OPACITY of client windows to frame
# windows.
refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
vsync = "none"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
# See man page for more details.
dbe = false; # Enable DBE painting mode. Rarely needed.
paint-on-overlay = true; # Painting on X Composite overlay window. Recommended.
sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
# Incompatible with certain VSync methods.
unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is
# detected, to maximize performance for full-screen windows.
focus-exclude = [ ]; # A list of conditions of windows that should always be considered
# focused.
detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
# the same group focused at the same time.
detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
invert-color-include = [ ]; # Conditions for windows to be painted with inverted color.
# GLX backend # GLX backend fine-tune options. See man page for more info.
# glx-no-stencil = true; # Recommended.
glx-copy-from-front = false; # Useful with --glx-swap-method,
# glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
# glx-no-rebind-pixmap = true; # Recommended if it works.
glx-swap-method = "undefined"; # See man page.
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
# fade: Fade the particular type of windows.
# shadow: Give those windows shadow
# opacity: Default opacity for the type of windows.
# focus: Whether to always consider windows of this type focused.
};
|
x
Notes
My setup
i3-gaps
i3blocks-gaps
shell: urxvt
Ogis1975 said about 7 years ago
Nice set up. Already stoled your configs :)
paranoid73 said about 6 years ago
Thank you , i use awesome wm now