Updated
This commit is contained in:
parent
087801700e
commit
350a943216
7 changed files with 17 additions and 63 deletions
1
.bashrc
1
.bashrc
|
@ -125,6 +125,7 @@ alias doomsync="~/.emacs.d/bin/doom sync"
|
||||||
alias doomdoctor="~/.emacs.d/bin/doom doctor"
|
alias doomdoctor="~/.emacs.d/bin/doom doctor"
|
||||||
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
|
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
|
||||||
alias doompurge="~/.emacs.d/bin/doom purge"
|
alias doompurge="~/.emacs.d/bin/doom purge"
|
||||||
|
alias doominstall="~/.emacs.d/bin/doom install"
|
||||||
|
|
||||||
# Changing "ls" to "exa"
|
# Changing "ls" to "exa"
|
||||||
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
||||||
|
|
|
@ -615,7 +615,8 @@ colors: *gruvbox-dark
|
||||||
#
|
#
|
||||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
# 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.
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||||
# background_opacity: 0.70
|
window:
|
||||||
|
opacity: 0.95
|
||||||
|
|
||||||
#selection:
|
#selection:
|
||||||
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||||
|
|
|
@ -114,20 +114,9 @@ local terminal = "alacritty"
|
||||||
-- Standard Apps
|
-- Standard Apps
|
||||||
local edit = "emacsclient -c -a emacs"
|
local edit = "emacsclient -c -a emacs"
|
||||||
local file = "alacritty -e ./.config/vifm/scripts/vifmrun"
|
local file = "alacritty -e ./.config/vifm/scripts/vifmrun"
|
||||||
local web = "firefox"
|
local web = "qutebrowser"
|
||||||
local music = "alacritty -e musikcube"
|
local music = "alacritty -e musikcube"
|
||||||
local games = "retroarch"
|
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
|
-- Key bindings variables
|
||||||
local modkey = "Mod4"
|
local modkey = "Mod4"
|
||||||
local altkey = "Mod1"
|
local altkey = "Mod1"
|
||||||
|
@ -292,50 +281,24 @@ globalkeys = my_table.join(
|
||||||
-- Apps
|
-- Apps
|
||||||
-- edit
|
-- edit
|
||||||
awful.key({ modkey }, "F1", function () awful.spawn(edit) end,
|
awful.key({ modkey }, "F1", function () awful.spawn(edit) end,
|
||||||
{description = "Launch text editor", group = "Standard Apps"}),
|
{description = "Launch text editor", group = "Apps"}),
|
||||||
-- file
|
-- file
|
||||||
awful.key({ modkey }, "F2", function () awful.spawn(file) end,
|
awful.key({ modkey }, "F2", function () awful.spawn(file) end,
|
||||||
{description = "Launch file manager", group = "Standard Apps"}),
|
{description = "Launch file manager", group = "Apps"}),
|
||||||
-- web
|
-- web
|
||||||
awful.key({ modkey }, "F3", function () awful.spawn(web) end,
|
awful.key({ modkey }, "F3", function () awful.spawn(web) end,
|
||||||
{description = "Launch web browser", group = "Standard Apps"}),
|
{description = "Launch web browser", group = "Apps"}),
|
||||||
-- music
|
-- music
|
||||||
awful.key({ modkey }, "F4", function () awful.spawn(music) end,
|
awful.key({ modkey }, "F4", function () awful.spawn(music) end,
|
||||||
{description = "Launch music player", group = "Standard Apps"}),
|
{description = "Launch music player", group = "Apps"}),
|
||||||
-- games
|
-- games
|
||||||
awful.key({ modkey }, "F7", function () awful.util.spawn(games) end,
|
awful.key({ modkey }, "F7", function () awful.util.spawn(games) end,
|
||||||
{description = "Launch gaming app", group = "Standard Apps"}),
|
{description = "Launch gaming app", group = "Apps"}),
|
||||||
-- Specific Apps
|
-- misc
|
||||||
-- libreoffice
|
awful.key({ modkey, "Shift" }, "p", function () awful.util.spawn("alacritty -e pulsemixer") awful.util.spawn("alacritty -e alsamixer") end,
|
||||||
awful.key({ modkey, modkey1 }, "F1", function () awful.spawn(libreoffice) end,
|
{description = "Launch mixers", group = "Apps"}),
|
||||||
{description = "Launch libreoffice", group = "Specific Apps"}),
|
awful.key({ modkey, altkey }, "w", function () awful.util.spawn("alacritty -e nmtui connect") end,
|
||||||
-- gimp
|
{description = "Launch mixers", group = "Apps"}),
|
||||||
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"}),
|
|
||||||
-- Volume
|
-- Volume
|
||||||
awful.key({}, "XF86AudioRaiseVolume", function() volume_widget:inc(5) end,
|
awful.key({}, "XF86AudioRaiseVolume", function() volume_widget:inc(5) end,
|
||||||
{description = "Increase volume", group = "Quick Actions"}),
|
{description = "Increase volume", group = "Quick Actions"}),
|
||||||
|
|
|
@ -135,6 +135,7 @@ alias doomsync="~/.emacs.d/bin/doom sync"
|
||||||
alias doomdoctor="~/.emacs.d/bin/doom doctor"
|
alias doomdoctor="~/.emacs.d/bin/doom doctor"
|
||||||
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
|
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
|
||||||
alias doompurge="~/.emacs.d/bin/doom purge"
|
alias doompurge="~/.emacs.d/bin/doom purge"
|
||||||
|
alias doominstall="~/.emacs.d/bin/doom install"
|
||||||
|
|
||||||
# Changing "ls" to "exa"
|
# Changing "ls" to "exa"
|
||||||
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
||||||
|
|
|
@ -29,7 +29,6 @@ selectnet() {
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
selectnet
|
|
||||||
|
|
||||||
# Typing password
|
# Typing password
|
||||||
selectpass() {
|
selectpass() {
|
||||||
|
@ -40,11 +39,11 @@ selectpass() {
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
selectnet
|
||||||
selectpass
|
selectpass
|
||||||
|
|
||||||
# Main connection command
|
# Main connection command
|
||||||
nmcli device wifi connect "$query" password "$passqry" || nmcli device wifi connect "$query"
|
nmcli dev wifi connect "$query" password ""$passqry""
|
||||||
|
|
||||||
# Check notification
|
# Check notification
|
||||||
notify-send "Checking if the connection was successful"
|
notify-send "Checking if the connection was successful"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
betterlockscreen -l && loginctl suspend
|
|
Loading…
Reference in a new issue