diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 9338f0c..1519728 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -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 diff --git a/setup b/setup index ac0d07f..e79c186 100755 --- a/setup +++ b/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