Updated some things

This commit is contained in:
d4r1us-drk 2022-01-01 19:09:02 -04:00
parent 54fb679651
commit b3658f7a9c
4 changed files with 39 additions and 29 deletions

View file

@ -5,6 +5,12 @@
* ABOUT * ABOUT
This is just a personal repository where i store all my dotfiles, you're free clone them and edit them as you wish. Part of this work was based on other people's dotfiles (Distrotube for example), and it may contain scripts or binaries that they made or modify. This is just a personal repository where i store all my dotfiles, you're free clone them and edit them as you wish. Part of this work was based on other people's dotfiles (Distrotube for example), and it may contain scripts or binaries that they made or modify.
* Screenshots:
#+CAPTION: An example screenshot
#+NAME: screenshot
#+attr_org: :width 750
[[./screenshot.jpg]]
* Dependencies * Dependencies
If you want to get the full experience you need theese things: If you want to get the full experience you need theese things:
- doom emacs (the best emacs distribution) - doom emacs (the best emacs distribution)
@ -30,8 +36,7 @@ If you want to get the full experience you need theese things:
- alacritty (the terminal emulator) - alacritty (the terminal emulator)
- rofi (cool gui menu) - rofi (cool gui menu)
* Screenshots: * Awesome config
#+CAPTION: An example screenshot Here is a link to my awesome config.org located in this repository.
#+NAME: screenshot [[file:config/awesome/config.org][Link to the awesome config.org]]
#+attr_org: :width 750
[[./screenshot.jpg]]

6
bashrc
View file

@ -93,9 +93,11 @@ alias l.='exa -a | egrep "^\."'
# xbps # xbps
alias xb-up='sudo xbps-install -Su' # update the whole system alias xb-up='sudo xbps-install -Su' # update the whole system
alias xb-get='sudo xbps-install' # install a program alias xb-get='sudo xbps-install -S' # install a program
alias xb-qry='sudo xbps-query' # query details about a program alias xb-qry='sudo xbps-query' # query details about a program
alias xb-rmv='sudo xbps-remove' # remove a package with all its dependencies (it may brake something) alias xb-rmv='sudo xbps-remove -R' # remove a package with all its dependencies (it may brake something)
alias xb-cln='sudo xbps-remove -o' # remove unnecesary packages
alias xb-cln-cache='sudo xbps-remove -O' # clean the package cache
# xbps-src # xbps-src
alias xbsrc='~/.void-packages/./xbps-src pkg' alias xbsrc='~/.void-packages/./xbps-src pkg'

View file

