Last active
May 13, 2022 20:11
-
-
Save LeReverandNox/52ed08d15f2e3cea6ec8461e14b5280d to your computer and use it in GitHub Desktop.
i3 config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Font | |
| URxvt.font: xft:DroidSansMonoForPowerline Nerd Font:size=8:antialias=true:hinting=true | |
| URxvt.boldFont: xft:DroidSansMonoForPowerline Nerd Font:size=8:antialias=true:bold:hinting=true | |
| URxvt.italicFont: xft:DroidSansMonoForPowerline Nerd Font:size=8:antialias=true:italic:autohint=true:hinting=true | |
| URxvt.bolditalicFont: xft:DroidSansMonoForPowerline Nerd Font:size=8:antialias=true:bold:italic:autohint=true:hinting=true | |
| URxvt.letterSpace: -1 | |
| ! Scrollbar | |
| URxvt*scrollBar: false | |
| ! Style | |
| ! Transparency | |
| urxvt*depth: 32 | |
| ! Fading when inactive | |
| URxvt.fading:15 | |
| ! Colors | |
| # include ".Xdefaults.d/colors" | |
| ! Perl extensions | |
| URxvt.perl-ext-common: default,matcher,resize-font,selection-to-clipboard | |
| ! Underlined and clickable URLs | |
| URxvt.urlLauncher: google-chrome | |
| URxvt.matcher.button: 1 | |
| ! Resize font size | |
| URxvt.resize-font.smaller: C-minus | |
| URxvt.resize-font.bigger: C-plus | |
| URxvt.resize-font.reset: C-equal | |
| URxvt.resize-font.show: C-question | |
| URxvt.iso14755: false | |
| URxvt.iso14755_52: false | |
| ! Cursor | |
| URxvt.cursorBlink: 1 | |
| URxvt.cursorUnderline: 0 | |
| ! Scrolling comportement | |
| ! do not scroll with output | |
| URxvt*scrollTtyOutput: false | |
| ! scroll in relation to buffer (with mouse scroll or Shift+Page Up) | |
| URxvt*scrollWithBuffer: true | |
| ! scroll back to the bottom on keypress | |
| URxvt*scrollTtyKeypress: true | |
| ! XFT | |
| ! Xft.dpi: 168 | |
| ! Xft.antialias: true | |
| ! Xft.rgba: rgb | |
| ! Xft.hinting: true | |
| ! Xft.hintstyle: hintfull | |
| ! Xcursor.theme: capitainecursors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! ACI | |
| !URxvt*foreground: #b4e1fd | |
| URxvt*foreground: #94A3A5 | |
| !URxvt*background: [80]#0d1926 | |
| URxvt*background: [80]#000000 | |
| URxvt*color0: #363636 | |
| URxvt*color1: #ff0883 | |
| URxvt*color2: #83ff08 | |
| URxvt*color3: #ff8308 | |
| URxvt*color4: #0883ff | |
| URxvt*color5: #8308ff | |
| URxvt*color6: #08ff83 | |
| URxvt*color7: #b6b6b6 | |
| !URxvt*color8: #424242 | |
| URxvt*color8: #5d5d5d | |
| URxvt*color9: #ff1e8e | |
| URxvt*color10: #8eff1e | |
| URxvt*color11: #ff8e1e | |
| URxvt*color12: #1e8eff | |
| URxvt*color13: #8e1eff | |
| URxvt*color14: #1eff8e | |
| URxvt*color15: #c2c2c2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout some time, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| set $mod Mod4 | |
| # 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 | |
| font pango:DroidSansMonoForPowerline Nerd Font, FontAwesome, 9 | |
| # 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 Mouse+$mod to drag floating windows to their wanted position | |
| floating_modifier $mod | |
| # start a terminal | |
| # bindsym $mod+Return exec i3-sensible-terminal | |
| # bindsym $mod+Return exec ~/personal_configs/scripts/terminal-tmux.py | |
| bindsym $mod+Return exec urxvtc | |
| # kill focused window | |
| bindsym $mod+Shift+q kill | |
| # start dmenu (a program launcher) # bindsym $mod+d exec dmenu_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 $mod+d exec --no-startup-id i3-dmenu-desktop | |
| # 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 | |
| # Move workspace to other output | |
| bindsym $mod+Shift+ctrl+Left move workspace to output left | |
| bindsym $mod+Shift+ctrl+Down move workspace to output down | |
| bindsym $mod+Shift+ctrl+Up move workspace to output up | |
| bindsym $mod+Shift+ctrl+Right move workspace to output 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+q layout toggle split | |
| # toggle tiling / floating | |
| bindsym $mod+Shift+space floating toggle ; sticky disable | |
| # 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 | |
| # switch to workspace | |
| bindsym $mod+1 workspace number 1 | |
| bindsym $mod+2 workspace number 2 | |
| bindsym $mod+3 workspace number 3 | |
| bindsym $mod+4 workspace number 4 | |
| bindsym $mod+5 workspace number 5 | |
| bindsym $mod+6 workspace number 6 | |
| bindsym $mod+7 workspace number 7 | |
| bindsym $mod+8 workspace number 8 | |
| bindsym $mod+9 workspace number 9 | |
| bindsym $mod+0 workspace number 10 | |
| # move focused container to workspace | |
| bindsym $mod+Shift+2 move container to workspace number 2 | |
| bindsym $mod+Shift+3 move container to workspace number 3 | |
| bindsym $mod+Shift+1 move container to workspace number 1 | |
| bindsym $mod+Shift+4 move container to workspace number 4 | |
| bindsym $mod+Shift+5 move container to workspace number 5 | |
| bindsym $mod+Shift+6 move container to workspace number 6 | |
| bindsym $mod+Shift+7 move container to workspace number 7 | |
| bindsym $mod+Shift+8 move container to workspace number 8 | |
| bindsym $mod+Shift+9 move container to workspace number 9 | |
| bindsym $mod+Shift+0 move container to workspace number 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" | |
| # Start i3bar to display a workspace bar (plus the system information i3status | |
| # finds out, if available) | |
| bar { | |
| i3bar_command i3bar -t | |
| position top | |
| colors { | |
| # background $black | |
| # statusline $neonblue | |
| # separator #666666 | |
| # Sympa | |
| # background $lightgrey | |
| # statusline $black | |
| # separator $darkgrey | |
| # Solarized | |
| # background $blacksolarized | |
| # statusline $greysolarized | |
| # separator $greysolarized | |
| # ACI | |
| background $blackacirgba | |
| statusline $whiteaci | |
| separator $whiteaci | |
| # class border backgr. text | |
| # focused_workspace #4c7899 $darkblue $white | |
| # active_workspace $darkgrey #5f676a $white | |
| # inactive_workspace $lightgrey $darkergrey $ligthergrey | |
| # urgent_workspace #2f343a $darkred $white | |
| # Sympa | |
| # focused_workspace $lightgrey $neonblue $black | |
| # active_workspace $lightgrey #5f676a $white | |
| # inactive_workspace $lightgrey $lightgrey $black | |
| # urgent_workspace $lightgrey $orange $black | |
| # Solarized | |
| # focused_workspace $blacksolarized $cyansolarized $whitesolarized | |
| # focused_workspace $blacksolarized $whitesolarized $blacksolarized | |
| # active_workspace $lightgrey #5f676a $white | |
| # inactive_workspace $blacksolarized $blacksolarized $whitesolarized | |
| # urgent_workspace $blacksolarized $redsolarized $whitesolarized | |
| # ACI | |
| # class border backgr. text | |
| focused_workspace $blackacirgba $blackacirgba $cyanaci | |
| active_workspace $blackacirgba $blackacirgba $whiteaci | |
| inactive_workspace $blackacirgba $blackacirgba $whiteaci | |
| urgent_workspace $blackacirgba $blackacirgba $redaci | |
| } | |
| status_command i3status -t -c ~/.config/i3/i3status.conf | |
| } | |
| # Window colors | |
| # DEFAULT | |
| # class border backgr. text indicator child_border | |
| # client.focused #4c7899 $darkblue $white $lighblue $darkblue | |
| # client.focused_inactive $darkgrey #5f676a $white #484e50 #5f676a | |
| # client.unfocused $darkgrey $darkergrey $ligthergrey #292d2e $darkergrey | |
| # client.urgent #2f343a $darkred $white $darkred $darkred | |
| # client.placeholder $black $black $white $black $black | |
| # client.background $white | |
| # Sympa | |
| # class border backgr text indicator child_border | |
| # client.focused $lightgrey $lightgrey $white $neonblue $lightgrey | |
| # client.focused_inactive $darkgrey $darkergrey $ligthergrey #292d2e $darkergrey | |
| # client.unfocused $darkgrey $darkergrey $ligthergrey #292d2e $darkergrey | |
| # client.urgent $orange $orange $black $darkred $orange | |
| # client.placeholder $black $black $white $black $black | |
| # client.background $white | |
| # Solarized | |
| # class border backgr text indicator child_border | |
| client.focused $blacksolarized $blacksolarized $whitesolarized $whitesolarized $greysolarized | |
| client.focused_inactive $blacksolarized $blacksolarized $greysolarized $blacksolarized $blacksolarized | |
| client.unfocused $blacksolarized $blacksolarized $greysolarized $blacksolarized $blacksolarized | |
| client.urgent $redsolarized $redsolarized $whitesolarized $darkred $redsolarized | |
| client.placeholder $black $black $white $black $black | |
| client.background $white | |
| # Hide borders adjacent to the screen edges | |
| hide_edge_borders vertical | |
| # Disable title bar of the windows | |
| # new_window pixel 2 | |
| for_window [class="^.*"] border pixel 1 | |
| # CUSTOM | |
| # Lock | |
| bindsym $mod+l exec --no-startup-id i3exit lock | |
| # Autolock au bout de X minutes | |
| exec --no-startup-id xautolock -time 10 -locker 'i3exit lock' & | |
| # Nautilus | |
| bindsym $mod+e exec nautilus --no-desktop | |
| # bindsym $mod+e exec EDITOR=vim MC_XDG_OPEN=/home/lereverandnox/personal_configs/scripts/nohup-open urxvtc -e mc | |
| # Volume | |
| bindsym XF86AudioRaiseVolume exec amixer -c0 -q set Master 2dB+ && amixer -c0 -q set Speaker 100% && amixer -c0 -q set PCM 100% && amixer -c0 -q set Headphone 100% && killall -USR1 i3status | |
| bindsym XF86AudioLowerVolume exec amixer -c0 -q set Master 2dB- && amixer -c0 -q set Speaker 100% && amixer -c0 -q set PCM 100% && amixer -c0 -q set Headphone 100% && killall -USR1 i3status | |
| bindsym XF86AudioMute exec amixer -c0 -q set Master toggle && amixer -c0 -q set Speaker unmute && amixer -c0 -q set Headphone 100% unmute && killall -USR1 i3status | |
| # Screen brightness controls | |
| bindsym XF86MonBrightnessUp exec light -A 10 # increase screen brightness | |
| bindsym XF86MonBrightnessDown exec light -U 10 # decrease screen brightness | |
| # Keyboard backlight brightness | |
| bindsym XF86KbdBrightnessDown exec asus-kbd-backlight down | |
| bindsym XF86KbdBrightnessUp exec asus-kbd-backlight up | |
| # App Assign Rules | |
| #1 | |
| assign [class="Subl"] → "1: Dev" | |
| assign [class="Code"] → "1: Dev" | |
| #2 | |
| assign [class="TelegramDesktop"] → "2: Social" | |
| assign [class="Thunderbird"] → "2: Social" | |
| assign [class="Franz"] → "2: Social" | |
| #3 | |
| assign [class="Google-chrome*"] → "3: Web" | |
| assign [class="Firefox"] → "3: Web" | |
| #4 | |
| assign [class="GitKraken"] → "4: SMC" | |
| # 5 | |
| assign [class="vlc"] → "5: Media" | |
| assign [title="^smplayer$"] → "5: Media" | |
| assign [class="Clementine"] → "5: Media" | |
| # 6 | |
| assign [class="Steam"] → "6: Game" | |
| # 7 | |
| assign [class="Gimp"] → "7: Graphism" | |
| # 8 | |
| assign [class="JDownloader"] → "8: Download" | |
| # 9 | |
| assign [class="TeamViewer"] → "9: TeamViewer" | |
| assign [title="Ordinateurs et contacts"] → "9: TeamViewer" | |
| assign [title="TeamViewer"] → "9: TeamViewer" | |
| # Startup | |
| # URxvt in daemon mode | |
| exec --no-startup-id urxvtd -o -f -q | |
| # Compton | |
| exec --no-startup-id compton -b --config ~/.config/compton/config.conf | |
| # Dunst | |
| exec --no-startup-id dunst --config ~/.config/dunst/dunstrc & | |
| # Gaps | |
| gaps inner 15 | |
| gaps outer 0 | |
| #smart_gaps on | |
| smart_borders on | |
| # Keyboard layout | |
| exec --no-startup-id setxkbmap us intl | |
| # Set DPI for HiDPI | |
| exec --no-startup-id xrandr --dpi 168 | |
| # Mirror monitor | |
| exec --no-startup-id mirror_monitor | |
| # Wokspace 1 | |
| exec --no-startup-id "i3-msg 'workspace 1: Dev; append_layout /home/lereverandnox/personal_configs/.config/i3/workspace-1-dev.json'" | |
| exec --no-startup-id code | |
| exec --no-startup-id i3-msg 'workspace 1: Dev; exec urxvtc' | |
| exec --no-startup-id i3-msg 'workspace 1: Dev; exec urxvtc' | |
| exec --no-startup-id i3-msg 'workspace 1: Dev; exec urxvtc' | |
| # Workspace 2 | |
| exec --no-startup-id "i3-msg 'workspace 2: Social; append_layout /home/lereverandnox/personal_configs/.config/i3/workspace-2-social.json'" | |
| exec --no-startup-id telegram-desktop | |
| exec --no-startup-id franz | |
| exec --no-startup-id thunderbird | |
| # Workspace 3 | |
| # exec --no-startup-id google-chrome | |
| exec --no-startup-id env GTK_THEME=Adwaita:light firefox-developer | |
| # Workspace 9 | |
| exec --no-startup-id teamviewer | |
| # Touchpad fix | |
| exec --no-startup-id "synclient MaxTapTime=0" | |
| exec --no-startup-id "synclient HorizTwoFingerScroll=1" | |
| exec --no-startup-id "synclient RightButtonAreaLeft=0" | |
| exec --no-startup-id "synclient RightButtonAreaTop=0" | |
| # Dropbox | |
| exec --no-startup-id "dropbox start" | |
| # Solaar and MX Master stuff | |
| exec --no-startup-id "xbindkeys" | |
| exec --no-startup-id "solaar" | |
| exec --no-startup-id "/home/lereverandnox/personal_configs/scripts/mx-master-wheel" | |
| #MPD | |
| # exec --no-startup-id "mpd" | |
| exec --no-startup-id "mopidy" | |
| # Network Manager | |
| exec --no-startup-id nm-applet | |
| # Blueman applet | |
| exec --no-startup-id blueman-applet | |
| # Daemon de Gnome pour GTK et tout | |
| exec --no-startup-id /usr/lib/gnome-settings-daemon/gnome-settings-daemon-localeexec | |
| # Fix a bug in gnome-settings-daemon: http://feeding.cloud.geek.nz/posts/creating-a-modern-tiling-desktop-environment-using-i3/ | |
| exec --no-startup-id dconf write /org/gnome/settings-daemon/plugins/cursor/active false | |
| # Default workspace | |
| exec --no-startup-id i3-msg workspace 1: Dev | |
| # System Menu | |
| set $sysmenu "system: [l]ock l[o]gout [s]uspend [h]ibernate [r]eboot sh[u]tdown" | |
| bindsym $mod+ctrl+Delete mode $sysmenu | |
| mode $sysmenu { | |
| bindsym l exec --no-startup-id i3exit lock, mode "default" | |
| bindsym o exec --no-startup-id i3exit logout, mode "default" | |
| bindsym s exec --no-startup-id i3exit suspend, mode "default" | |
| bindsym h exec --no-startup-id i3exit hibernate, mode "default" | |
| bindsym r exec --no-startup-id i3exit reboot, mode "default" | |
| bindsym u exec --no-startup-id i3exit shutdown, mode "default" | |
| bindsym Return mode "default" | |
| bindsym Escape mode "default" | |
| } | |
| # Launch mode, one app per key. | |
| set $launchmenu "launch: [c]hrome fi[r]efox [t]elegram [f]ranz [p]rofanity t[h]underbird c[l]ementine [n]cmpcpp s[m]player t[e]amviewer ste[a]m g[i]mp [j]dowloader" | |
| bindsym $mod+Tab mode $launchmenu | |
| mode $launchmenu { | |
| bindsym c exec google-chrome ; mode "default" | |
| bindsym r exec env GTK_THEME=Adwaita:light firefox-developer ; mode "default" | |
| bindsym t exec telegram-desktop ; mode "default" | |
| bindsym f exec franz ; mode "default" | |
| bindsym p exec urxvtc -e profanity ; mode "default" | |
| bindsym l exec clementine ; mode "default" | |
| bindsym n exec urxvtc -e ncmpcpp ; mode "default" | |
| bindsym e exec teamviewer ; mode "default" | |
| bindsym m exec smplayer ; mode "default" | |
| bindsym a exec steam ; mode "default" | |
| bindsym h exec thunderbird ; mode "default" | |
| bindsym i exec gimp ; mode "default" | |
| bindsym j exec jdownloader ; mode "default" | |
| bindsym Return mode "default" | |
| bindsym Escape mode "default" | |
| } | |
| # Dev launch mode, one app per key. | |
| set $devmenu "launch: [f]ilezilla [g]itkraken c[o]de [p]ostman [r]obomongo [s]ubl so[c]ketIo [v]im [e]macs" | |
| bindsym $mod+dead_grave mode $devmenu | |
| mode $devmenu { | |
| bindsym f exec filezilla ; mode "default" | |
| bindsym g exec gitkraken ; mode "default" | |
| bindsym o exec code ; mode "default" | |
| bindsym p exec google-chrome --app-id=fhbjgbiflinjbdggehcddcbncdddomop ; mode "default" | |
| bindsym r exec robomongo ; mode "default" | |
| bindsym s exec subl ; mode "default" | |
| bindsym c exec google-chrome --app-id=cgmimdpepcncnjgclhnhghdooepibakm ; mode "default" | |
| bindsym v exec urxvtc -e vim ; mode "default" | |
| bindsym e exec urxvtc -e emacs ; mode "default" | |
| bindsym Return mode "default" | |
| bindsym Escape mode "default" | |
| } | |
| # Config Menu | |
| set $configmenu "config: [i]3 i3[s]tatus [z]shrc [n]cmpcpp [x]Defaults ss[h] [d]unst" | |
| bindsym $mod+shift+e mode $configmenu | |
| mode $configmenu { | |
| bindsym i exec code -r ~/.config/i3/config, mode "default" | |
| bindsym s exec code -r ~/.config/i3/i3status.conf, mode "default" | |
| bindsym z exec code -r ~/.zshrc, mode "default" | |
| bindsym n exec code -r ~/.ncmpcpp/config, mode "default" | |
| bindsym x exec code -r ~/.Xdefaults, mode "default" | |
| bindsym h exec code -r ~/.ssh/config, mode "default" | |
| bindsym d exec code -r ~/.config/dunst/dunstrc, mode "default" | |
| bindsym Return mode "default" | |
| bindsym Escape mode "default" | |
| } | |
| # Alt-tab | |
| # bindsym $mod+Tab focus right | |
| # Desactivation du focus a la souris | |
| focus_follows_mouse no | |
| # Screenshot | |
| # scrot & gimp - root | |
| bindsym --release Print exec scrot -e 'xclip -selection c -t image/png $f && mv $f ~/Images/Screenshots/' | |
| # scrot & gimp - select window or rectangle | |
| bindsym --release shift+Print exec scrot -s -e 'xclip -selection c -t image/png $f && mv $f ~/Images/Screenshots/' | |
| # Wallpaper | |
| exec --no-startup-id feh --recursive --randomize --bg-fill ~/Images/Wallpapers/justinmaller | |
| # Change the wallpaper with a shortcut | |
| bindsym $mod+backslash exec feh --recursive --randomize --bg-fill ~/Images/Wallpapers/justinmaller | |
| # Revenir sur le workspace précédent avec le meme raccourci | |
| # workspace_auto_back_and_forth yes | |
| # Afficher la WM_Class dans le title | |
| for_window [class=".*"] title_format "%class | %title" | |
| # Enable sicky floating window | |
| bindsym $mod+t floating enable ; sticky toggle | |
| # Scratchpad | |
| # bindsym $mod+minus move scratchpad | |
| for_window [title="urxvt_scratchpad"] move to scratchpad, border 1pixel | |
| exec urxvtc -name urxvt_scratchpad | |
| bindsym $mod+plus scratchpad show | |
| # Hide status bar | |
| bindsym $mod+shift+h bar mode toggle | |
| # Colors variables | |
| set $orange #F85035 | |
| set $lightgrey #626062 | |
| set $ligthergrey #888888 | |
| set $darkergrey #222222 | |
| set $darkgrey #333333 | |
| set $neonblue #00A5FF | |
| set $cyan #00CCCC | |
| set $lightblue #2e9ef4 | |
| set $darkblue #285577 | |
| set $neongreen #00E100 | |
| set $black #000000 | |
| set $white #ffffff | |
| set $darkred #900000 | |
| set $greysolarized #708284 | |
| set $blacksolarized #002831 | |
| set $redsolarized #d11c24 | |
| set $greensolarized #738a05 | |
| set $yellowsolarized #a57706 | |
| set $bluesolarized #2176c7 | |
| set $magentasolarized #c61c6f | |
| set $cyansolarized #259286 | |
| set $whitesolarized #eae3cb | |
| # ACI | |
| set $fgaci #b4e1fd | |
| set $blackaci #0d1926 | |
| set $blackacirgba #0d1926CC | |
| set $redaci #ff0883 | |
| set $greenaci #83ff08 | |
| set $yellowaci #ff8308 | |
| set $blueaci #0883ff | |
| set $magentaaci #8308ff | |
| set $cyanaci #08ff83 | |
| set $whiteaci #b6b6b6 | |
| # Passthrough mode, pour libérer la touche Atl | |
| set $passthroughmode "Passthrough mode: Meta+Shift+P to exit" | |
| bindsym $mod+shift+p mode $passthroughmode | |
| mode $passthroughmode { | |
| bindsym $mod+shift+p mode "default" | |
| } | |
| # On met la fenetre Terminator Preferences en flottante | |
| for_window [title="Terminator Preferences"] floating enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| lock() { | |
| scrot /tmp/screen_locked.png | |
| convert /tmp/screen_locked.png -scale 5% -scale 2000% /tmp/screen_locked.png | |
| i3lock -fed -i /tmp/screen_locked.png | |
| # sleep 60; pgrep i3lock && xset dpms force off | |
| } | |
| case "$1" in | |
| lock) | |
| lock | |
| ;; | |
| logout) | |
| i3-msg exit | |
| ;; | |
| suspend) | |
| lock && systemctl suspend | |
| ;; | |
| hibernate) | |
| lock && systemctl hibernate | |
| ;; | |
| reboot) | |
| systemctl reboot | |
| ;; | |
| shutdown) | |
| systemctl poweroff | |
| ;; | |
| *) | |
| echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}" | |
| exit 2 | |
| esac | |
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # i3status configuration file. | |
| # see "man i3status" for documentation. | |
| # It is important that this file is edited as UTF-8. | |
| # The following line should contain a sharp s: | |
| # ß | |
| # If the above line is not correctly displayed, fix your editor first! | |
| # Colors variables | |
| # set $orange #F85035 | |
| # set $lightgrey #626062 | |
| # set $ligthergrey #888888 | |
| # set $darkergrey #222222 | |
| # set $darkgrey #333333 | |
| # set $neonblue #00A5FF | |
| # set $cyan #00CCCC | |
| # set $lightblue #2e9ef4 | |
| # set $darkblue #285577 | |
| # set $neongreen #00E100 | |
| # set $black #000000 | |
| # set $white #ffffff | |
| # set $darkred #900000 | |
| # set $greysolarized #708284 | |
| # set $blacksolarized #002831 | |
| # set $redsolarized #d11c24 | |
| # set $greensolarized #738a05 | |
| # set $yellowsolarized #a57706 | |
| # set $bluesolarized #2176c7 | |
| # set $magentasolarized #c61c6f | |
| # set $cyansolartized #259286 | |
| # set $whitesolarized #eae3cb | |
| general { | |
| colors = true | |
| interval = 1 | |
| # color_good = '#88b090' # Vert pastel | |
| # color_good = '#00E100' # Vert neon | |
| # color_degraded = '#ccdc91' | |
| # color_bad = '#e89393' # Rose pale | |
| # color_bad = '#900000' # Rouge sombre | |
| # color_bad = '#E74C3C' # Orange plus fade | |
| # Sympa | |
| # color_good = '#00A5FF' # Bleu neon | |
| # color_bad = '#F85035' # Orange | |
| # Solarized | |
| # color_good = '#738a05' | |
| # color_degraded = '#a57706' | |
| # color_bad = '#d11c24' | |
| # ACI | |
| color_good = '#83ff08' | |
| color_degraded = '#ff8308' | |
| color_bad = '#ff0883' | |
| } | |
| # order += "ipv6" | |
| # order += "run_watch DHCP" | |
| # order += "run_watch VPN" | |
| order += "ethernet enp0s20f0u4u4" | |
| order += "wireless _first_" | |
| order += "cpu_usage" | |
| order += "cpu_temperature 0" | |
| order += "disk /" | |
| order += "battery 0" | |
| order += "volume master" | |
| order += "tztime local" | |
| wireless _first_ { | |
| format_up = " (%quality at %essid) %ip" | |
| format_down = ": down" | |
| } | |
| ethernet enp0s20f0u4u4 { | |
| # if you use %speed, i3status requires root privileges | |
| format_up = ": %ip (%speed)" | |
| format_down = ": down" | |
| } | |
| battery 0 { | |
| format = "%status %percentage %remaining" | |
| last_full_capacity = true | |
| integer_battery_capacity = true | |
| low_threshold = 20 | |
| threshold_type = percentage | |
| hide_seconds = true | |
| status_chr = " " | |
| status_bat = " " | |
| status_full = " " | |
| } | |
| run_watch DHCP { | |
| pidfile = "/var/run/dhclient*.pid" | |
| } | |
| run_watch VPN { | |
| pidfile = "/var/run/vpnc/pid" | |
| } | |
| tztime local { | |
| # format = "%d-%m-%Y %H:%M:%S" | |
| # format = " %a %e %B %H:%M:%S" | |
| format = " %a %e %B - %H:%M:%S" | |
| } | |
| cpu_usage { | |
| format = " %usage" | |
| } | |
| cpu_temperature 0 { | |
| format = "%degrees °C" | |
| max_threshold = 70 | |
| } | |
| disk "/" { | |
| format = " %avail/%total" | |
| low_threshold = 10 | |
| threshold_type = percentage_free | |
| } | |
| volume master { | |
| format = " %volume" | |
| format_muted = " %volume" | |
| device = "default" | |
| mixer = "Master" | |
| mixer_idx = 0 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment