First mostly working version of the config

This commit is contained in:
Random936
2024-05-17 21:13:48 -07:00
parent 726f7fdf44
commit 987b94bf5d
10 changed files with 61 additions and 19 deletions

View File

@@ -154,7 +154,7 @@ client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
# Startup Applications
exec --no-startup-id "lxpolkit &" # start authentication agent (prompt)
exec --no-startup-id "xcompmgr &" # startup composition manager (transparency)
exec --no-startup-id "picom &" # startup composition manager (transparency)
exec --no-startup-id "polybar" # status bar
exec --no-startup-id "$HOME/.scripts/autostart_desktop.sh &" # run autostart desktop apps
exec --no-startup-id "emacs --daemon &" # startup emacs daemon

View File

@@ -194,7 +194,7 @@ Colors parenthesis for better lisp syntax highlighting.
#+begin_src emacs-lisp
(use-package rainbow-delimiters
:hook prog-mode)
:hook (prog-mode . rainbow-delimiters-mode))
#+end_src
** Line Numbers
@@ -503,7 +503,7 @@ Vanilla dired opens a new buffer for every new directory it visits. When managin
#+begin_src emacs-lisp
(use-package all-the-icons-dired
:after dired
:hook dired-mode)
:hook (dired-mode . all-the-icons-dired-mode))
#+end_src
*** Hide Dotfiles
@@ -512,7 +512,7 @@ This hides all dotfiles in dired with the keybinding ~H~.
#+begin_src emacs-lisp
(use-package dired-hide-dotfiles
:hook dired-mode
:hook (dired-mode . dired-hide-dotfiles-mode)
:config
(evil-collection-define-key 'normal 'dired-mode-map
"H" 'dired-hide-dotfiles-mode))

View File

@@ -214,3 +214,12 @@ sudo emerge -v app-emacs/ebuild-mode
:defer t
:hook (ebuild-mode . lsp-deferred))
#+end_src
** Nix
Nix is the language used by NixOS and the Nix package manager.
#+begin_src emacs-lisp
(use-package nix-mode
:mode "\\.nix\\'")
#+end_src

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function load_script() {
if [ -f "$1" ]; then

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Dynamically load background with feh
feh_command="feh --bg-fill"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
for file in $HOME/.config/autostart/*; do
exec_line=$(cat "$file" | grep '^Exec' | cut -d '=' -f2-)

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ $# != 1 ]]; then
echo "Usage: $0 <brightness percentage>"