@ -171,7 +171,7 @@ local modkey1 = "Control"
* Tags * Tags
Here are the tagnames, you can edit them as you wish. Here are the tagnames, you can edit them as you wish.
#+begin_src lua #+begin_src lua
awful.util.tagnames = { " CODE ", " WEB ", " MUSIC ", " CHAT ", " TERM1 ", " TERM2 ", " WORK1 ", " WORK2 ", " GAME " } awful.util.tagnames = { " CODE ", " WEB ", " MUSIC ", " CHAT ", " FILE ", " TERM ", " WORK1 ", " WORK2 ", " GAME " }
#+end_src #+end_src
* Wibox and wallpaper stuff * Wibox and wallpaper stuff
@ -230,19 +230,21 @@ awful.screen.connect_for_each_screen(function(s) beautiful.at_screen_connect(s)
* Bindings * Bindings
This sections is all about keyboard shortcuts or being more correct "bindings". This is the most important part of this config, all the tags are app centric, this means that they are there to host a specific application or type of applications. This sections is all about keyboard shortcuts or being more correct "bindings". This is the most important part of this config, all the tags are app centric, this means that they are there to host a specific application or type of applications.
|-----------+---------+-----+--------------------+--------------------------------------------------------------| |-----------+---------+-------+--------------------+--------------------------------------------------------------|
| Tagnumber | Tagname | Key | Type | App | | Tagnumber | Tagname | Key | Type | App |
|-----------+---------+-----+--------------------+--------------------------------------------------------------| |-----------+---------+-------+--------------------+--------------------------------------------------------------|
| 1 | CODE | F1 | Text editors | Super + F1 = Emacs / Super + Shift + F1 = spacevim | | 1 | CODE | F1 | Text editors | Super + F1 = Emacs / Super + Shift + F1 = spacevim |
| 2 | WEB | F2 | Web browsers | Super + F2 = firefox / Super + Shift + F2 = qutebrowser | | 2 | WEB | F2 | Web browsers | Super + F2 = firefox / Super + Shift + F2 = qutebrowser |
| 3 | MUSIC | F3 | Music players | Super + F3 = musikcube / Super + Shift + F3 = lollypop | | 3 | MUSIC | F3 | Music players | Super + F3 = musikcube / Super + Shift + F3 = lollypop |
| 4 | CHAT | F4 | Messaging apps | Super + F4 = element / Super + Shift + F4 = whatsapp | | 4 | CHAT | F4 | Messaging apps | Super + F4 = element / Super + Shift + F4 = whatsapp |
| 5 | TERM1 | | Terminal apps 1 | Super + Shift + f = vifm / Super + Alt + f = pcmanfm | | 5 | FILE | F5 | File managers | Super + F5 = vifm / Super + Shift + F5 = pcmanfm |
| 6 | TERM2 | | Terminal apps 2 | Super + Shift + m = pulsemixer / Super + Alt + m = alsamixer | | 6 | TERM | Enter | Terminal | Super + Enter = terminal |
| 7 | WORK1 | | Work in progress 1 | Super + d = opens rofi to select a program | | 7 | WORK1 | XX | Work in progress 1 | Super + d = opens rofi to select a program |
| 8 | WORK2 | | Work in progress 2 | Super + d = opens rofi to select a program | | 8 | WORK2 | XX | Work in progress 2 | Super + d = opens rofi to select a program |
| 9 | GAME | F9 | Games | Super + F9 = retroarch | | 9 | GAME | F9 | Games | Super + F9 = retroarch |
|-----------+---------+-----+--------------------+--------------------------------------------------------------| |-----------+---------+-------+--------------------+--------------------------------------------------------------|
| X | XXXX | XX | tag agnostic | Super + Shift + m = pulsemixer / Super + Alt + m = alsamixer |
|-----------+---------+-------+--------------------+--------------------------------------------------------------|
#+begin_src lua #+begin_src lua
-- Mouse bindings -- Mouse bindings
@ -341,9 +343,6 @@ globalkeys = my_table.join(
{description = "switch to us keyboard layout", group = "keyboard"}), {description = "switch to us keyboard layout", group = "keyboard"}),
-- Apps -- Apps
-- terminal
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
{description = "open a terminal", group = "launcher"}),
-- code -- code
awful.key({ modkey }, "F1", function () awful.spawn(editorgui) end, awful.key({ modkey }, "F1", function () awful.spawn(editorgui) end,
{description = "launch emacs", group = "apps"}), {description = "launch emacs", group = "apps"}),
@ -364,11 +363,15 @@ globalkeys = my_table.join(
{description = "launch element", group = "apps"}), {description = "launch element", group = "apps"}),
awful.key({ modkey, "Shift" }, "F4", function () awful.spawn(whatsapp) end, awful.key({ modkey, "Shift" }, "F4", function () awful.spawn(whatsapp) end,
{description = "launch whatsapp", group = "apps"}), {description = "launch whatsapp", group = "apps"}),
-- term1, term2, work1, work2 -- file
awful.key({ modkey, "Shift" }, "f", function () awful.spawn(filemanager) end, awful.key({ modkey }, "F5", function () awful.spawn(filemanager) end,
{description = "launch vifm", group = "apps"}), {description = "launch vifm", group = "apps"}),
awful.key({ modkey, altkey }, "f", function () awful.spawn(filemanagergui) end, awful.key({ modkey, "Shift" }, "F5", function () awful.spawn(filemanagergui) end,
{description = "launch pcmanfm", group = "apps"}), {description = "launch pcmanfm", group = "apps"}),
-- term
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
{description = "open a terminal", group = "launcher"}),
-- tag agnostic
awful.key({ modkey, "Shift" }, "m", function () awful.spawn(audiomixer) end, awful.key({ modkey, "Shift" }, "m", function () awful.spawn(audiomixer) end,
{description = "launch pulsemixer", group = "apps"}), {description = "launch pulsemixer", group = "apps"}),
awful.key({ modkey, altkey }, "m", function () awful.spawn(audiomixer2) end, awful.key({ modkey, altkey }, "m", function () awful.spawn(audiomixer2) end,

View file

@ -67,9 +67,9 @@ alias l.='exa -a | egrep "^\."'
# xbps # xbps
alias xb-up='sudo xbps-install -Su' # update the whole system alias xb-up='sudo xbps-install -Su' # update the whole system
alias xb-get='sudo xbps-install' # install a program alias xb-get='sudo xbps-install -S' # install a program
alias xb-qry='sudo xbps-query' # query details about a program alias xb-qry='sudo xbps-query' # query details about a program
alias xb-rmv='sudo xbps-remove' # remove a package with all its dependencies (it may brake something) alias xb-rmv='sudo xbps-remove -R' # remove a package with all its dependencies (it may brake something)
alias xb-cln='sudo xbps-remove -o' # remove unnecesary packages alias xb-cln='sudo xbps-remove -o' # remove unnecesary packages
alias xb-cln-cache='sudo xbps-remove -O' # clean the package cache alias xb-cln-cache='sudo xbps-remove -O' # clean the package cache