diff --git a/.config/aliasrc b/.config/aliasrc index 8c5c6b5..161a0a3 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -1,5 +1,5 @@ #better commands -alias ls="ls -hN --color=auto --group-directories-first" +alias ls="ls -h --color=auto --group-directories-first" alias wget='wget --hsts-file ~/.config/wget/wget-hsts' #git diff --git a/.config/lf/lfrc b/.config/lf/lfrc index af0acd5..6c8bb8c 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -83,7 +83,7 @@ cmd delete ${{ # use '' key for either 'trash' or 'delete' command map trash -# map delete +map delete # extract the current file with the right command # (xkcd link: https://xkcd.com/1168/) diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 701be8a..498d172 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -29,6 +29,7 @@ text/x-arduino=arduino-arduinoide.desktop [Added Associations] image/jpeg=img.desktop; image/png=img.desktop; +image/gif=img.desktop; text/html=web.desktop; inode/directory=lf.desktop application/rss+xml=web.desktop; diff --git a/.config/sway/config b/.config/sway/config index e83fcfb..ab2f306 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -42,12 +42,15 @@ output VGA-1 disable # # Example configuration: # - exec swayidle -w \ - timeout 900 'swaylock -f -c 000000' \ - timeout 1200 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -c 000000' +# exec swayidle -w \ +# timeout 900 'swaylock -f -c 000000' \ +# timeout 1200 'swaymsg "output * dpms off"' \ +# resume 'swaymsg "output * dpms on"' \ +# before-sleep 'swaylock -f -c 000000' # + exec swayidle -w \ + timeout 1200 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. diff --git a/.local/installers/arch/arch-install.sh b/.local/installers/arch/arch-install.sh index a1ad788..6feec69 100755 --- a/.local/installers/arch/arch-install.sh +++ b/.local/installers/arch/arch-install.sh @@ -52,7 +52,7 @@ init_setup() { sudo systemctl enable ufw.service sudo systemctl enable cronie.service sudo systemctl enable systemd-timesyncd.service - sudo systemctl enable nix-daemon.service + #sudo systemctl enable nix-daemon.service #user services @@ -121,6 +121,7 @@ configure() { mkdir -p ~/.local/share/gnupg/ mkdir -p ~/.config/mpd/playlists mkdir -p ~/.local/share/desktop + mkdir -p ~/.local/share/wineprefixes/default mkdir .local/share/public mkdir .local/share/templates @@ -195,8 +196,8 @@ configure() { #add user to nix-users group sudo adduser -a -G nix-users "$USER" #add nix unstable channel - nix-channel --add https://nixos.org/channels/nixpkgs-unstable - nix-channel --update + #nix-channel --add https://nixos.org/channels/nixpkgs-unstable + #nix-channel --update #download collapse OS mkdir -p "$HOME"/.local/src/ diff --git a/.local/installers/arch/pkgs/base.list b/.local/installers/arch/pkgs/base.list index 0089c5a..e7234be 100644 --- a/.local/installers/arch/pkgs/base.list +++ b/.local/installers/arch/pkgs/base.list @@ -80,4 +80,3 @@ bc firefox chromium flatpak -nix diff --git a/.local/share/applications/alacritty.desktop b/.local/share/applications/alacritty.desktop new file mode 100644 index 0000000..4963375 --- /dev/null +++ b/.local/share/applications/alacritty.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Simple Terminal +GenericName=Terminal +Comment=Suckless terminal emulator for X +Exec=alacritty -t "Alacritty" +Terminal=false +Type=Application +Encoding=UTF-8 +Icon=utilities-terminal +Categories=System;TerminalEmulator; +Keywords=shell;prompt;command;commandline;cmd; diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop new file mode 100644 index 0000000..3fad6af --- /dev/null +++ b/.local/share/applications/img.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Image viewer +Exec=/usr/bin/imv %u diff --git a/.local/share/applications/lf.desktop b/.local/share/applications/lf.desktop new file mode 100644 index 0000000..47ecff7 --- /dev/null +++ b/.local/share/applications/lf.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=lf +Comment=Launches the lf file manager +Icon=utilities-terminal +Terminal=false +#Exec=pcmanfm +Exec=alacritty -e lf %u +Categories=ConsoleOnly;System;FileTools;FileManager +MimeType=inode/directory; diff --git a/.local/share/applications/mpv.desktop b/.local/share/applications/mpv.desktop new file mode 100644 index 0000000..857a6fe --- /dev/null +++ b/.local/share/applications/mpv.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Video Player +Exec=/usr/bin/mpv %u diff --git a/.local/share/applications/pdf.desktop b/.local/share/applications/pdf.desktop new file mode 100644 index 0000000..8c38677 --- /dev/null +++ b/.local/share/applications/pdf.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=PDF reader +Exec=/usr/bin/zathura %u diff --git a/.local/share/applications/text.desktop b/.local/share/applications/text.desktop new file mode 100644 index 0000000..daff7f1 --- /dev/null +++ b/.local/share/applications/text.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Text editor +Exec=/usr/local/bin/alacritty -e vim %u diff --git a/.local/share/applications/torrent.desktop b/.local/share/applications/torrent.desktop new file mode 100644 index 0000000..f6d28d9 --- /dev/null +++ b/.local/share/applications/torrent.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Torrent +Exec=/usr/bin/env transadd %U diff --git a/.local/share/applications/web.desktop b/.local/share/applications/web.desktop new file mode 100644 index 0000000..87f5312 --- /dev/null +++ b/.local/share/applications/web.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Web Browser +Exec=$HOME/.local/scripts/browser.sh %u +MimeType=text/html;