diff --git a/.zshrc b/.zshrc index d269e7d..d07d10f 100644 --- a/.zshrc +++ b/.zshrc @@ -170,3 +170,4 @@ clipboard-copy() { #unset __conda_setup # <<< conda initialize <<< +export EDITOR=nvim diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 78b342c..61050a0 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -19,13 +19,13 @@ monitor=,preferred,auto,auto # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch -exec-once = waybar & mako # & hyprpaper & firefox +exec-once = waybar & mako & swaybg -i ~/.dotfiles/wallpapers/trans-dragon.png # & hyprpaper & firefox # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # Set programs that you use -$terminal = kitty --listen-on=unix:@"$(date +%s%N)" +$terminal = kitty --listen-on=unix:@"$(date +%s%N)" -o allow_remote_control=yes $fileManager = dolphin $menu = wofi --show drun @@ -35,20 +35,21 @@ env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { + numlock_by_default = true kb_layout = us kb_variant = kb_model = kb_options = kb_rules = - follow_mouse = 0 + follow_mouse = 1 touchpad { natural_scroll = yes } force_no_accel = true - sensitivity = 0 # -1.0 to 1.0, 0 means no modification. + sensitivity = -0.9 # -1.0 to 1.0, 0 means no modification. } general { @@ -121,10 +122,11 @@ misc { # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more -device { - name = genius-optical-mouse - sensitivity = -1 -} +#device { +# name = genius-optical-mouse +# sensitivity = -.5 # -1.0 to 1.0, 0 means no modification. +# sensitivity = -1 +#} # Example windowrule v1 # windowrule = float, ^(kitty)$ @@ -149,7 +151,13 @@ bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, E, togglesplit, # dwindle bind = $mainMod, ESCAPE, exec, wlogout # dwindle bind = $mainMod, F11, fullscreen # dwindle -bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy # dwindle +bind = ,Print, exec, grim -g "$(slurp -d)" - | wl-copy # dwindle +#bind = ,XF86MonBrightnessUp, exec, brightnessctl set +10% +#bind = ,XF86MonBrightnessUp, exec, brightnessctl set +10% +bind = ALT, F3, exec, brightnessctl set 5%+ +bind = ALT, F2, exec, brightnessctl set 5%- +#bind = ,XF86MonBrightnessUp, exec, brightnessctl set 10%- + # Move focus with mainMod + arrow keys bind = $mainMod, h, movefocus, l diff --git a/i3/config b/i3/config index d172ee6..976b222 100644 --- a/i3/config +++ b/i3/config @@ -67,7 +67,7 @@ bindsym $mod+Shift+ctrl+$alt+Escape exec poweroff # Launcher keybinds bindsym $mod+d exec --no-startup-id rofi -show run -lines 1 -eh 2 -bindsym $mod+$alt+f exec --no-startup-id firefox -P "Kosh" --class "firefox_default" +bindsym $mod+$alt+f exec --no-startup-id firefox bindsym $mod+$alt+Shift+f exec --no-startup-id firefox -P "Student" --class "studies" bindsym $mod+$alt+ctrl+f exec --no-startup-id firefox -P "Porn" --class "porn" bindsym $mod+$alt+w exec --no-startup-id firefox "web.whatsapp.com" --class "social" -P "WhatsApp" diff --git a/neofetch/config.conf b/neofetch/config.conf index 858d212..a67c3b4 100644 --- a/neofetch/config.conf +++ b/neofetch/config.conf @@ -2,8 +2,8 @@ print_info() { prin "\n" prin "\n" prin "\n" - info "\n \n \n \n \n \n \n \n \n USER" title - prin "┌───────────────────────────────┐" + info "\n \n \n \n \n \n \n \n \n \t USER" title + prin "┌───────────────────────────────────────────┐" info " ​ ​ ${cl0}OS" distro #& info " ​ ​ ${cl0}Host" model #& info " ​ ​ ${cl0}Kernel" kernel #& @@ -14,10 +14,10 @@ print_info() { info " ​ ​ ${cl0}WM" wm #& info " ​ ​ ${cl0}Memory" memory #& wait - prin "└───────────────────────────────┘" + prin "└───────────────────────────────────────────┘" prin "\n" - prin "\n \n \n \n \n \n \n \n \n ${cl0}⬤ ${cl7}⬤ ${cl6}⬤ ${cl5}⬤ ${cl4}⬤ ${cl3}⬤ ${cl2}⬤ ${cl1}⬤" + prin "\n \n \n \n \n \n \n \n \n \t ${cl0}⬤ ${cl7}⬤ ${cl6}⬤ ${cl5}⬤ ${cl4}⬤ ${cl3}⬤ ${cl2}⬤ ${cl1}⬤" } reset="\033[0m" diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index 1c781a5..77f622b 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -21,6 +21,7 @@ "paytmchecksum", "perceptron", "pyperclip", + "pytorch", "relu", "transfeminism", "werkzeug" diff --git a/nvim/lua/kosh/keymaps.lua b/nvim/lua/kosh/keymaps.lua index cd3b7b9..b100117 100644 --- a/nvim/lua/kosh/keymaps.lua +++ b/nvim/lua/kosh/keymaps.lua @@ -11,6 +11,7 @@ set_keymap("i", "'", "''", opts) set_keymap("i", "(", "()", opts) set_keymap("i", "[", "[]", opts) set_keymap("i", "{", "{}", opts) +set_keymap("i", "<", "<>", opts) -- Coc config vim.cmd[[ inoremap pumvisible() ? coc#_select_confirm() diff --git a/nvim/plugin/packer_compiled.lua b/nvim/plugin/packer_compiled.lua index e58a1fc..dd99e56 100644 --- a/nvim/plugin/packer_compiled.lua +++ b/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/kosh/.cache/nvim/packer_hererocks/2.1.1702233742/share/lua/5.1/?.lua;/home/kosh/.cache/nvim/packer_hererocks/2.1.1702233742/share/lua/5.1/?/init.lua;/home/kosh/.cache/nvim/packer_hererocks/2.1.1702233742/lib/luarocks/rocks-5.1/?.lua;/home/kosh/.cache/nvim/packer_hererocks/2.1.1702233742/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/kosh/.cache/nvim/packer_hererocks/2.1.1702233742/lib/lua/5.1/?.so" +local package_path_str = "/home/kosh/.cache/nvim/packer_hererocks/2.1.1710088188/share/lua/5.1/?.lua;/home/kosh/.cache/nvim/packer_hererocks/2.1.1710088188/share/lua/5.1/?/init.lua;/home/kosh/.cache/nvim/packer_hererocks/2.1.1710088188/lib/luarocks/rocks-5.1/?.lua;/home/kosh/.cache/nvim/packer_hererocks/2.1.1710088188/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/kosh/.cache/nvim/packer_hererocks/2.1.1710088188/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -199,14 +199,14 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: emoji_picker-nvim -time([[Config for emoji_picker-nvim]], true) -try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\17emoji_picker\frequire\0", "config", "emoji_picker-nvim") -time([[Config for emoji_picker-nvim]], false) -- Config for: nvim-surround time([[Config for nvim-surround]], true) try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0", "config", "nvim-surround") time([[Config for nvim-surround]], false) +-- Config for: emoji_picker-nvim +time([[Config for emoji_picker-nvim]], true) +try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\17emoji_picker\frequire\0", "config", "emoji_picker-nvim") +time([[Config for emoji_picker-nvim]], false) _G._packer.inside_compile = false if _G._packer.needs_bufread == true then diff --git a/oh-my-zsh b/oh-my-zsh new file mode 160000 index 0000000..a87e9c7 --- /dev/null +++ b/oh-my-zsh @@ -0,0 +1 @@ +Subproject commit a87e9c715b2d3249681f9cc8f8d9718030674d50 diff --git a/wallpapers/trans-dragon.png b/wallpapers/trans-dragon.png new file mode 100644 index 0000000..736065f Binary files /dev/null and b/wallpapers/trans-dragon.png differ diff --git a/wallpapers/trans-dragon.webp b/wallpapers/trans-dragon.webp new file mode 100644 index 0000000..6c21c54 Binary files /dev/null and b/wallpapers/trans-dragon.webp differ diff --git a/waybar/config.jsonc b/waybar/config.jsonc index df38096..5dbee62 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -8,7 +8,16 @@ // Choose the order of the modules - "modules-center": ["hyprland/workspaces", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "battery", "clock"], + "modules-center": [ + "hyprland/workspaces", + "idle_inhibitor", + "pulseaudio", + "network", + "cpu", + "memory", + "battery", + "clock" + ], // Modules configuration @@ -20,7 +29,7 @@ "keyboard-state": { "numlock": true, "capslock": true, - "format": " {name} {icon}", + "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" diff --git a/wlogout/layout b/wlogout/layout new file mode 100644 index 0000000..de9a5d2 --- /dev/null +++ b/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "hyprlock", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} +{ + "label" : "logout", + "action" : "hyprctl dispatch exit", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/wlogout/style.css b/wlogout/style.css new file mode 100644 index 0000000..9a5b99a --- /dev/null +++ b/wlogout/style.css @@ -0,0 +1,50 @@ +* { + background-image: none; + box-shadow: none; +} + +window { + background-color: rgba(12, 12, 12, 0.9); +} + +button { + border-radius: 0; + border-color: black; + text-decoration-color: #FFFFFF; + color: #FFFFFF; + background-color: #1E1E1E; + border-style: solid; + border-width: 1px; + background-repeat: no-repeat; + background-position: center; + background-size: 25%; +} + +button:focus, button:active, button:hover { + background-color: #3700B3; + outline-style: none; +} + +#lock { + background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png")); +} + +#logout { + background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png")); +} + +#suspend { + background-image: image(url("/usr/share/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png")); +} + +#hibernate { + background-image: image(url("/usr/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png")); +} + +#shutdown { + background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png")); +} + +#reboot { + background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png")); +}