aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aliases/.aliases/aliases5
-rwxr-xr-xawesome/.config/awesome/autostart.sh20
-rw-r--r--awesome/.config/awesome/picom.conf12
-rw-r--r--awesome/.config/awesome/rc.lua7
-rw-r--r--kitty/.config/kitty/kitty.conf6
-rw-r--r--nvim/.config/nvim/lua/user/lsp.lua10
-rwxr-xr-xscripts/.scripts/books.sh4
-rwxr-xr-xscripts/.scripts/mount.sh4
-rwxr-xr-xscripts/.scripts/power.sh8
-rw-r--r--zsh/.zshrc2
10 files changed, 33 insertions, 45 deletions
diff --git a/aliases/.aliases/aliases b/aliases/.aliases/aliases
index c106ca5..65904a9 100644
--- a/aliases/.aliases/aliases
+++ b/aliases/.aliases/aliases
@@ -1,10 +1,9 @@
-alias ftr="~/fileToRace.py"
+alias zell="zellij --layout compact"
+alias pwd="pwd && pwd | xclip -sel clipboard"
alias nv="neovide"
-alias pg="ps auxw | grep -v grep | grep $1"
alias gpl="~/.scripts/get_project_lines.sh"
alias vcc="~/.scripts/cpp_template.sh"
alias kpr="ps aux | fzf | awk '{print $2}' | xargs killall > /dev/null 2> /dev/null"
-alias build="./main < inp"
alias clean="~/.scripts/cleanup.sh"
alias lg="lazygit"
alias vcpp="~/.scripts/cpp_ps.sh"
diff --git a/awesome/.config/awesome/autostart.sh b/awesome/.config/awesome/autostart.sh
index 8e08ccf..859807b 100755
--- a/awesome/.config/awesome/autostart.sh
+++ b/awesome/.config/awesome/autostart.sh
@@ -6,29 +6,11 @@ function run {
$@&
fi
}
-run dex $HOME/.config/autostart/arcolinux-welcome-app.desktop
-#run xrandr --output VGA-1 --primary --mode 1360x768 --pos 0x0 --rotate normal
-#run xrandr --output HDMI2 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off
-#autorandr horizontal
+
run nm-applet
-#run caffeine
-run pamac-tray
run variety
run xfce4-power-manager
run blueberry-tray
run /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
run numlockx on
run volumeicon
-#run nitrogen --restore
-# run conky -c $HOME/.config/awesome/system-overview
-#you can set wallpapers in themes as well
-#feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg &
-#run applications from startup
-#run firefox
-#run atom
-#run dropbox
-#run insync start
-#run spotify
-#run ckb-next -b
-#run discord
-#run telegram-desktop
diff --git a/awesome/.config/awesome/picom.conf b/awesome/.config/awesome/picom.conf
index 96fd824..a27e30c 100644
--- a/awesome/.config/awesome/picom.conf
+++ b/awesome/.config/awesome/picom.conf
@@ -173,7 +173,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
#
#opacity-rule = [ "80:class_g = 'Alacritty'" ]
opacity-rule = [
- "90:class_g = 'kitty'",
+ "100:class_g = 'kitty'",
"90:class_g = 'alacritty'",
];
@@ -182,11 +182,11 @@ opacity-rule = [
# Background-Blurring #
#################################
-blur:
-{
- method = "dual_kawase";
- strength = 4;
-};
+# blur:
+# {
+# method = "dual_kawase";
+# strength = 0;
+# };
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 437ecae..aa3bfc7 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -305,7 +305,9 @@ globalkeys = my_table.join(
awful.key({ altkey }, "w", function () awful.spawn( "/home/peng/.scripts/wally.sh" ) end,
{description = "set random wallpaper" , group = "hotkeys"}),
awful.key({ altkey }, "d", function () awful.spawn( "/home/peng/.scripts/dmenuscripts.sh" ) end,
- {description = "books" , group = "hotkeys"}),
+ {description = "all scripts" , group = "hotkeys"}),
+ awful.key({ altkey }, "b", function () awful.spawn( "/home/peng/.scripts/books.sh" ) end,
+ {description = "Books" , group = "hotkeys"}),
awful.key({ altkey }, "p", function () awful.spawn( "/home/peng/.scripts/power.sh" ) end,
{description = "books" , group = "hotkeys"}),
awful.key({ modkey }, "o", function () awful.util.spawn( "rofi -show drun" ) end,
@@ -880,5 +882,6 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
-- Autostart applications
awful.spawn.with_shell("~/.config/awesome/autostart.sh")
-awful.spawn.with_shell("picom -b --config $HOME/.config/awesome/picom.conf")
+awful.spawn.with_shell("picom --config $HOME/.config/awesome/picom.conf")
awful.spawn.with_shell("~/.scripts/force_full_composition_nvidia.sh")
+awful.spawn.with_shell("sudo ~/.scripts/mount.sh")
diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf
index c3ad94a..aef65cc 100644
--- a/kitty/.config/kitty/kitty.conf
+++ b/kitty/.config/kitty/kitty.conf
@@ -205,7 +205,7 @@ box_drawing_scale 0.001, 1, 1.5, 2
#: special keyword: background. Note that if cursor is set to none
#: then this setting is ignored.
-cursor_shape underline
+cursor_shape beam
#: The cursor shape can be one of (block, beam, underline). Note that
#: when reloading the config this will be changed only if the cursor
@@ -943,9 +943,9 @@ inactive_tab_font_style normal
#: The foreground and background colors
-background_opacity 1.0
+# background_opacity 1.0
# background_opacity 0.90
-# background_opacity 0.50
+background_opacity 1.00
#: The opacity of the background. A number between 0 and 1, where 1 is
#: opaque and 0 is fully transparent. This will only work if
diff --git a/nvim/.config/nvim/lua/user/lsp.lua b/nvim/.config/nvim/lua/user/lsp.lua
index 979dbe2..d953d40 100644
--- a/nvim/.config/nvim/lua/user/lsp.lua
+++ b/nvim/.config/nvim/lua/user/lsp.lua
@@ -49,11 +49,11 @@ end
-- Add any additional override configuration in the following tables. They will be passed to
-- the `settings` field of the server config. You must look up that documentation yourself.
local servers = {
- -- clangd = {},
- -- gopls = {},
- -- pyright = {},
- -- rust_analyzer = {},
- -- tsserver = {},
+ clangd = {},
+ gopls = {},
+ pyright = {},
+ rust_analyzer = {},
+ tsserver = {},
sumneko_lua = {
Lua = {
diff --git a/scripts/.scripts/books.sh b/scripts/.scripts/books.sh
index f119107..6860a4f 100755
--- a/scripts/.scripts/books.sh
+++ b/scripts/.scripts/books.sh
@@ -9,8 +9,8 @@
# #
##################################################################
-path="/home/pengu/Books/"
-choice=$(ls "$path" | dmenu -l 10)
+path="/run/media/peng/Storage/omar/Books"
+choice=$(ls "$path" | dmenu -i -l 10)
new_choice=$choice
while [ -d "$path/$new_choice" ]
diff --git a/scripts/.scripts/mount.sh b/scripts/.scripts/mount.sh
index 48c1b96..f47f388 100755
--- a/scripts/.scripts/mount.sh
+++ b/scripts/.scripts/mount.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-mkdir /run/media/storage
-mount /dev/sda3 /run/media/storage
+mkdir /run/media/Storage
+mount /dev/sda3 /run/media/Storage
diff --git a/scripts/.scripts/power.sh b/scripts/.scripts/power.sh
index 8722719..c403494 100755
--- a/scripts/.scripts/power.sh
+++ b/scripts/.scripts/power.sh
@@ -1,11 +1,15 @@
#!/bin/sh
-CHOICES="poweroff\nreboot"
+CHOICES="poweroff\nreboot\nlogout"
CHOICE=$(echo -e $CHOICES | dmenu -l 3)
-systemctl $CHOICE
+if [[ "$CHOICE" == "logout" ]]; then
+ awesome-client "awesome.quit()"
+else
+ systemctl $CHOICE
+fi
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 663f7eb..61feace 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -114,7 +114,7 @@ fcd() {
fo() {
local dir
- dir=$(find /run/media/peng/Storage/omar -type d | fzf)
+ dir=$(find /run/media/Storage/omar/College -type d | fzf)
if [[ -n $dir ]]; then
cd "$dir"
fi