Switched Screens
This commit is contained in:
parent
a004c8c24d
commit
a9bebf4efd
11 changed files with 97 additions and 18 deletions
|
@ -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 <Key> j: smaller-vt-font() \n\
|
||||
Ctrl <Key> 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
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
1
home/.config/nvim/lua/colorizer-config/init.lua
Normal file
1
home/.config/nvim/lua/colorizer-config/init.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require'colorizer'.setup()
|
|
@ -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",
|
||||
}
|
||||
|
|
|
@ -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 <buffer> lua vim.lsp.buf.formatting()")
|
||||
end
|
||||
end,
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 &
|
||||
|
|
2
packages
2
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}"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue