This commit is contained in:
Clay Manuel Gomera Arias 2022-02-27 23:08:25 -04:00
parent 087801700e
commit 350a943216
7 changed files with 17 additions and 63 deletions

View file

@ -125,6 +125,7 @@ alias doomsync="~/.emacs.d/bin/doom sync"
alias doomdoctor="~/.emacs.d/bin/doom doctor"
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
alias doompurge="~/.emacs.d/bin/doom purge"
alias doominstall="~/.emacs.d/bin/doom install"
# Changing "ls" to "exa"
alias ls='exa -al --color=always --group-directories-first' # my preferred listing

View file

@ -615,7 +615,8 @@ colors: *gruvbox-dark
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
# background_opacity: 0.70
window:
opacity: 0.95
#selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"

View file

@ -114,20 +114,9 @@ local terminal = "alacritty"
-- Standard Apps
local edit = "emacsclient -c -a emacs"
local file = "alacritty -e ./.config/vifm/scripts/vifmrun"
local web = "firefox"
local web = "qutebrowser"
local music = "alacritty -e musikcube"
local games = "retroarch"
-- Specific Apps
local libreoffice = "libreoffice"
local gimp = "gimp"
local inkscape = "inkscape"
local krita = "krita"
local audacity = "audacity"
local obs = "obs"
local thunderbird = "thunderbird"
local qbittorrent = "qbittorrent"
local pulsemixer = "alacritty -e pulsemixer"
local alsamixer = "alacritty -e alsamixer"
-- Key bindings variables
local modkey = "Mod4"
local altkey = "Mod1"
@ -292,50 +281,24 @@ globalkeys = my_table.join(
-- Apps
-- edit
awful.key({ modkey }, "F1", function () awful.spawn(edit) end,
{description = "Launch text editor", group = "Standard Apps"}),
{description = "Launch text editor", group = "Apps"}),
-- file
awful.key({ modkey }, "F2", function () awful.spawn(file) end,
{description = "Launch file manager", group = "Standard Apps"}),
{description = "Launch file manager", group = "Apps"}),
-- web
awful.key({ modkey }, "F3", function () awful.spawn(web) end,
{description = "Launch web browser", group = "Standard Apps"}),
{description = "Launch web browser", group = "Apps"}),
-- music
awful.key({ modkey }, "F4", function () awful.spawn(music) end,
{description = "Launch music player", group = "Standard Apps"}),
{description = "Launch music player", group = "Apps"}),
-- games
awful.key({ modkey }, "F7", function () awful.util.spawn(games) end,
{description = "Launch gaming app", group = "Standard Apps"}),
-- Specific Apps
-- libreoffice
awful.key({ modkey, modkey1 }, "F1", function () awful.spawn(libreoffice) end,
{description = "Launch libreoffice", group = "Specific Apps"}),
-- gimp
awful.key({ modkey, modkey1 }, "F2", function () awful.spawn(gimp) end,
{description = "Launch gimp", group = "Specific Apps"}),
-- inkscape
awful.key({ modkey, modkey1 }, "F3", function () awful.spawn(inkscape) end,
{description = "Launch inkscape", group = "Specific Apps"}),
-- krita
awful.key({ modkey, modkey1 }, "F4", function () awful.spawn(krita) end,
{description = "Launch krita", group = "Specific Apps"}),
-- audacity
awful.key({ modkey, modkey1 }, "F5", function () awful.spawn(audacity) end,
{description = "Launch audacity", group = "Specific Apps"}),
-- obs
awful.key({ modkey, modkey1 }, "F6", function () awful.spawn(obs) end,
{description = "Launch obs", group = "Specific Apps"}),
-- thunderbird
awful.key({ modkey, modkey1 }, "F7", function () awful.spawn(thunderbird) end,
{description = "Launch thunderbird", group = "Specific Apps"}),
-- transmission
awful.key({ modkey, modkey1 }, "F8", function () awful.spawn(qbittorrent) end,
{description = "Launch qbittorrent", group = "Specific Apps"}),
-- pulsemixer
awful.key({ modkey, modkey1 }, "F9", function () awful.spawn(pulsemixer) end,
{description = "Launch pulsemixer", group = "Specific Apps"}),
-- alsamixer
awful.key({ modkey, altkey }, "F9", function () awful.spawn(alsamixer) end,
{description = "Launch alsamixer", group = "Specific Apps"}),
{description = "Launch gaming app", group = "Apps"}),
-- misc
awful.key({ modkey, "Shift" }, "p", function () awful.util.spawn("alacritty -e pulsemixer") awful.util.spawn("alacritty -e alsamixer") end,
{description = "Launch mixers", group = "Apps"}),
awful.key({ modkey, altkey }, "w", function () awful.util.spawn("alacritty -e nmtui connect") end,
{description = "Launch mixers", group = "Apps"}),
-- Volume
awful.key({}, "XF86AudioRaiseVolume", function() volume_widget:inc(5) end,
{description = "Increase volume", group = "Quick Actions"}),

View file

@ -135,6 +135,7 @@ alias doomsync="~/.emacs.d/bin/doom sync"
alias doomdoctor="~/.emacs.d/bin/doom doctor"
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
alias doompurge="~/.emacs.d/bin/doom purge"
alias doominstall="~/.emacs.d/bin/doom install"
# Changing "ls" to "exa"
alias ls='exa -al --color=always --group-directories-first' # my preferred listing

View file

@ -29,7 +29,6 @@ selectnet() {
exit 0
fi
}
selectnet
# Typing password
selectpass() {
@ -40,11 +39,11 @@ selectpass() {
exit 0
fi
}
selectnet
selectpass
# Main connection command
nmcli device wifi connect "$query" password "$passqry" || nmcli device wifi connect "$query"
nmcli dev wifi connect "$query" password ""$passqry""
# Check notification
notify-send "Checking if the connection was successful"

View file

@ -1,8 +0,0 @@
#!/bin/sh
# This is my script to set my wallpaper with feh
# Wallpapers directory and chosen wallpaper here
walldir="$HOME/Pictures/Wallpapers/"
wallpaper="gruvbox_solaris.png"
# Main command
feh --bg-fill "$walldir/$wallpaper"

View file

@ -1,3 +0,0 @@
#!/bin/sh
betterlockscreen -l && loginctl suspend