mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-30 00:04:59 +01:00
Add screensaver/lockscreen keybind
This commit is contained in:
parent
f366268cc2
commit
ab5ca1acfc
|
@ -344,7 +344,9 @@ globalkeys = gears.table.join(
|
|||
-- Prompt
|
||||
-- awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
|
||||
-- {description = "run prompt", group = "launcher"}),
|
||||
|
||||
-- Screensaver/lockscreen
|
||||
awful.key({ modkey, "Control" }, "l", function() awful.util.spawn("xscreensaver-command -lock") end,
|
||||
{ description = "lock screen", group = "lockscreen" }),
|
||||
-- dmenu
|
||||
awful.key({ modkey }, "r", function() awful.util.spawn("dmenu_run") end,
|
||||
{ description = "show dmenu", group = "launcher" }),
|
||||
|
@ -616,7 +618,7 @@ awful.spawn.once("killall volumeicon")
|
|||
awful.spawn.once("lxpolkit") -- Let's run an lxpolkit
|
||||
awful.spawn.once("picom") -- Compositor
|
||||
awful.spawn.once("nm-applet") -- Network Manager applet
|
||||
awful.spawn.once("autorandr -l dual") -- Load my dual monitor autorandr config
|
||||
-- awful.spawn("autorandr -l dual") -- Load my dual monitor autorandr config
|
||||
awful.spawn.once("volumeicon") -- Volume icon
|
||||
|
||||
-- Wallpaper
|
||||
|
|
12
setup
12
setup
|
@ -5,12 +5,12 @@ echo "Setting up the stuff..."
|
|||
git submodule init
|
||||
git submodule update
|
||||
|
||||
if [[ "$(uname -a)" == *"Ubuntu"* ]]
|
||||
if [[ "$(cat /etc/os-release)" == *"Ubuntu"* ]]
|
||||
then
|
||||
echo "Updating Ubuntu"
|
||||
sudo apt update && sudo apt upgrade
|
||||
echo "Installing tools/utils"
|
||||
sudo apt install ripgrep fd-find make stow tmux lxsession thunar power-profiles-daemon playerctl network-manager-gnome volumeicon-alsa picom
|
||||
sudo apt install ripgrep fd-find make stow tmux lxsession thunar power-profiles-daemon playerctl network-manager-gnome volumeicon-alsa picom autorandr arandr
|
||||
|
||||
echo "Installing arc-icon-theme"
|
||||
mkdir -p ~/git
|
||||
|
@ -21,11 +21,11 @@ else
|
|||
echo "Updating Arch"
|
||||
sudo pacman -Syyu
|
||||
echo "Installing tools/utils"
|
||||
sudo pacman -S ripgrep fd neovim make stow tmux awesome dmenu arandr autorandr volumeicon picom nitrogen network-manager-applet lxsession thunar lxappearance-gtk3 power-profiles-daemon thermald acpi arc-icon-theme playerctl
|
||||
sudo pacman -S ripgrep fd neovim make stow tmux awesome dmenu arandr autorandr volumeicon picom nitrogen network-manager-applet lxsession thunar lxappearance-gtk3 -profiles-daemon thermald acpi arc-icon-theme playerctl
|
||||
|
||||
sudo systemctl enable --now power-profiles-daemon
|
||||
sudo thermald --systemd
|
||||
sudo power-profiles-daemon set performance
|
||||
# sudo systemctl enable --now power-profiles-daemon
|
||||
# sudo thermald --systemd
|
||||
# sudo power-profiles-daemon set performance
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue