diff --git a/ARCHNOTES.md b/ARCHNOTES.md index fb6d7d3..5329977 100644 --- a/ARCHNOTES.md +++ b/ARCHNOTES.md @@ -1,5 +1,14 @@ # Arch Linux Notes +## Web App (PWA) + +For the `webapp-install` script to work there needs to be a directory +for the icons to be installed to. It can be done with the following command: + +```bash +mkdir -p ~/.local/share/applications/icons +``` + ## Monitor Lid Events In order to monitor lid events, the user needs to be diff --git a/TODO.md b/TODO.md index 4357e52..38405f3 100644 --- a/TODO.md +++ b/TODO.md @@ -7,3 +7,8 @@ - Update README to reflect ansible installation - Update ansible to do gpg installation. - Update ansible to include sketchybar. + +# Arch Todos + +- Separate scripts that are used for configurations / store them somewhere + aside from `~/.local/bin` diff --git a/gpg/scdaemon.conf b/gpg/scdaemon.conf new file mode 100644 index 0000000..eb818dd --- /dev/null +++ b/gpg/scdaemon.conf @@ -0,0 +1 @@ +disable-ccid diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 6887b83..e9c2fcb 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -6,6 +6,10 @@ # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/ +source = ~/.config/hypr/env.conf +source = ~/.config/hypr/monitors.conf +source = ~/.config/hypr/windows.conf +source = ~/.config/hypr/keybinds.conf ################# ### AUTOSTART ### @@ -14,10 +18,10 @@ # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: -exec-once = waybar & swaync & elephant & hyprpaper - -source = ~/.config/hypr/windows.conf -source = ~/.config/hypr/env.conf +exec-once = hyprpaper +exec-once = swaync +exec-once = elephant +exec-once = waybar ################### ### PERMISSIONS ### @@ -185,7 +189,3 @@ device { name = epic-mouse-v1 sensitivity = -0.5 } - -source = ~/.config/hypr/windows.conf -# Include the keybinds file. -source = ~/.config/hypr/keybinds.conf diff --git a/hypr/keybinds.conf b/hypr/keybinds.conf index 4e86d87..cd86782 100644 --- a/hypr/keybinds.conf +++ b/hypr/keybinds.conf @@ -19,16 +19,6 @@ $fileBrowser = nautilus $menu = walker #$pwa = chromium --profile-directory=Default --enable-features=UseOzonePlatform --ozone-platform=wayland $pwa = ~/.local/bin/launch-webapp -$launch = gtk-launch - -$btop = $terminal -e btop -$config = $terminal -e ~/.local/share/scripts/tmux-sessionator ~/.config -$email = $pwa "https://mail.proton.me" # proton mail -$excalidraw = $pwa "https://draw.housh.dev" -$gitea = $pwa "https://git.housh.dev" -$neovim = $terminal -e nvim -$protonPass = $pwa "https://pass.proton.me" -$youtube = $pwa "https://youtube.com" # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more @@ -38,17 +28,17 @@ bind = $mainMod, Return, exec, $terminal bind = $mainMod, A, exec, $pwa "https://chatgpt.com" bind = $mainMod, B, exec, $browser bind = $mainMod SHIFT, B, exec, $browser --private-window -bind = $mainMod, C, exec, $config -bind = $mainMod, D, exec, $excalidraw +bind = $mainMod, C, exec, $terminal -e ~/.local/share/scripts/tmux-sessionator ~/.config bind = $mainMod SHIFT, D, exec, ~/.local/bin/toggle-desktop -bind = $mainMod, E, exec, $email +bind = $mainMod, E, exec, $pwa "https://mail.proton.me" +bind = $mainMod SHIFT, E, exec, uwsm app -- thunderbird bind = $mainMod, F, exec, $fileManager -bind = $mainMod, K, exec, $launch Komodo +#bind = $mainMod, K, exec, $launch Komodo bind = $mainMod SHIFT, F, exec, $fileBrowser -bind = $mainMod, G, exec, $gitea -bind = $mainMod, N, exec, $neovim -bind = $mainMod, P, exec, $protonPass -bind = $mainMod, Y, exec, $youtube +bind = $mainMod, G, exec, $pwa "https://git.housh.dev" +bind = $mainMod, N, exec, $terminal -e nvim +bind = $mainMod, P, exec, $pwa "https://pass.proton.me" +bind = $mainMod, Y, exec, $pwa "https://youtube.com" bind = $mainMod, W, killactive, # TODO: change modifier key. @@ -63,7 +53,7 @@ bind = $mainMod, V, togglefloating bind = $mainMod SHIFT ALT, 4, exec, hyprshot -m region -o ~/Pictures bind = $mainMod SHIFT ALT, 3, exec, hyprshot -m window -o ~/Pictures -bind = CTRL, F, exec, /home/michael/.local/bin/window-toggle-floating +bind = CTRL, F, exec, ~/.local/bin/window-toggle-floating # hyprctl dispatch togglefloating \ # && hyprctl dispatch centerwindow diff --git a/hypr/monitors.conf b/hypr/monitors.conf index 2081437..d3435eb 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -4,6 +4,6 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor= ,preferred,auto,auto -#monitor = HDMI-A-1, 3440x1440@59.97, 0x0, 1 +monitor = HDMI-A-1, preferred, 0x0, 1.666667 diff --git a/nvim/lazynvim/lua/plugins/lsp.lua b/nvim/lazynvim/lua/plugins/lsp.lua index 2ad52af..c96c9c5 100644 --- a/nvim/lazynvim/lua/plugins/lsp.lua +++ b/nvim/lazynvim/lua/plugins/lsp.lua @@ -22,7 +22,6 @@ return { "dockerfile", "editorconfig", "ini", - "json", "jq", "latex", "make", @@ -54,10 +53,10 @@ return { library = vim.api.nvim_get_runtime_file("", true), }, telemetry = { - enable = false - } + enable = false, + }, }, - } + }, }, marksman = {}, sourcekit = {}, @@ -74,9 +73,9 @@ return { end, sourcekit = function(_, opts) opts.cmd = { - vim.trim(vim.fn.system("xcrun -f sourcekit-lsp")) or nil + vim.trim(vim.fn.system("xcrun -f sourcekit-lsp")) or nil, } - end + end, }, }, },