From 7e51564bd19e0b3f9ef7ba629035563a9b936393 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 18 Sep 2018 13:27:40 +0200 Subject: [PATCH] [DEV} better display and add some basic configs --- .bashrc | 8 +- .config/Thunar/accels.scm | 78 ++++++++++++ .config/Thunar/renamerrc | 10 ++ .config/Thunar/uca.xml | 13 ++ .config/awesome/rc.lua | 6 +- .config/awesome/theme/layouts/cornerne.png | Bin 0 -> 451 bytes .config/awesome/theme/layouts/cornernew.png | Bin 0 -> 409 bytes .config/awesome/theme/layouts/cornernw.png | Bin 0 -> 439 bytes .config/awesome/theme/layouts/cornernww.png | Bin 0 -> 381 bytes .config/awesome/theme/layouts/cornerse.png | Bin 0 -> 424 bytes .config/awesome/theme/layouts/cornersew.png | Bin 0 -> 411 bytes .config/awesome/theme/layouts/cornersw.png | Bin 0 -> 424 bytes .config/awesome/theme/layouts/cornersww.png | Bin 0 -> 423 bytes .config/awesome/theme/theme.lua | 118 +++++++++++------- .../awesome/theme/titlebar/minimize_focus.png | Bin 0 -> 277 bytes .../theme/titlebar/minimize_normal.png | Bin 0 -> 272 bytes .config/terminator/config | 77 ++++++++++++ 9_remove_rm_to_prevent_error.md | 23 ++++ 18 files changed, 283 insertions(+), 50 deletions(-) create mode 100644 .config/Thunar/accels.scm create mode 100644 .config/Thunar/renamerrc create mode 100644 .config/Thunar/uca.xml create mode 100644 .config/awesome/theme/layouts/cornerne.png create mode 100644 .config/awesome/theme/layouts/cornernew.png create mode 100644 .config/awesome/theme/layouts/cornernw.png create mode 100644 .config/awesome/theme/layouts/cornernww.png create mode 100644 .config/awesome/theme/layouts/cornerse.png create mode 100644 .config/awesome/theme/layouts/cornersew.png create mode 100644 .config/awesome/theme/layouts/cornersw.png create mode 100644 .config/awesome/theme/layouts/cornersww.png create mode 100644 .config/awesome/theme/titlebar/minimize_focus.png create mode 100644 .config/awesome/theme/titlebar/minimize_normal.png create mode 100644 .config/terminator/config create mode 100644 9_remove_rm_to_prevent_error.md diff --git a/.bashrc b/.bashrc index 182c63e..55161c6 100644 --- a/.bashrc +++ b/.bashrc @@ -42,8 +42,6 @@ PATH=$PATH:/home/heero/.bin PATH=$PATH:/home/heero/.local/bin PATH=$PATH:/home/heero/.local/application/ -PS1='\[\033[01;32m\][\u]\[\033[00m\]\[\033[01;34m\]\w\[\033[00m\]\$ ' - c_red='^[[31m' c_green='^[[32m' c_sgr0='^[[00m' @@ -102,12 +100,14 @@ parse_cvs_branch() { PS1='\033]0;$(workspaceMode.sh \w) \W\007\r\[\033[01;32m\][ \h : \u ]\[\033[01;33m\]$(parse_git_branch)$(parse_svn_branch)$(parse_cvs_branch)\[\033[00m\]\[\033[01;34m\]\w\[\033[00m\]\n\$ ' -export UBUNTU_MENUPROXY=0 +#export UBUNTU_MENUPROXY=0 export XAUTHORITY=/home/heero/.Xauthority -[[ oo $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx +#[[ oo $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx # force lang of output in english ==> better for developpement LANG=en_US.UTF-8 +# prevent the removing by error +alias rm='echo -e "========================================================\n== You must use trash instead of rm ==> prevent error ==\n========================================================\n"; echo > /dev/null' diff --git a/.config/Thunar/accels.scm b/.config/Thunar/accels.scm new file mode 100644 index 0000000..1e281e6 --- /dev/null +++ b/.config/Thunar/accels.scm @@ -0,0 +1,78 @@ +; thunar GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +; (gtk_accel_path "/ThunarLauncher/sendto-desktop" "") +; (gtk_accel_path "/ThunarStandardView/create-folder" "n") +; (gtk_accel_path "/ThunarWindow/zoom-reset" "0") +; (gtk_accel_path "/ThunarWindow/view-side-pane-menu" "") +; (gtk_accel_path "/ThunarWindow/view-as-detailed-list" "2") +; (gtk_accel_path "/ThunarWindow/open-home" "Home") +; (gtk_accel_path "/ThunarWindow/view-menu" "") +; (gtk_accel_path "/ThunarLauncher/open" "o") +; (gtk_accel_path "/ThunarWindow/go-menu" "") +; (gtk_accel_path "/ThunarBookmarks/8e2247c1d8627e482aa2b6ecf497e386" "") +; (gtk_accel_path "/ThunarWindow/open-file-system" "") +; (gtk_accel_path "/ThunarWindow/zoom-out" "minus") +; (gtk_accel_path "/ThunarStandardView/paste" "v") +; (gtk_accel_path "/ThunarLauncher/open-with-menu" "") +; (gtk_accel_path "/ThunarWindow/help-menu" "") +; (gtk_accel_path "/ThunarWindow/file-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-with-other-in-menu" "") +; (gtk_accel_path "/ThunarWindow/detach-tab" "") +; (gtk_accel_path "/ThunarLauncher/open-in-new-tab" "p") +; (gtk_accel_path "/ThunarWindow/view-menubar" "m") +; (gtk_accel_path "/ThunarStandardView/back" "Left") +; (gtk_accel_path "/ThunarBookmarks/73c038eac37b3dcda0e7156866ebfbe9" "") +; (gtk_accel_path "/ThunarWindow/close-tab" "w") +; (gtk_accel_path "/ThunarWindow/view-as-compact-list" "3") +; (gtk_accel_path "/ThunarWindow/view-side-pane-tree" "e") +; (gtk_accel_path "/ThunarBookmarks/2edeb79d8bc81c44f4ba5acfc7f3a867" "") +; (gtk_accel_path "/ThunarStandardView/restore" "") +; (gtk_accel_path "/ThunarWindow/open-network" "") +; (gtk_accel_path "/ThunarWindow/new-tab" "t") +; (gtk_accel_path "/ThunarWindow/preferences" "") +; (gtk_accel_path "/ThunarStandardView/rename" "F2") +; (gtk_accel_path "/ThunarWindow/sendto-menu" "") +; (gtk_accel_path "/ThunarWindow/edit-menu" "") +; (gtk_accel_path "/ThunarActions/uca-action-1443600333667826-1" "") +; (gtk_accel_path "/ThunarLauncher/open-with-other" "") +; (gtk_accel_path "/ThunarBookmarks/df41e527a786ea57ad8d47afb6d0d4bb" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-toolbar" "") +; (gtk_accel_path "/ThunarStandardView/invert-selection" "") +; (gtk_accel_path "/ThunarStandardView/make-link" "") +; (gtk_accel_path "/ThunarWindow/view-as-icons" "1") +; (gtk_accel_path "/ThunarWindow/new-window" "n") +; (gtk_accel_path "/ThunarStandardView/forward" "Right") +; (gtk_accel_path "/ThunarStandardView/move-to-trash" "") +; (gtk_accel_path "/ThunarStandardView/select-by-pattern" "s") +; (gtk_accel_path "/ThunarBookmarks/2a20ac7a754d053472dec1e714145c32" "") +; (gtk_accel_path "/ThunarWindow/about" "") +; (gtk_accel_path "/ThunarStandardView/setup-columns" "") +; (gtk_accel_path "/ThunarWindow/contents" "F1") +; (gtk_accel_path "/ThunarWindow/open-desktop" "") +; (gtk_accel_path "/ThunarWindow/close-all-windows" "w") +; (gtk_accel_path "/ThunarWindow/zoom-in" "plus") +; (gtk_accel_path "/ThunarStandardView/duplicate" "") +; (gtk_accel_path "/ThunarWindow/open-parent" "Up") +; (gtk_accel_path "/ThunarWindow/view-side-pane-shortcuts" "b") +; (gtk_accel_path "/ThunarWindow/reload" "r") +; (gtk_accel_path "/ThunarWindow/open-templates" "") +; (gtk_accel_path "/ThunarStandardView/copy" "c") +; (gtk_accel_path "/ThunarWindow/view-location-selector-pathbar" "") +; (gtk_accel_path "/ThunarWindow/open-trash" "") +; (gtk_accel_path "/ThunarStandardView/properties" "Return") +; (gtk_accel_path "/ThunarStandardView/delete" "") +; (gtk_accel_path "/ThunarWindow/empty-trash" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-in-new-window" "o") +; (gtk_accel_path "/ThunarBookmarks/d3aae9aa332b72c43cb445d6970970a3" "") +; (gtk_accel_path "/ThunarStandardView/cut" "x") +; (gtk_accel_path "/ThunarWindow/close-window" "q") +; (gtk_accel_path "/ThunarStandardView/select-all-files" "") +; (gtk_accel_path "/ThunarBookmarks/57e6723247b52eba349cf350cbcc2b96" "") +; (gtk_accel_path "/ThunarBookmarks/15740f736d9e644f05671f248aa8910a" "") +; (gtk_accel_path "/ThunarWindow/open-location" "l") +; (gtk_accel_path "/ThunarBookmarks/3bb0252b3a4d0fcb3b5b5e904bf4e7d9" "") +; (gtk_accel_path "/ThunarWindow/view-statusbar" "") +; (gtk_accel_path "/ThunarWindow/show-hidden" "h") +; (gtk_accel_path "/ThunarStandardView/paste-into-folder" "") diff --git a/.config/Thunar/renamerrc b/.config/Thunar/renamerrc new file mode 100644 index 0000000..b169f6e --- /dev/null +++ b/.config/Thunar/renamerrc @@ -0,0 +1,10 @@ +[Configuration] +LastActiveMode=THUNAR_RENAMER_MODE_BOTH +LastActiveRenamer=ThunarSbrReplaceRenamer + +[ThunarSbrReplaceRenamer] +Regexp=FALSE +Replacement=É +CaseSensitive=FALSE +Pattern=_?_ + diff --git a/.config/Thunar/uca.xml b/.config/Thunar/uca.xml new file mode 100644 index 0000000..fb04b8c --- /dev/null +++ b/.config/Thunar/uca.xml @@ -0,0 +1,13 @@ + + + + utilities-terminal + Open Terminal Here + 1443600333667826-1 + exo-open --working-directory %f --launch TerminalEmulator + Example for a custom action + * + + + + diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 59f6e51..650a57c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -38,7 +38,9 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. -beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua") +-- beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua") +-- beautiful.init("theme/theme.lua") +beautiful.init("~/.config/awesome/theme/theme.lua") -- This is used later as the default terminal and editor to run. terminal = "terminator" @@ -83,7 +85,7 @@ local function client_menu_toggle_fn() instance:hide() instance = nil else - instance = awful.menu.clients({ theme = { width = 250 } }) + instance = awful.menu.clients({ theme = { width = 350 } }) end end end diff --git a/.config/awesome/theme/layouts/cornerne.png b/.config/awesome/theme/layouts/cornerne.png new file mode 100644 index 0000000000000000000000000000000000000000..e7fb61bb6250e5ca65494dfad9979a8957aabe3e GIT binary patch literal 451 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)35=aM#78c%TSpfk$L9 zP{(x;W^~e+T>%tiFY)wsWxvlV%g-Cb)ck=doD5#NZ(MEs2NEK_?dUYj_7bChDsv^5KU zDtJyRo|f94-|Ez{d&;Lt%U*t*UUmJ|?DD&X-&Sqq+i!X$s=YM!{i;<~e}mpf)qdW_ z7V4GTX7<*~dfC0LyVAI)zheYC4*?F`UYmJ__w{=Q4^92#b<^vov(M1#T6BDleL>_j zMmeCmJy*Oue2g96?`N!>_r6_3YpI#@`6|`}Cc;OU5vG7x_KXuaCvnc|^eK3$W|1EM zV%Ax!hMm8h=BG#A7yfdO<@l_K%OMqlObzjy=DnKrj>~^*^PTJ0cd;KStTFCA-74^X zk;XQ?Us3-#Z~R!Fuu3+itkuvFV!?rQhGjDs^x7Oqjek9JL8jb;UHVQLH>;Rjl6HK^ S*?UwFq{`FP&t;ucLK6UD-mh!` literal 0 HcmV?d00001 diff --git a/.config/awesome/theme/layouts/cornernew.png b/.config/awesome/theme/layouts/cornernew.png new file mode 100644 index 0000000000000000000000000000000000000000..aeaf3311ad8f87080e8ae5a2474356be9094dd06 GIT binary patch literal 409 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE(}T_xaPG;Ay9;~z$3C4 zsN*^aGdgL^t^f+Mmw5WRvfpQw<>y!V`eL^?0|TR)r;B4q#jUrq4)Qh|2(a{bi2b<0 z=<9H5fy*h5&>hV68cIK11v@#P^&G7D)@gCN=Lna+c9X!V$fJJ_8SwOP%iUeyeA%Sa zFzwCnfBRDHw#EF`eQs{%yE*G~XlQ3gN%ZsN(_8P)e(W~i)%?6XOQNJh9uv?V2w>;u zYp1^EG^4?>9=qeGPd{ahip-v$UiV-Gl>=U#E^o#(nI>~oK$);A|ltA>M7L3ipx@hfGm-(M-L zf5(-*^exx>tB!GZMXzZc+26F+>O@Jap(DiL14azFY7$EP9Xs XrzPv}#V=@I3{vFj>gTe~DWM4fkFb*Q literal 0 HcmV?d00001 diff --git a/.config/awesome/theme/layouts/cornernw.png b/.config/awesome/theme/layouts/cornernw.png new file mode 100644 index 0000000000000000000000000000000000000000..bac56728fe5ece81d7a57f0e971ee89ae63ccdc7 GIT binary patch literal 439 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)35=aM#78c%TSpfk$L9 zP{(x;W^~e+T>%tiFY)wsWxvlV%g@go@Q6==fq~J*)5S5Q;?~<)2YH(eMB2I^vCVB@ zw7H}h(bVm}tbnDjDuL;{hI7GVw?hoGUd+AXk$Ev}-+zx=)358-)*qVB)hKXl)1;T} zt5)eny)KeyGue{Xy=cd^(%Pt7>ofn~+we~8(Zg1OB$?yM_rE`1`ghj1_shDSZ2#=O zm-EYX?cLnF%s@vWK!bdgU5|R?Xyg)Vx}AhIx}tbz9AYb+3iofa*RhGx^56 zBdzJ;eTLZ#;n}hO?s81vOlm@yz`$@rjlsy#$kFD2KEv#pT$T64nK#T_8GmN?`&piE z!f%)g_sBJ@&Gh#b5x!&9a3ytFPFn8TUH5zq&VSzhx;Rqv>Ehhmhs|GAeP@u*Z;ieG z<<^y>a3^wT^BY{{Som&@&jok6gkSmm3*SjqGC67F?PXZ$v+u*5drqbxhj_aBxvX%9{Rt#=pU|{6(ba4!+xb^myAz!lrk3%4PAs7G4 zi?=4HJW#WZGA`iV6?TB3*U|5j?VVOScQ1M@EzSLXcck@~d(1$~;b6hN6RO$K3?AwNmnK#o zc=U72Dk%*{1_p!fjo+B3oMVaJ!I;jrBe+}jfX@Uq4!AA`hxrU=SXyT)*d7p3Fb{fP z&#ZEs%tiFY)wsWxvlV%g=Ac|GZ6ufq~J~)5S5Q;?~<)XL(x`MA)w8aE3fM znfpLAQFmIhu9ze9>yun>4(?s-CSaiOS(ex4tjj;Q)m;KXMOmK@8Sw1SoV9CppVvw+ zmuH1C`^$eV4=QJOaM@NGyS6)P?d#otgIC<1(HoOjbmiK2#rf-QPqAYMIsyy?47^rq zm?mB2<#TXJyWeiJN^teNJncK%-aZSeh@3V{k)c7H@x|}DZL-1JayNfs-1pIT`|+-= z{2Uv&auoa4ZB&T))gY1nE~JUy;>7cJ5_ZzTH`g;oy*~G?bW`qZQHFT+6K)(ZtHAUL z;fC&d{)ew7Gbg;hf8M4#k8|CTnEl!|vY)NlfWgGY?{{HOgYXefBTgnHeG5Do_W2p4 q`e%GyzhS+w&sE`lM-zpd4n5=7xmpv$pGDU|`hnba4!+xb=3{LBVDP5!U^FQ6G}n z%@%4N7SdI|#Ufj=u;Yne5>wrYhBww$A12+D3zopr0ACoI#{d8T literal 0 HcmV?d00001 diff --git a/.config/awesome/theme/layouts/cornersw.png b/.config/awesome/theme/layouts/cornersw.png new file mode 100644 index 0000000000000000000000000000000000000000..0d519b5c6ce9a4b1c8c1ffea2358b6762ece30e8 GIT binary patch literal 424 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)35=aM#78c%TSpfk$L9 zP{(x;W^~e+T>%tiFY)wsWxvlV%P+vem37mMfq~J~)5S5Q;?~<)2YFi*1Y9rXaE3iN znVZlxBTDD^s%4E|Q&_(}xHr)^g;Dv}zl#qz^nWSOFXU7Fl4AO=wNS=B&1}ubrc^Kf~#`BmC|?kmgoz283L>^Irn$516=_I5B}&J zITfxPe)kDOk74zj<{rb}!KIVmvt~`+`i)1@-Z!|No#BBigUgd`+dEGD^N^cRyzyO~ z-A>MBH?}{Yly5)(kFZAR$DPlv?cuD;ig(CSi}))okaQ#J^~cir3^NtfIAHbw=>{{# z7MHjCHeO}su+0B3S3Bm>(hGC`X71c+CkK>u>Gau9#*osK(lkQ>NfW~)h7%Y2XM1h5 sJ+a;Bpos0>og%lJ=PbT1p%}7#-`CW&j}zxU5C*CDboFyt=akR{0DS|Yd;kCd literal 0 HcmV?d00001 diff --git a/.config/awesome/theme/theme.lua b/.config/awesome/theme/theme.lua index fa7655d..d3c00fd 100644 --- a/.config/awesome/theme/theme.lua +++ b/.config/awesome/theme/theme.lua @@ -2,12 +2,19 @@ -- Default awesome theme -- --------------------------- -theme = {} +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local gfs = require("gears.filesystem") +local themes_path = gfs.get_themes_dir() + +local theme = {} theme.font = "sans 8" theme.bg_normal = "#222222" -theme.bg_focus = "#cc5d6c" +theme.bg_focus = "#535d6c" theme.bg_urgent = "#ff0000" theme.bg_minimize = "#444444" theme.bg_systray = theme.bg_normal @@ -17,7 +24,8 @@ theme.fg_focus = "#ffffff" theme.fg_urgent = "#ffffff" theme.fg_minimize = "#ffffff" -theme.border_width = 1 +theme.useless_gap = dpi(0) +theme.border_width = dpi(1) theme.border_normal = "#000000" theme.border_focus = "#535d6c" theme.border_marked = "#91231c" @@ -25,24 +33,37 @@ theme.border_marked = "#91231c" -- There are other variable sets -- overriding the default one when -- defined, the sets are: --- taglist_[bg|fg]_[focus|urgent|occupied|empty] +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] -- tasklist_[bg|fg]_[focus|urgent] -- titlebar_[bg|fg]_[normal|focus] -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] -- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] -- Example: --theme.taglist_bg_focus = "#ff0000" --- Display the taglist squares -theme.taglist_squares_sel = "~/.config/awesome/theme/taglist/squarefw.png" -theme.taglist_squares_unsel = "~/.config/awesome/theme/taglist/squarew.png" +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- notification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] -- Variables set for theming the menu: -- menu_[bg|fg]_[normal|focus] -- menu_[border_color|border_width] -theme.menu_submenu_icon = "~/.config/awesome/theme/submenu.png" -theme.menu_height = 15 -theme.menu_width = 100 +theme.menu_submenu_icon = themes_path.."default/submenu.png" +theme.menu_height = dpi(30) +theme.menu_width = dpi(180) -- You can add as many variables as -- you wish and access them by using @@ -50,52 +71,61 @@ theme.menu_width = 100 --theme.bg_widget = "#cc0000" -- Define the image to load -theme.titlebar_close_button_normal = "~/.config/awesome/theme/titlebar/close_normal.png" -theme.titlebar_close_button_focus = "~/.config/awesome/theme/titlebar/close_focus.png" +theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png" -theme.titlebar_ontop_button_normal_inactive = "~/.config/awesome/theme/titlebar/ontop_normal_inactive.png" -theme.titlebar_ontop_button_focus_inactive = "~/.config/awesome/theme/titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_active = "~/.config/awesome/theme/titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_active = "~/.config/awesome/theme/titlebar/ontop_focus_active.png" +theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png" -theme.titlebar_sticky_button_normal_inactive = "~/.config/awesome/theme/titlebar/sticky_normal_inactive.png" -theme.titlebar_sticky_button_focus_inactive = "~/.config/awesome/theme/titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_active = "~/.config/awesome/theme/titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_active = "~/.config/awesome/theme/titlebar/sticky_focus_active.png" +theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png" -theme.titlebar_floating_button_normal_inactive = "~/.config/awesome/theme/titlebar/floating_normal_inactive.png" -theme.titlebar_floating_button_focus_inactive = "~/.config/awesome/theme/titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_active = "~/.config/awesome/theme/titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_active = "~/.config/awesome/theme/titlebar/floating_focus_active.png" +theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png" -theme.titlebar_maximized_button_normal_inactive = "~/.config/awesome/theme/titlebar/maximized_normal_inactive.png" -theme.titlebar_maximized_button_focus_inactive = "~/.config/awesome/theme/titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_active = "~/.config/awesome/theme/titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_active = "~/.config/awesome/theme/titlebar/maximized_focus_active.png" +theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png" --- theme.wallpaper "/home/edupin/.config/awesome/background/background-images-15.jpg" -wallpaper_cmd = "find ~/.config/awesome/background/ -type f -name '*.jpg' -o -name '*.png' | shuf -n 1 | xargs feh --bg-scale" +theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png" +theme.wallpaper = themes_path.."default/background.png" -- You can use your own layout icons like this: -theme.layout_fairh = "~/.config/awesome/theme/layouts/fairhw.png" -theme.layout_fairv = "~/.config/awesome/theme/layouts/fairvw.png" -theme.layout_floating = "~/.config/awesome/theme/layouts/floatingw.png" -theme.layout_magnifier = "~/.config/awesome/theme/layouts/magnifierw.png" -theme.layout_max = "~/.config/awesome/theme/layouts/maxw.png" -theme.layout_fullscreen = "~/.config/awesome/theme/layouts/fullscreenw.png" -theme.layout_tilebottom = "~/.config/awesome/theme/layouts/tilebottomw.png" -theme.layout_tileleft = "~/.config/awesome/theme/layouts/tileleftw.png" -theme.layout_tile = "~/.config/awesome/theme/layouts/tilew.png" -theme.layout_tiletop = "~/.config/awesome/theme/layouts/tiletopw.png" -theme.layout_spiral = "~/.config/awesome/theme/layouts/spiralw.png" -theme.layout_dwindle = "~/.config/awesome/theme/layouts/dwindlew.png" +theme.layout_fairh = themes_path.."default/layouts/fairhw.png" +theme.layout_fairv = themes_path.."default/layouts/fairvw.png" +theme.layout_floating = themes_path.."default/layouts/floatingw.png" +theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png" +theme.layout_max = themes_path.."default/layouts/maxw.png" +theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png" +theme.layout_tile = themes_path.."default/layouts/tilew.png" +theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png" +theme.layout_spiral = themes_path.."default/layouts/spiralw.png" +theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path.."default/layouts/cornernww.png" +theme.layout_cornerne = themes_path.."default/layouts/cornernew.png" +theme.layout_cornersw = themes_path.."default/layouts/cornersww.png" +theme.layout_cornerse = themes_path.."default/layouts/cornersew.png" -theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png" +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) --- Define the icon theme for application icons. If not set then the icons +-- Define the icon theme for application icons. If not set then the icons -- from /usr/share/icons and /usr/share/icons/hicolor will be used. theme.icon_theme = nil return theme + -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/.config/awesome/theme/titlebar/minimize_focus.png b/.config/awesome/theme/titlebar/minimize_focus.png new file mode 100644 index 0000000000000000000000000000000000000000..ff427b36f616c0243ec05544db08ce78fce05340 GIT binary patch literal 277 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHj>ko3Ij7ZnahtP-u~-i(^Q|t+&@UavnAiU=5fn9qyOE zb_VMl&P|SPTYj%7TKeT63p-Ee#pAt0`Wav L{an^LB{Ts5esO19 literal 0 HcmV?d00001 diff --git a/.config/awesome/theme/titlebar/minimize_normal.png b/.config/awesome/theme/titlebar/minimize_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..aa4744730757534a7d4be08b406e12fe0f4f9ec1 GIT binary patch literal 272 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHj>ko3N_Rzc(ARfI@RUT^vIyZoR#Bkn@m%2-}1GN)<(0 z$^^w%2)|&_yL7SWm1f*httAf@9(`}kdP$|$UU3f#P!|yVbGrWPp^5KwmF+6ek6zi+ zXyvE>I4E1TJ+Weoj?FrYC&3?2AKw1pPU&4+&tQgjQ|b3F(#-$Aet7>r10#n615-w5 zSxETLN`|f13e^>-s9c|4-W0#<@LE&Hm%r=yAU5o&WJ-t<-;%lHP#s9X)78&qol`;+ E08>L`*8l(j literal 0 HcmV?d00001 diff --git a/.config/terminator/config b/.config/terminator/config new file mode 100644 index 0000000..6adc16d --- /dev/null +++ b/.config/terminator/config @@ -0,0 +1,77 @@ +[global_config] + enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler + scroll_tabbar = True + suppress_multiple_term_dialog = True +[keybindings] + broadcast_all = None + broadcast_group = None + broadcast_off = None + close_term = None + close_window = None + copy = c + cycle_next = None + cycle_prev = None + edit_tab_title = None + edit_terminal_title = None + edit_window_title = None + full_screen = None + go_down = None + go_left = None + go_next = None + go_prev = None + go_right = None + go_up = None + group_all = None + group_all_toggle = None + group_tab = None + group_tab_toggle = None + help = None + hide_window = None + insert_number = None + insert_padded = None + layout_launcher = None + move_tab_left = None + move_tab_right = None + new_tab = t + new_terminator = None + new_window = None + next_profile = None + next_tab = None + page_down = None + paste = v + prev_tab = None + reset = None + reset_clear = None + resize_down = None + resize_left = None + resize_right = None + resize_up = None + rotate_ccw = None + rotate_cw = None + scaled_zoom = None + search = None + split_horiz = None + split_vert = None + toggle_scrollbar = None + toggle_zoom = None + ungroup_all = None + ungroup_tab = None + zoom_in = None + zoom_normal = None + zoom_out = None +[layouts] + [[default]] + [[[child1]]] + parent = window0 + type = Terminal + [[[window0]]] + parent = "" + type = Window +[plugins] +[profiles] + [[default]] + cursor_color = "#aaaaaa" + font = FreeMono 14 + scrollback_lines = 500000 + split_to_group = True + use_system_font = False diff --git a/9_remove_rm_to_prevent_error.md b/9_remove_rm_to_prevent_error.md new file mode 100644 index 0000000..00d598c --- /dev/null +++ b/9_remove_rm_to_prevent_error.md @@ -0,0 +1,23 @@ +Install trash management interface +================================== + +Remove the rm command permit to prevent the r=error of reomoving current work element + +Install +======= + +``` +pacman -S trash-cli +``` + + +Configure your bash +=================== + +edit your bashrc: ```vim ~/.bashrc``` + +``` +# prevent the removing by error +alias rm='echo -e "========================================================\n== You must use trash instead of rm ==> prevent error ==\n========================================================\n"; echo > /dev/null' +``` +