diff --git a/home/.Xresources b/home/.Xresources index bcc5488..d7c5d10 100644 --- a/home/.Xresources +++ b/home/.Xresources @@ -9,3 +9,71 @@ Xft.hintstyle: hintfull Xft.lcdfilter: lcdfilter Xft.dpi: 96 + + + +XTerm*renderFont: true +XTerm*faceName: xft:JetBrainsMono Nerd Font, \ + xft:JoyPixels:size=12, \ + xft:Monospacexr:style=Medium:size=12 +XTerm*faceSize: 11 +XTerm*utf8: 2 +XTerm*locale: true + +XTerm.vt100.translations: #override \n\ + Ctrl j: smaller-vt-font() \n\ + Ctrl k: larger-vt-font() + + +! Every shell is a login shell by default (for inclusion of all necessary environment variables) +XTerm*loginshell: true + +! I like a LOT of scrollback... +XTerm*savelines: 16384 + +! double-click to select whole URLs :D +XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48 + + +! COLORS FOR SXIV +Sxiv.foreground: #bbc2cf +Sxiv.background: #1A2026 +Sxiv.font: Roboto:style=bold:size=11 + + +! special +*.foreground: #c5c8c6 +*.background: #1d1f21 +*.cursorColor: #c5c8c6 + +! black +*.color0: #282a2e +*.color8: #373b41 + +! red +*.color1: #a54242 +*.color9: #cc6666 + +! green +*.color2: #8c9440 +*.color10: #b5bd68 + +! yellow +*.color3: #de935f +*.color11: #f0c674 + +! blue +*.color4: #5f819d +*.color12: #81a2be + +! magenta +*.color5: #85678f +*.color13: #b294bb + +! cyan +*.color6: #5e8d87 +*.color14: #8abeb7 + +! white +*.color7: #707880 +*.color15: #c5c8c6 diff --git a/home/.config/awesome/configuration/keybindings.lua b/home/.config/awesome/configuration/keybindings.lua index cef7d31..ed3a54c 100644 --- a/home/.config/awesome/configuration/keybindings.lua +++ b/home/.config/awesome/configuration/keybindings.lua @@ -58,7 +58,9 @@ awful.keyboard.append_global_keybindings({ awful.key({ modkey, shift }, "q", awesome.quit, {description = "quit awesome", group = "awesome"}), - awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, {description = "open a terminal", group = "launcher"}), + awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, {description = "open a terminal", group = "launcher"}), + + awful.key({ modkey, shift }, "Return", function () awful.spawn("xterm") end, {description = "open a terminal", group = "launcher"}), -- awful.key({ modkey }, "p", function() menubar.show() end, -- {description = "show the menubar", group = "launcher"}), }) @@ -243,7 +245,8 @@ awful.keyboard.append_global_keybindings({ -- awful.key({ modkey }, "=", function () awful.screen.focused().systray.visible = not awful.screen.focused().systray.visible end, {description = "Toggle systray visibility", group = "custom"}) --}) awful.keyboard.append_global_keybindings({ - awful.key({alt}, "Tab", function() awesome.emit_signal("sidebar::toggle") end), -- Sidebar + awful.key({ alt }, "Tab", function() awesome.emit_signal("sidebar::toggle") end), -- Sidebar + awful.key({ alt }, "t", function() awful.titlebar.toggle(client.focus) end), }) -- Client : diff --git a/home/.config/awesome/ui/sidebar/init.lua b/home/.config/awesome/ui/sidebar/init.lua index 5a68dd3..2496db2 100644 --- a/home/.config/awesome/ui/sidebar/init.lua +++ b/home/.config/awesome/ui/sidebar/init.lua @@ -122,9 +122,9 @@ local slide = rubato.timed { -- Timer of sidebar's death sidebar.timer = gears.timer { - timeout = 0.5, - single_shot = true, - callback = function() + timeout = 0.5, + single_shot = true, + callback = function() sidebar.visible = not sidebar.visible end } @@ -132,10 +132,12 @@ sidebar.timer = gears.timer { -- Toggle function sidebar.toggle = function(s) if sidebar.visible then - slide.target = awful.screen.focused().geometry.x - sidebar.width + --slide.target = awful.screen.focused().geometry.x - sidebar.width + slide.target = awful.screen.focused().geometry.x + sidebar.width sidebar.timer:start() else - slide.target = awful.screen.focused().geometry.x + dpi(10) + --slide.target = awful.screen.focused().geometry.x + dpi(10) + slide.target = awful.screen.focused().geometry.x - dpi(195) sidebar.visible = not sidebar.visible end end diff --git a/home/.config/nvim/init.lua b/home/.config/nvim/init.lua index 4243935..0404cd9 100644 --- a/home/.config/nvim/init.lua +++ b/home/.config/nvim/init.lua @@ -39,6 +39,9 @@ require("lsp-config.lspsaga") require("lsp-config.completion") require("lsp-config.null-ls") +-- # Colorizer : +require("colorizer-config") + -- # Colorschames --require("colorschames.onedark") require("colorschames.catppuccin") diff --git a/home/.config/nvim/lua/colorizer-config/init.lua b/home/.config/nvim/lua/colorizer-config/init.lua new file mode 100644 index 0000000..c7f7af8 --- /dev/null +++ b/home/.config/nvim/lua/colorizer-config/init.lua @@ -0,0 +1 @@ +require'colorizer'.setup() diff --git a/home/.config/nvim/lua/lsp-config/language-servers.lua b/home/.config/nvim/lua/lsp-config/language-servers.lua index 67d3488..4346326 100644 --- a/home/.config/nvim/lua/lsp-config/language-servers.lua +++ b/home/.config/nvim/lua/lsp-config/language-servers.lua @@ -26,12 +26,12 @@ local on_attach = function(client, bufnr) end local servers = { - "bashls", - "cssls", - "eslint", + --"bashls", + --"cssls", + --"eslint", --"ltex", "sumneko_lua", - "tsserver", + --"tsserver", --"pyright", "jedi_language_server", } diff --git a/home/.config/nvim/lua/lsp-config/null-ls.lua b/home/.config/nvim/lua/lsp-config/null-ls.lua index e9dbd68..7632a7f 100644 --- a/home/.config/nvim/lua/lsp-config/null-ls.lua +++ b/home/.config/nvim/lua/lsp-config/null-ls.lua @@ -15,7 +15,7 @@ null_ls.setup({ sources = sources, on_attach = function(client) - if client.resolved_capabilities.document_formatting then + if client.server_capabilities.document_formatting then vim.cmd("autocmd BufWritePre lua vim.lsp.buf.formatting()") end end, diff --git a/home/.config/nvim/lua/packer-config/init.lua b/home/.config/nvim/lua/packer-config/init.lua index a4843e7..000453b 100644 --- a/home/.config/nvim/lua/packer-config/init.lua +++ b/home/.config/nvim/lua/packer-config/init.lua @@ -47,7 +47,9 @@ return require("packer").startup(function() -- # Startup : use("startup-nvim/startup.nvim") - + + -- # Colorizer : + use("norcalli/nvim-colorizer.lua") -- # Colorscemes : --use "EdenEast/nightfox.nvim" diff --git a/home/.xprofile b/home/.xprofile index dfdb940..8b80658 100644 --- a/home/.xprofile +++ b/home/.xprofile @@ -4,8 +4,8 @@ #killall -9 xcompmgr dunst picom dwmbar # Screen With Xrandr: -#xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & -xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & +xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & +#xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & # Num Lock : #numlockx & diff --git a/packages b/packages index 9b4152a..c0f1e77 100755 --- a/packages +++ b/packages @@ -17,7 +17,7 @@ if [[ $answer = y ]] ; then fi echo -e "${Cyan}Installing Packeges ...${No}" doas pacman -Rns sudo -doas pacman -Sy --needed --noconfirm xcompmgr xdotool acpi xsel clipmenu xfce4-power-manager lxappearance nitrogen feh man-db kitty pacman-contrib xclip rsync arandr sxhkd pcmanfm-gtk3 obs-studio pamixer brightnessctl playerctl maim gnome-disk-utility cups xcalib exa lsd ghex cherrytree mpv audacious gst-libav net-tools gpick gdb curl wget alacritty terminator python-pip tk xterm tor cmatrix htop neofetch zsh veracrypt engrampa p7zip unzip cdrtools gufw android-tools ranger rofi rofi-emoji geany neovim inetutils dnsutils macchanger zathura zathura-ps zathura-djvu zathura-pdf-poppler qt5ct qt6ct kvantum-qt5 ffmpegthumbnailer tumbler grub-customizer mtpfs gvfs-mtp gvfs-gphoto2 qbittorrent btop qalculate-gtk volumeicon remmina freerdp qt5-tools python-pyqt5 qt6-tools python-pyqt6 qt5-quickcontrols2 qt5-graphicaleffects qt5-svg intel-media-driver mesa-utils rhash libva-utils firefox +doas pacman -Sy --needed --noconfirm xcompmgr xdotool acpi xsel clipmenu xfce4-power-manager lxappearance nitrogen feh man-db kitty pacman-contrib xclip rsync arandr sxhkd pcmanfm-gtk3 obs-studio pamixer brightnessctl playerctl redshift maim gnome-disk-utility cups xcalib exa lsd ghex cherrytree mpv audacious gst-libav net-tools gpick gdb curl wget alacritty terminator python-pip tk xterm tor cmatrix htop neofetch zsh veracrypt engrampa p7zip unzip cdrtools gufw android-tools ranger rofi rofi-emoji geany neovim inetutils dnsutils macchanger zathura zathura-ps zathura-djvu zathura-pdf-poppler qt5ct qt6ct kvantum-qt5 ffmpegthumbnailer tumbler grub-customizer mtpfs gvfs-mtp gvfs-gphoto2 qbittorrent btop qalculate-gtk volumeicon remmina freerdp qt5-tools python-pyqt5 qt6-tools python-pyqt6 qt5-quickcontrols2 qt5-graphicaleffects qt5-svg intel-media-driver mesa-utils rhash libva-utils firefox echo -e "QT_QPA_PLATFORMTHEME=qt5ct\nexport CM_LAUNCHER=rofi\nexport CM_HISTLENGTH=50\nexport CM_DIR=/tmp/clipmenu" | doas tee -a /etc/environment echo -e "${Green}Installing Packages Done ${No}" diff --git a/themes/sddm/scripts/Xsetup b/themes/sddm/scripts/Xsetup index 5eefa5e..8fc6bde 100755 --- a/themes/sddm/scripts/Xsetup +++ b/themes/sddm/scripts/Xsetup @@ -1,8 +1,8 @@ #!/bin/sh # Xsetup - run as root before the login dialog appears # Screen With Xrandr: -#xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & -xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & +xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & +#xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & # Keybord Layout : setxkbmap -layout fr,dz -variant ,ar -option grp:alt_shift_toggle