aboutsummaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorOmar Magdy <omar.professional8777@gmail.com>2022-06-06 18:18:04 +0200
committerOmar Magdy <omar.professional8777@gmail.com>2022-06-06 18:18:04 +0200
commit166dd6eb00261665fe62978f62a14772a501c835 (patch)
tree6203d0042b2a23ba75086ad241ead75381ef1d5f /awesome
parent3f1f70182a80fb6ff109db783b1af97af784cbf8 (diff)
downloaddotfiles-166dd6eb00261665fe62978f62a14772a501c835.tar.xz
dotfiles-166dd6eb00261665fe62978f62a14772a501c835.zip
Added some new aliases and cleaned rc.lua from uncessary stuff
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua82
1 files changed, 15 insertions, 67 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 2feaa9f..610ceb2 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -138,27 +138,27 @@ awful.util.tagnames = { " WWW ", " DEV ", " STUDY ", " MUSIC ", " MAIL ", " LEIS
awful.layout.suit.tile.left.mirror = true
awful.layout.layouts = {
awful.layout.suit.tile,
- awful.layout.suit.floating,
+ -- awful.layout.suit.floating,
awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
- awful.layout.suit.tile.top,
- awful.layout.suit.fair,
- awful.layout.suit.fair.horizontal,
- awful.layout.suit.spiral,
- awful.layout.suit.spiral.dwindle,
+ -- awful.layout.suit.tile.top,
+ -- awful.layout.suit.fair,
+ -- awful.layout.suit.fair.horizontal,
+ -- awful.layout.suit.spiral,
+ -- awful.layout.suit.spiral.dwindle,
awful.layout.suit.max,
awful.layout.suit.max.fullscreen,
- awful.layout.suit.magnifier,
- awful.layout.suit.corner.nw,
- awful.layout.suit.corner.ne,
- awful.layout.suit.corner.sw,
- awful.layout.suit.corner.se,
- lain.layout.cascade,
- lain.layout.cascade.tile,
+ -- awful.layout.suit.magnifier,
+ -- awful.layout.suit.corner.nw,
+ -- awful.layout.suit.corner.ne,
+ -- awful.layout.suit.corner.sw,
+ -- awful.layout.suit.corner.se,
+ -- lain.layout.cascade,
+ -- lain.layout.cascade.tile,
lain.layout.centerwork,
lain.layout.centerwork.horizontal,
- lain.layout.termfair,
- lain.layout.termfair.center,
+ -- lain.layout.termfair,
+ -- lain.layout.termfair.center,
}
awful.util.taglist_buttons = my_table.join(
@@ -357,12 +357,6 @@ globalkeys = my_table.join(
{description = "conky-toggle", group = "super"}),
awful.key({ modkey }, "e", function () awful.util.spawn( editorgui ) end,
{description = "run gui editor", group = "super"}),
- --awful.key({ modkey }, "h", function () awful.util.spawn( "urxvt -T 'htop task manager' -e htop" ) end,
- --{description = "htop", group = "super"}),
- --awful.key({ modkey }, "r", function () awful.util.spawn( "rofi-theme-selector" ) end,
- --{description = "rofi theme selector", group = "super"}),
- --awful.key({ modkey }, "t", function () awful.util.spawn( terminal ) end,
- --{description = "terminal", group = "super"}),
awful.key({ modkey }, "v", function () awful.util.spawn( "pavucontrol" ) end,
{description = "pulseaudio control", group = "super"}),
--awful.key({ modkey }, "u", function () awful.screen.focused().mypromptbox:run() end,
@@ -381,16 +375,6 @@ globalkeys = my_table.join(
-- ctrl+alt + ...
- awful.key({ modkey1, altkey }, "w", function() awful.util.spawn( "arcolinux-welcome-app" ) end,
- {description = "ArcoLinux Welcome App", group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "e", function() awful.util.spawn( "arcolinux-tweak-tool" ) end,
- {description = "ArcoLinux Tweak Tool", group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "Next", function() awful.util.spawn( "conky-rotate -n" ) end,
- {description = "Next conky rotation", group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "Prior", function() awful.util.spawn( "conky-rotate -p" ) end,
- {description = "Previous conky rotation", group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "a", function() awful.util.spawn( "xfce4-appfinder" ) end,
- {description = "Xfce appfinder", group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "b", function() awful.util.spawn( filemanager ) end,
{description = filemanager, group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "c", function() awful.util.spawn("catfish") end,
@@ -399,28 +383,14 @@ globalkeys = my_table.join(
{description = browser2, group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "g", function() awful.util.spawn( browser3 ) end,
{description = browser3, group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "i", function() awful.util.spawn("nitrogen") end,
- {description = nitrogen, group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "k", function() awful.util.spawn( "arcolinux-logout" ) end,
- {description = scrlocker, group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "l", function() awful.util.spawn( "arcolinux-logout" ) end,
- {description = scrlocker, group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "o", function() awful.spawn.with_shell("$HOME/.config/awesome/scripts/picom-toggle.sh") end,
- {description = "Picom toggle", group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "s", function() awful.util.spawn( mediaplayer ) end,
{description = mediaplayer, group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "t", function() awful.util.spawn( terminal ) end,
{description = terminal, group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "u", function() awful.util.spawn( "pavucontrol" ) end,
{description = "pulseaudio control", group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "v", function() awful.util.spawn( browser1 ) end,
- {description = browser1, group = "alt+ctrl"}),
awful.key({ modkey1, altkey }, "Return", function() awful.util.spawn(terminal) end,
{description = terminal, group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "m", function() awful.util.spawn( "xfce4-settings-manager" ) end,
- {description = "Xfce settings manager", group = "alt+ctrl"}),
- awful.key({ modkey1, altkey }, "p", function() awful.util.spawn( "pamac-manager" ) end,
- {description = "Pamac Manager", group = "alt+ctrl"}),
-- alt + ...
awful.key({ altkey, "Shift" }, "t", function () awful.spawn.with_shell( "variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&" ) end,
@@ -431,28 +401,6 @@ globalkeys = my_table.join(
{description = "Pywal Wallpaper update", group = "altkey"}),
awful.key({ altkey, "Shift" }, "p", function () awful.spawn.with_shell( "variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&" ) end,
{description = "Pywal Wallpaper previous", group = "altkey"}),
- awful.key({ altkey }, "t", function () awful.util.spawn( "variety -t" ) end,
- {description = "Wallpaper trash", group = "altkey"}),
- awful.key({ altkey }, "n", function () awful.util.spawn( "variety -n" ) end,
- {description = "Wallpaper next", group = "altkey"}),
- awful.key({ altkey }, "p", function () awful.util.spawn( "variety -p" ) end,
- {description = "Wallpaper previous", group = "altkey"}),
- awful.key({ altkey }, "f", function () awful.util.spawn( "variety -f" ) end,
- {description = "Wallpaper favorite", group = "altkey"}),
- awful.key({ altkey }, "Left", function () awful.util.spawn( "variety -p" ) end,
- {description = "Wallpaper previous", group = "altkey"}),
- awful.key({ altkey }, "Right", function () awful.util.spawn( "variety -n" ) end,
- {description = "Wallpaper next", group = "altkey"}),
- awful.key({ altkey }, "Up", function () awful.util.spawn( "variety --pause" ) end,
- {description = "Wallpaper pause", group = "altkey"}),
- awful.key({ altkey }, "Down", function () awful.util.spawn( "variety --resume" ) end,
- {description = "Wallpaper resume", group = "altkey"}),
- awful.key({ altkey }, "F2", function () awful.util.spawn( "xfce4-appfinder --collapsed" ) end,
- {description = "Xfce appfinder", group = "altkey"}),
- awful.key({ altkey }, "F3", function () awful.util.spawn( "xfce4-appfinder" ) end,
- {description = "Xfce appfinder", group = "altkey"}),
- -- awful.key({ altkey }, "F5", function () awful.spawn.with_shell( "xlunch --config ~/.config/xlunch/default.conf --input ~/.config/xlunch/entries.dsv" ) end,
- -- {description = "Xlunch app launcher", group = "altkey"}),
-- screenshots
awful.key({ }, "Print", function () awful.util.spawn("scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'") end,