update
This commit is contained in:
parent
25665457f4
commit
79225406e8
12
home/default/.config/doom/custom.el
Normal file
12
home/default/.config/doom/custom.el
Normal file
@ -0,0 +1,12 @@
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(warning-suppress-types '((org-element-cache) (defvaralias))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
@ -1,6 +1,6 @@
|
||||
profile {
|
||||
output HDMI-A-1 scale 1 mode 1366x768 position 0,0
|
||||
output DVI-D-1 scale 1 mode 1280x1024 position 1366,0
|
||||
output HDMI-A-1 scale 1 mode 1366x768 position 1280,0
|
||||
output DVI-D-1 scale 1 mode 1280x1024 position 0,0
|
||||
}
|
||||
profile {
|
||||
output HDMI-A-1 scale 1 mode 1366x768
|
||||
|
@ -36,6 +36,7 @@ cmd open ${{
|
||||
video/*|application/vnd.rn-realmedia) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
||||
application/pdf|application/vnd.djvu) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
||||
application/epub*) setsid -f com.github.johnfactotum.Foliate $fx >/dev/null 2>&1 ;;
|
||||
#application/epub*) setsid -f mupdf -U ~/epub.css $fx >/dev/null 2>&1 ;;
|
||||
application/pgp-encrypted) $EDITOR $fx ;;
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document|application/vnd.oasis.opendocument.text) setsid -f lowriter $fx >/dev/null 2>&1 ;;
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet|application/octet-stream|application/vnd.oasis.opendocument.spreadsheet|application/vnd.oasis.opendocument.spreadsheet-template) setsid -f localc $fx >/dev/null 2>&1 ;;
|
||||
@ -124,7 +125,8 @@ map V push :!nvim<space>
|
||||
|
||||
map W $setsid -f $TERMINAL >/dev/null 2>&1
|
||||
|
||||
map Y $printf "%s" "$fx" | xclip -selection clipboard
|
||||
#map Y $printf "%s" "$fx" | xclip -selection clipboard
|
||||
map Y $wl-copy < "$fx"
|
||||
|
||||
map <c-f> $setsid -f thunar . ; kill @#
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# mpd.conf
|
||||
|
||||
music_directory "~/Music"
|
||||
playlist_directory "~/.config/mpd/playlists"
|
||||
playlist_directory "~/Music/playlists"
|
||||
pid_file "~/.config/mpd/mpd.pid"
|
||||
db_file "~/.config/mpd/mpd.db"
|
||||
state_file "~/.config/mpd/mpd.state"
|
||||
|
@ -20,9 +20,9 @@ do
|
||||
convert -rotate -90 "$file" "$file" ;;
|
||||
"f")
|
||||
convert -flop "$file" "$file" ;;
|
||||
"y")
|
||||
printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard &&
|
||||
notify-send "$file copied to clipboard" & ;;
|
||||
"y") wl-copy < $file ;;
|
||||
#printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard &&
|
||||
#notify-send "$file copied to clipboard" & ;;
|
||||
"Y")
|
||||
readlink -f "$file" | tr -d '\n' | xclip -selection clipboard &&
|
||||
notify-send "$(readlink -f "$file") copied to clipboard" & ;;
|
||||
|
@ -50,11 +50,11 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
# emacs daemon
|
||||
exec /usr/bin/emacs --daemon
|
||||
|
||||
assign [app_id="librewolf"] 2
|
||||
assign [app_id="firefox"] 2
|
||||
assign [app_id="mumble"] 9
|
||||
assign [app_id="dino"] 9
|
||||
assign [app_id="deluge"] 10
|
||||
#assign [app_id="librewolf"] 2
|
||||
#assign [app_id="firefox"] 2
|
||||
#assign [app_id="mumble"] 9
|
||||
#assign [app_id="dino"] 9
|
||||
#assign [app_id="deluge"] 10
|
||||
|
||||
#exec_always autotiling
|
||||
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
@ -69,7 +69,7 @@ show_marks yes
|
||||
|
||||
# looks
|
||||
font pango: monospace 8
|
||||
#gaps inner 25
|
||||
gaps inner 25
|
||||
default_border pixel 2
|
||||
bindsym $mod+Control+y border toggle
|
||||
|
||||
|
@ -49,6 +49,8 @@ c) locate, git, bzip2 are the missing dependencies not included in the guide.
|
||||
|
||||
boot your fedora installer media and follow this guide, make sure to boot with EUFI mode:
|
||||
https://sysguides.com/install-fedora-38-with-snapshot-and-rollback-support/
|
||||
or for full disk encryption
|
||||
https://sysguides.com/install-fedora-38-with-full-disk-encryption-snapshot-and-rollback-support/
|
||||
|
||||
** how to make new user and add to wheel
|
||||
|
||||
@ -138,7 +140,7 @@ Allow wheel users to sudo with password and allow several system commands
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-wheel-can-sudo
|
||||
echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/dnf update,/usr/bin/dnf update -y,/usr/bin/loadkeys" >/etc/sudoers.d/01-cmds-without-password
|
||||
echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/dnf update,/usr/bin/dnf update -y,/usr/bin/dnf upgrade,/usr/bin/dnf upgrade,/usr/bin/loadkeys" >/etc/sudoers.d/01-cmds-without-password
|
||||
echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-visudo-editor
|
||||
#+END_SRC
|
||||
|
||||
@ -395,7 +397,7 @@ flatpak install flathub com.unity.UnityHub
|
||||
*** Foliate (Epub reader)
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
flatpak install com.github.johnfactotum.Foliate
|
||||
flatpak install flathub com.github.johnfactotum.Foliate
|
||||
#+END_SRC
|
||||
|
||||
*** bottles and dependencies
|
||||
@ -465,3 +467,4 @@ power_dpm_force_performance_level: high
|
||||
* todos
|
||||
** TODO write dependencies and programs to separate files
|
||||
** add packages
|
||||
flatpak install --from https://flathub.org/repo/appstream/com.github.babluboy.bookworm.flatpakref
|
||||
|
@ -59,6 +59,7 @@ abook
|
||||
unzip
|
||||
lynx
|
||||
zathura-plugins-all
|
||||
zathura-pdf-mupdf
|
||||
krita
|
||||
poppler
|
||||
mediainfo
|
||||
|
Loading…
Reference in New Issue
Block a user