Updated all for my Lenovo x201 with i3 WM

This commit is contained in:
Damien Broqua 2020-04-24 17:15:48 +02:00
parent 0931f9d30b
commit 6a6fd2f2da
50 changed files with 4165 additions and 1 deletions

35
config/Tilix.dconf Normal file
View file

@ -0,0 +1,35 @@
[profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
foreground-color='#A1B0B8'
visible-name='Default'
login-shell=true
palette=['#252525', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5', '#708284', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5']
badge-color='#AC7EA8'
badge-color-set=false
cursor-shape='underline'
cursor-colors-set=false
highlight-colors-set=false
use-system-font=false
bold-color-set=false
font='Droid Sans Mono for Powerline 10'
use-theme-colors=false
scrollback-unlimited=true
cursor-blink-mode='on'
background-color='#263238'
background-transparency-percent=12
[/]
quake-specific-monitor=0
tab-position='left'
copy-on-select=true
auto-hide-mouse=true
terminal-title-style='small'
window-state=128
theme-variant='dark'
session-name='${hostname}'
window-save-state=true
[keybindings]
session-add-right='<Alt>backslash'
win-switch-to-previous-session='<Shift>Left'
session-add-down='<Alt>minus'
win-switch-to-next-session='<Shift>Right'

161
config/caja/accels Normal file
View file

@ -0,0 +1,161 @@
; caja GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/DirViewActions/Trash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Save Search" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Emblems" "")
; (gtk_accel_path "<Actions>/DirViewActions/Start Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/TabsNext" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/DirViewActions/Location Poll" "")
; (gtk_accel_path "<Actions>/ShellActions/Go to Trash" "")
; (gtk_accel_path "<Actions>/IconViewActions/Stretch" "")
; (gtk_accel_path "<Actions>/DirViewActions/MoveToMenu" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel" "<Primary>equal")
; (gtk_accel_path "<Actions>/DirViewActions/LocationTrash" "")
; (gtk_accel_path "<Actions>/DirViewActions/RenameSelectAll" "<Shift>F2")
; (gtk_accel_path "<Actions>/ShellActions/About Caja" "")
; (gtk_accel_path "<Actions>/DirViewActions/Undo" "<Primary>z")
; (gtk_accel_path "<Actions>/NavigationActions/Back" "<Alt>Left")
; (gtk_accel_path "<Actions>/DirViewActions/Location Start Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Format Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/CopyToMenu" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationRestoreFromTrash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Empty Trash" "")
; (gtk_accel_path "<Actions>/ShellActions/Close" "<Primary>w")
; (gtk_accel_path "<Actions>/NavigationActions/Add Bookmark" "<Primary>d")
; (gtk_accel_path "<Actions>/IconViewActions/Manual Layout" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom Normal" "<Primary>0")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Extra Pane" "F3")
; (gtk_accel_path "<Actions>/DirViewActions/Create Link" "<Primary>m")
; (gtk_accel_path "<Actions>/DirViewActions/LocationDelete" "")
; (gtk_accel_path "<Actions>/DirViewActions/Mount Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Trash Time" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenInNewTab" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication2" "")
; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication1" "")
; (gtk_accel_path "<Actions>/NavigationActions/Folder Window" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Statusbar" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab9" "<Alt>0")
; (gtk_accel_path "<Actions>/ShellActions/Connect to Server" "")
; (gtk_accel_path "<Actions>/ShellActions/Help" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab6" "<Alt>7")
; (gtk_accel_path "<Actions>/NavigationActions/Clear History" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel2" "<Primary>KP_Add")
; (gtk_accel_path "<Actions>/NavigationActions/Tab8" "<Alt>9")
; (gtk_accel_path "<Actions>/ShellActions/Caja Manual" "F1")
; (gtk_accel_path "<Actions>/NavigationActions/ShowSearch" "<Primary>f")
; (gtk_accel_path "<Actions>/NavigationActions/Tab5" "<Alt>6")
; (gtk_accel_path "<Actions>/NavigationActions/Tab4" "<Alt>5")
; (gtk_accel_path "<Actions>/NavigationActions/Tab3" "<Alt>4")
; (gtk_accel_path "<Actions>/ShellActions/File" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab1" "<Alt>2")
; (gtk_accel_path "<Actions>/NavigationActions/Tab7" "<Alt>8")
; (gtk_accel_path "<Actions>/DirViewActions/Copy" "<Primary>c")
; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveRight" "<Primary><Shift>Page_Down")
; (gtk_accel_path "<Actions>/NavigationActions/TabsPrevious" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/ShellActions/Go to Network" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab2" "<Alt>3")
; (gtk_accel_path "<Actions>/ClipboardActions/Paste" "<Primary>v")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Type" "")
; (gtk_accel_path "<Actions>/ShellActions/View" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Empty File" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab0" "<Alt>1")
; (gtk_accel_path "<Actions>/DirViewActions/Location Eject Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Unstretch" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom Out" "<Primary>minus")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Location Bar" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenCloseParent" "<Shift><Alt>Down")
; (gtk_accel_path "<Actions>/DirViewActions/Open" "<Primary>o")
; (gtk_accel_path "<Actions>/DirViewActions/Self Format Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/Bookmarks" "")
; (gtk_accel_path "<Actions>/DirViewActions/Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Connect To Server Link" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Mount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Reset to Defaults" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenFolderWindow" "")
; (gtk_accel_path "<Actions>/DirViewActions/Paste Files Into" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationCut" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom In" "<Primary>plus")
; (gtk_accel_path "<Actions>/DirViewActions/Self Eject Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/SplitViewNextPane" "F6")
; (gtk_accel_path "<Actions>/ClipboardActions/Select All" "<Primary>a")
; (gtk_accel_path "<Actions>/IconViewActions/Tighter Layout" "")
; (gtk_accel_path "<Actions>/NavigationActions/Edit Bookmarks" "<Primary>b")
; (gtk_accel_path "<Actions>/DirViewActions/LocationCopy" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Copy" "<Primary>c")
; (gtk_accel_path "<Actions>/DirViewActions/OpenAccel" "<Alt>Down")
; (gtk_accel_path "<Actions>/DirViewActions/Open With" "")
; (gtk_accel_path "<Actions>/ShellActions/Edit" "")
; (gtk_accel_path "<Actions>/ShellActions/Up" "<Alt>Up")
; (gtk_accel_path "<Actions>/DirViewActions/Open Scripts Folder" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Cut" "<Primary>x")
; (gtk_accel_path "<Actions>/NavigationActions/Forward" "<Alt>Right")
; (gtk_accel_path "<Actions>/DirViewActions/New Documents" "")
; (gtk_accel_path "<Actions>/NavigationActions/Go to Location" "<Primary>l")
; (gtk_accel_path "<Actions>/ShellActions/Reload" "<Primary>r")
; (gtk_accel_path "<Actions>/DirViewActions/Move to Home" "")
; (gtk_accel_path "<Actions>/ShellActions/Backgrounds and Emblems" "")
; (gtk_accel_path "<Actions>/DirViewActions/No Templates" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Format Volume" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomOutAccel" "<Primary>KP_Subtract")
; (gtk_accel_path "<Actions>/NavigationActions/SplitViewSameLocation" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationPasteFilesInto" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Size" "")
; (gtk_accel_path "<Actions>/DirViewActions/Select All" "<Primary>a")
; (gtk_accel_path "<Actions>/DirViewActions/OpenAlternate" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/ShellActions/Preferences" "")
; (gtk_accel_path "<Actions>/DirViewActions/Poll" "")
; (gtk_accel_path "<Actions>/DirViewActions/Select Pattern" "<Primary>s")
; (gtk_accel_path "<Actions>/IconViewActions/Reversed Order" "")
; (gtk_accel_path "<Actions>/ShellActions/Go to Computer" "")
; (gtk_accel_path "<Actions>/NavigationActions/Go" "")
; (gtk_accel_path "<Actions>/DirViewActions/Restore From Trash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Stop Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationProperties" "")
; (gtk_accel_path "<Actions>/DirViewActions/Rename" "F2")
; (gtk_accel_path "<Actions>/DirViewActions/Redo" "<Primary>y")
; (gtk_accel_path "<Actions>/ShellActions/Go to Templates" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenInNewTab" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Start Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Move to next pane" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenFolderWindow" "")
; (gtk_accel_path "<Actions>/ShellActions/Show Hidden Files" "<Primary>h")
; (gtk_accel_path "<Actions>/DirViewActions/Stop Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Duplicate" "")
; (gtk_accel_path "<Actions>/DirViewActions/Eject Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Clean Up" "")
; (gtk_accel_path "<Actions>/NavigationActions/New Tab" "<Primary>t")
; (gtk_accel_path "<Actions>/ShellActions/Home" "<Alt>Home")
; (gtk_accel_path "<Actions>/NavigationActions/New Window" "<Primary>n")
; (gtk_accel_path "<Actions>/DirViewActions/PropertiesAccel" "<Primary>i")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Modification Date" "")
; (gtk_accel_path "<Actions>/DirViewActions/Save Search As" "")
; (gtk_accel_path "<Actions>/IconViewActions/Keep Aligned" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Launcher" "")
; (gtk_accel_path "<Actions>/NavigationActions/Search" "")
; (gtk_accel_path "<Actions>/DirViewActions/Properties" "<Alt>Return")
; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveLeft" "<Primary><Shift>Page_Up")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to Desktop" "")
; (gtk_accel_path "<Actions>/ShellActions/Stop" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Folder" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/DirViewActions/Self Poll" "")
; (gtk_accel_path "<Actions>/DirViewActions/Move to Desktop" "")
; (gtk_accel_path "<Actions>/DirViewActions/Cut" "<Primary>x")
; (gtk_accel_path "<Actions>/DirViewActions/Delete" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Name" "")
; (gtk_accel_path "<Caja-Window>/view_as_2" "<Primary>2")
; (gtk_accel_path "<Caja-Window>/view_as_3" "<Primary>3")
; (gtk_accel_path "<Actions>/DirViewActions/Paste" "<Primary>v")
; (gtk_accel_path "<Actions>/DirViewActions/Invert Selection" "<Primary><Shift>i")
; (gtk_accel_path "<Caja-Window>/view_as_1" "<Primary>1")
; (gtk_accel_path "<Actions>/NavigationActions/Close All Windows" "<Primary>q")
; (gtk_accel_path "<Actions>/IconViewActions/Arrange Items" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Sidebar" "F9")
; (gtk_accel_path "<Actions>/DirViewActions/Self Stop Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Toolbar" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Mount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to Home" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to next pane" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenAlternate" "")

223
config/i3/config Normal file
View file

@ -0,0 +1,223 @@
# 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 pango:DejaVu Sans Mono 6
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec tilix
# kill focused window
bindsym $mod+Shift+q kill
bindsym Control+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-8'
bindsym Mod1+space exec dmenu_run -fn 'Droid Sans Mono-8'
# 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
bindsym Mod1+Tab focus left
# 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+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
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# switch to previous/next workspace
bindsym Mod1+Control+a workspace prev_on_output
bindsym Mod1+Control+d workspace next_on_output
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 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
# move focused container to previous/next workspace
bindsym Mod1+Shift+Control+a move container to workspace prev
bindsym Mod1+Shift+Control+d move container to workspace next
# reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'Q' \
-b 'Exit' 'i3-msg exit' \
-b 'Suspend' 'sudo s2ram -f -a 1' \
-b 'Reboot' 'systemctl reboot' \
-b 'Halt' 'systemctl poweroff'"
# 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 windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows 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 {
font pango:DejaVu Sans Mono, Icons 8
status_command py3status
colors {
statusline #f2f2f2
background #3e3f3f
separator #f2f2f2
#color class border back. text
focused_workspace #F3F4F5 #747C84 #F3F4F5
active_workspace #747C84 #747C84 #F3F4F5
inactive_workspace #747C84 #747C84 #F3F4F5
urgent_workspace #747C84 #747C84 #F3F4F5
}
}
# Launch systray app
exec --no-startup-id i3-msg 'exec blueman-applet &'
exec --no-startup-id i3-msg 'exec pasystray &'
exec --no-startup-id i3-msg 'exec nm-applet &'
exec --no-startup-id i3-msg 'exec brscan-skey &'
exec --no-startup-id i3-msg 'exec nextcloud &'
exec --no-startup-id i3-msg 'exec ssh-add &'
# Launch app on start session
exec --no-startup-id i3-msg 'exec /usr/bin/tilix'
exec --no-startup-id i3-msg 'exec /usr/bin/firefox'
#exec --no-startup-id i3-msg 'exec /usr/bin/thunderbird'
exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
#exec --no-startup-id i3-msg 'exec /usr/bin/clementine'
# Set wallpaper
exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg
# Default workspace layout
workspace_layout tabbed
# Lock session
bindsym $mod+Mod1+l exec "~/Bin/lock.sh"
bindsym Mod1+Control+q exec "~/Bin/lock.sh"
# Multimedia keys
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute `pactl info|grep Sink|cut -d: -f 2` toggle
# Spotify
bindsym XF86AudioPlay exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym XF86AudioPrev exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bindsym XF86AudioNext exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Clementine
bindsym Shift+XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym Shift+XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bindsym Shift+XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Take Screenshot
bindsym Print exec ~/Bin/screenshooter.sh
#colors border back text indicator
client.focused #0088CC #0088CC #ffffff #dddddd
client.focused_inactive #333333 #333333 #888888 #292d2e
client.unfocused #333333 #333333 #888888 #292d2e
client.urgent #2f343a #900000 #ffffff #900000
# Remove border or fix workspace id for some apps
for_window [class="Spotify"] border none, move container to workspace 3
#for_window [class="Clementine"] border none, move container to workspace 3
for_window [class="Thunderbird"] border none, move container to workspace 2
for_window [class="Firefox"], move container to workspace 1
#for_window [class="Firefox"]fullscreen enable, move container to workspace 1
for_window [class="Ristretto"] fullscreen enable

BIN
config/i3/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

128
config/i3status/config Normal file
View file

@ -0,0 +1,128 @@
# 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!
#general {
# output_format = "i3bar"
# colors = true
# interval = 5
# separator = "❱"
#}
general {
colors = true
interval = 5
color_good = "#66BB6A"
color_bad = "#DE935F"
color_degraded = "#A54242"
}
order += "disk /"
order += "disk /home"
order += "vpn_status"
order += "wireless _first_"
order += "ethernet _first_"
#order += "path_exists VPN"
order += "battery_level"
#order += "sysdata base"
#order += "sysdata temp"
#order += "nvidia_temp"
#order += "uptime"
order += "volume master"
order += "static_string prev"
order += "external_script spotify"
order += "static_string next"
order += "static_string screenshot"
order += "tztime local"
uptime {
format = "up: {days}d {hours}h {minutes}m"
}
static_string prev {
format = ""
on_click 1 = "exec --no-startup-id qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
}
external_script spotify {
cache_timeout = 10
format = "{output}"
script_path = 'pidof spotify >/dev/null && echo " "$(qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep "^xesam:\(title\|artist\):" | grep -o " .*" | column | sed "s/\t\+/:/g") || (echo "")'
on_click 1 = "exec --no-startup-id pidof spotify && qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
}
static_string next {
format = ""
on_click 1 = "exec --no-startup-id qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
}
static_string screenshot {
format = ""
on_click 1 = "exec --no-startup-id ~/Bin/screenshooter.sh"
}
vpn_status {
format = " {name}|"
color_bad = "#DE935F"
color_good = "#66BB6A"
pidfile = "/sys/class/net/tun0/dev_id"
check_pid = "true"
}
battery_level {
battery_id = all
charging_character=""
blocks=""
format = "{icon} {percent}%"
}
sysdata base{
format = " CPU: {cpu_usage}%, MEM: {mem_used_percent}%"
}
sysdata temp{
format = "CPU: {cpu_temp}°C"
}
wireless _first_ {
format_up = " %ip (%essid)"
format_down = " -"
}
ethernet _first_ {
format_up = " %ip (%speed)"
format_down = " -"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
path_exists VPN {
path = "/proc/sys/net/ipv4/conf/tun0"
}
tztime local {
format = "%m/%d %H:%M:%S"
}
disk "/" {
format = " / %percentage_free"
}
disk "/home" {
format = " /home %percentage_free"
on_click 1 = "exec --no-startup-id sunflower"
}
volume master {
format = "♪ %volume"
format_muted = "♪ muted"
device = "default"
mixer = "Master"
mixer_idx = 0
}

732
config/neofetch/config Normal file
View file

@ -0,0 +1,732 @@
# Neofetch config file
# https://github.com/dylanaraps/neofetch
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Resolution" resolution
info "DE" de
info "WM" wm
# info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
info "GPU Driver" gpu_driver # Linux only
info "CPU Usage" cpu_usage
# info "Disk" disk
info "Battery" battery
info "Font" font
# info "Song" song
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
# info "Install Date" install_date
# info "Locale" locale # This only works on glibc systems.
# info line_break
# info cols
# info line_break
}
# Kernel
# Shorten the output of the kernel function.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --kernel_shorthand
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
#
# Example:
# on: '4.8.9-1-ARCH'
# off: 'Linux 4.8.9-1-ARCH'
kernel_shorthand="on"
# Distro
# Shorten the output of the distro function
#
# Default: 'off'
# Values: 'on', 'off', 'tiny'
# Flag: --distro_shorthand
# Supports: Everything except Windows and Haiku
distro_shorthand="on"
# Show/Hide OS Architecture.
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --os_arch
#
# Example:
# on: 'Arch Linux x86_64'
# off: 'Arch Linux'
os_arch="on"
# Uptime
# Shorten the output of the uptime function
#
# Default: 'on'
# Values: 'on', 'off', 'tiny'
# Flag: --uptime_shorthand
#
# Example:
# on: '2 days, 10 hours, 3 mins'
# off: '2 days, 10 hours, 3 minutes'
# tiny: '2d 10h 3m'
uptime_shorthand="on"
# Shell
# Show the path to $SHELL
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --shell_path
#
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
# Show $SHELL version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --shell_version
#
# Example:
# on: 'bash 4.4.5'
# off: 'bash'
shell_version="on"
# CPU
# CPU speed type
#
# Default: 'bios_limit'
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
# Flag: --speed_type
# Supports: Linux with 'cpufreq'
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
speed_type="bios_limit"
# CPU speed shorthand
#
# Default: 'off'
# Values: 'on', 'off'.
# Flag: --speed_shorthand.
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
#
# Example:
# on: 'i7-6500U (4) @ 3.1GHz'
# off: 'i7-6500U (4) @ 3.100GHz'
speed_shorthand="off"
# Enable/Disable CPU brand in output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_brand
#
# Example:
# on: 'Intel i7-6500U'
# off: 'i7-6500U (4)'
cpu_brand="on"
# CPU Speed
# Hide/Show CPU speed.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_speed
#
# Example:
# on: 'Intel i7-6500U (4) @ 3.1GHz'
# off: 'Intel i7-6500U (4)'
cpu_speed="on"
# CPU Cores
# Display CPU cores in output
#
# Default: 'logical'
# Values: 'logical', 'physical', 'off'
# Flag: --cpu_cores
# Support: 'physical' doesn't work on BSD.
#
# Example:
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
# off: 'Intel i7-6500U @ 3.1GHz'
cpu_cores="logical"
# CPU Temperature
# Hide/Show CPU temperature.
# Note the temperature is added to the regular CPU function.
#
# Default: 'off'
# Values: 'C', 'F', 'off'
# Flag: --cpu_temp
# Supports: Linux, BSD
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
# coretemp kernel module. This only supports newer Intel processors.
#
# Example:
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="C"
# GPU
# Enable/Disable GPU Brand
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gpu_brand
#
# Example:
# on: 'AMD HD 7950'
# off: 'HD 7950'
gpu_brand="on"
# Which GPU to display
#
# Default: 'all'
# Values: 'all', 'dedicated', 'integrated'
# Flag: --gpu_type
# Supports: Linux
#
# Example:
# all:
# GPU1: AMD HD 7950
# GPU2: Intel Integrated Graphics
#
# dedicated:
# GPU1: AMD HD 7950
#
# integrated:
# GPU1: Intel Integrated Graphics
gpu_type="all"
# Resolution
# Display refresh rate next to each monitor
# Default: 'off'
# Values: 'on', 'off'
# Flag: --refresh_rate
# Supports: Doesn't work on Windows.
#
# Example:
# on: '1920x1080 @ 60Hz'
# off: '1920x1080'
refresh_rate="on"
# Gtk Theme / Icons / Font
# Shorten output of GTK Theme / Icons / Font
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --gtk_shorthand
#
# Example:
# on: 'Numix, Adwaita'
# off: 'Numix [GTK2], Adwaita [GTK3]'
gtk_shorthand="off"
# Enable/Disable gtk2 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk2
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Adwaita [GTK3]'
gtk2="on"
# Enable/Disable gtk3 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk3
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Numix [GTK2]'
gtk3="on"
# IP Address
# Website to ping for the public IP
#
# Default: 'http://ident.me'
# Values: 'url'
# Flag: --ip_host
public_ip_host="http://ident.me"
# Disk
# Which disks to display.
# The values can be any /dev/sdXX, mount point or directory.
# NOTE: By default we only show the disk info for '/'.
#
# Default: '/'
# Values: '/', '/dev/sdXX', '/path/to/drive'.
# Flag: --disk_show
#
# Example:
# disk_show=('/' '/dev/sdb1'):
# 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
#
# disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)'
#
disk_show=('/' '/home')
# Disk subtitle.
# What to append to the Disk subtitle.
#
# Default: 'mount'
# Values: 'mount', 'name', 'dir'
# Flag: --disk_subtitle
#
# Example:
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
#
# mount: 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
#
# dir: 'Disk (/): 74G / 118G (66%)'
# 'Disk (Local Disk): 74G / 118G (66%)'
# 'Disk (Videos): 74G / 118G (66%)'
disk_subtitle="mount"
# Song
# Print the Artist and Title on separate lines
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --song_shorthand
#
# Example:
# on: 'Artist: The Fratellis'
# 'Song: Chelsea Dagger'
#
# off: 'Song: The Fratellis - Chelsea Dagger'
song_shorthand="off"
# Install Date
# Whether to show the time in the output
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --install_time
#
# Example:
# on: 'Thu 14 Apr 2016 11:50 PM'
# off: 'Thu 14 Apr 2016'
install_time="on"
# Set time format in the output
#
# Default: '24h'
# Values: '12h', '24h'
# Flag: --install_time_format
#
# Example:
# 12h: 'Thu 14 Apr 2016 11:50 PM'
# 24h: 'Thu 14 Apr 2016 23:50'
install_time_format="12h"
# Text Colors
# Text Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --colors
#
# Each number represents a different part of the text in
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
#
# Example:
# colors=(distro) - Text is colored based on Distro colors.
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
colors=(distro)
# Text Options
# Toggle bold text
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bold
bold="on"
# Enable/Disable Underline
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --underline
underline_enabled="on"
# Underline character
#
# Default: '-'
# Values: 'string'
# Flag: --underline_char
underline_char="-"
# Color Blocks
# Color block range
# The range of colors to print.
#
# Default: '0', '7'
# Values: 'num'
# Flag: --block_range
#
# Example:
#
# Display colors 0-7 in the blocks. (8 colors)
# neofetch --block_range 0 7
#
# Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15
block_range=(0 7)
# Toggle color blocks
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --color_blocks
color_blocks="on"
# Color block width in spaces
#
# Default: '3'
# Values: 'num'
# Flag: --block_width
block_width=3
# Color block height in lines
#
# Default: '1'
# Values: 'num'
# Flag: --block_height
block_height=1
# Progress Bars
# Bar characters
#
# Default: '-', '='
# Values: 'string', 'string'
# Flag: --bar_char
#
# Example:
# neofetch --bar_char 'elapsed' 'total'
# neofetch --bar_char '-' '='
bar_char_elapsed="-"
bar_char_total="="
# Toggle Bar border
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bar_border
bar_border="on"
# Progress bar length in spaces
# Number of chars long to make the progress bars.
#
# Default: '15'
# Values: 'num'
# Flag: --bar_length
bar_length=15
# Progress bar colors
# When set to distro, uses your distro's logo colors.
#
# Default: 'distro', 'distro'
# Values: 'distro', 'num'
# Flag: --bar_colors
#
# Example:
# neofetch --bar_colors 3 4
# neofetch --bar_colors distro 5
bar_color_elapsed="distro"
bar_color_total="distro"
# Info display
# Display a bar with the info.
#
# Default: 'off'
# Values: 'bar', 'infobar', 'barinfo', 'off'
# Flags: --cpu_display
# --memory_display
# --battery_display
# --disk_display
#
# Example:
# bar: '[---=======]'
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="on"
memory_display="on"
battery_display="on"
disk_display="on"
# Backend Settings
# Image backend.
#
# Default: 'ascii'
# Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
# Flag: --backend
image_backend="ascii"
# Image Source
#
# Which image or ascii file to display.
#
# Default: 'auto'
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
# Flag: --source
#
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
image_source="auto"
# Ascii Options
# Ascii distro
# Which distro's ascii art to display.
#
# Default: 'auto'
# Values: 'auto', 'distro_name'
# Flag: --ascii_distro
#
# NOTE: Arch and Ubuntu have 'old' logo variants.
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
# NOTE: Arch, Crux and Gentoo have a smaller logo variant.
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
ascii_distro="auto"
# Ascii Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --ascii_colors
#
# Example:
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro)
# Bold ascii logo
# Whether or not to bold the ascii logo.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --ascii_bold
ascii_bold="on"
# Image Options
# Image loop
# Setting this to on will make neofetch redraw the image constantly until
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --loop
image_loop="off"
# Thumbnail directory
#
# Default: '~/.cache/thumbnails/neofetch'
# Values: 'dir'
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
# Crop mode
#
# Default: 'normal'
# Values: 'normal', 'fit', 'fill'
# Flag: --crop_mode
#
# See this wiki page to learn about the fit and fill options.
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
crop_mode="normal"
# Crop offset
# Note: Only affects 'normal' crop mode.
#
# Default: 'center'
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
# 'east', 'southwest', 'south', 'southeast'
# Flag: --crop_offset
crop_offset="center"
# Image size
# The image is half the terminal width by default.
#
# Default: 'auto'
# Values: 'auto', '00px', '00%', 'none'
# Flags: --image_size
# --size
image_size="auto"
# Ggap between image and text
#
# Default: '3'
# Values: 'num', '-num'
# Flag: --gap
gap=3
# Image offsets
# Only works with the w3m backend.
#
# Default: '0'
# Values: 'px'
# Flags: --xoffset
# --yoffset
yoffset=0
xoffset=0
# Image background color
# Only works with the w3m backend.
#
# Default: ''
# Values: 'color', 'blue'
# Flag: --bg_color
background_color=
# Scrot Options
# Whether or not to always take a screenshot
# You can manually take a screenshot with "--scrot" or "-s"
#
# Default: 'off'
# Values: 'on', 'off'
# Flags: --scrot
# -s
scrot="off"
# Screenshot Program
# Neofetch will automatically use whatever screenshot tool
# is installed on your system.
#
# If 'neofetch -v' says that it couldn't find a screenshot
# tool or you're using a custom tool then you can change
# the option below to a custom command.
#
# Default: 'auto'
# Values: 'auto' 'cmd -flags'
# Flag: --scrot_cmd
scrot_cmd="auto"
# Screenshot Filename
# What to name the screenshots
#
# Default: 'neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png'
# Values: 'string'
# Flag: --scrot_name
scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# Image upload host
# Where to upload the image.
#
# Default: 'teknik'
# Values: 'imgur', 'teknik'
# Flag: --image_host
#
# NOTE: If you'd like another image host to be added to Neofetch.
# Open an issue on github.
image_host="teknik"
# Misc Options
# Stdout mode
# Turn off all colors and disables image backend (ASCII/Image).
# Useful for piping into another command.
# Default: 'off'
# Values: 'on', 'off'
stdout="off"
# Config version.
#
# NOTE: Don't change this value, neofetch reads this to determine
# how to handle backwards compatibility.
config_version="3.3.0"