Go to file
piccihud 95b9eebb3a update dotfiles 2023-10-08 19:39:53 +02:00
alacritty new dotfiles commit 2023-09-05 18:48:36 +02:00
btop update dotfiles 2023-09-18 23:12:03 +02:00
feh new dotfiles commit 2023-09-05 19:05:04 +02:00
kitty new dotfiles commit 2023-09-05 19:05:04 +02:00
ranger update dotfiles 2023-09-23 18:18:35 +02:00
rnr update dotfiles 2023-10-06 20:49:26 +02:00
sway update dotfiles 2023-10-06 20:49:26 +02:00
swaylock new dotfiles commit 2023-09-05 18:48:36 +02:00
waybar update dotfiles 2023-10-08 19:39:53 +02:00
wofi update dotfiles 2023-09-07 21:31:30 +02:00
.bashrc update dotfiles 2023-09-24 10:26:28 +02:00
.inputrc new dotfiles commit 2023-09-05 18:48:36 +02:00
.profile update dotfiles 2023-10-06 20:49:26 +02:00
.vimrc update dotfiles 2023-09-16 16:36:33 +02:00
LICENSE Initial commit 2023-09-05 18:31:49 +02:00
README.md update dotfiles 2023-10-07 17:28:10 +02:00
swaybg.sh new dotfiles commit 2023-09-05 19:11:24 +02:00
swaydotfile.sh update dotfiles 2023-09-24 16:11:11 +02:00

README.md

Sway on Debian SID

My dotfiles. See here for the wallpapers

sudo apt update && sudo apt -y upgrade --no-install-recommends 

Install Sway and utilities

sudo apt install vim wget git apt-transport-https curl gnupg vim-gtk3 nala neofetch megatools grimshot vrms brightnessctl brightness-udev qtwayland5 pavucontrol arc-theme gtk2-engines-murrine firefox-esr pulseaudio btop qt5ct virtualbox virtualbox-guest-additions-iso screen libgtk-layer-shell0 sway swaylock swayidle swaybg wofi waybar lxappearance thunar thunar-archive-plugin thunar-volman file-roller dex mako-notifier acpi libnm0 network-manager network-manager-gnome sysstat wayland-protocols xwayland wl-clipboard dex jq pavucontrol unzip unrar feh gnome-applets lshw network-manager-openvpn profile-sync-daemon wl-clipboard clipman slurp grim blueman rfkill pulseaudio-utils pulseaudio-module-bluetooth xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk --no-install-recommends --no-install-suggests 

PolicyKit

sudo apt install policykit-1-gnome

PolicyKit rules

Create the following rules

 > cat /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf 
[Configuration]
AdminIdentities=unix-group:sudo 

 > sudo cat /etc/polkit-1/rules.d/49-nopasswd_global.rules
[sudo] password di dado:
/* Allow members of the sudo group to execute any actions
 *  * without password authentication, similar to "sudo NOPASSWD:"
 *   */
polkit.addRule(function(action, subject) {
	   if (subject.isInGroup("sudo")) {
		           return polkit.Result.YES;
		       }
});

 > sudo cat /etc/polkit-1/rules.d/50-default.rules
polkit.addAdminRule(function(action, subject) {
	   return ["unix-group:sudo"];
});

adb rules

See Here for more details

 > cat /etc/udev/rules.d/51-android.rules 
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", ATTR{idProduct}=="78fd", MODE="0666", GROUP="plugdev"

Main programs

sudo apt install ncdu arc exa alacritty openjdk-21-jre seahorse gammastep speedtest-cli python3 python3-pip postgresql android-tools-adb android-tools-fastboot telegram-desktop ipcalc nextcloud-desktop syncthing pandoc openssh-server papirus-icon-theme wget wike foliate orage galculator ncal poppler-utils smartmontools ufw hw-probe duf cmus cava udisks2 fuse3 ntfs-3g clamav python3-venv bash-completion lsof multitail dnsutils nala zathura zathura-cb mpv mousepad ristretto mtp-tools jmtpfs libudisks2-dev gvfs gvfs-backends gvfs-fuse cups system-config-printer pipx feh ranger tmux iptraf-ng profile-sync-daemon kitty flatpak libavcodec-extra libwayland-dev pamix --no-install-recommends 

Ranger addictions

sudo apt install atool tar sed ffmpeg mediainfo odt2txt imagemagick python3-pil highlight poppler-utils gnome-epub-thumbnailer --no-install-recommends 

Thunar addictions

sudo apt install tumbler tumbler-plugins-extra ffmpegthumbnailer thunar-archive-plugin --no-install-recommends 

rnr and other programs

sudo apt install grimshot --no-install-recommends 
pipx install autotiling shotman  pipx ensurepath  pipx list  sleep 5
sudo apt install archivemount  pipx install rnr

Remove the following programs

sudo apt remove debian-reference-it debian-reference-common debian-faq doc-debian -y

Gnome-keyring

> cat /usr/share/xdg-desktop-portal/portals/gnome-keyring.portal 
>
[portal]
DBusName=org.freedesktop.secrets
Interfaces=org.freedesktop.impl.portal.Secret
UseIn=gnome;sway

Credits

Sway EndeavourOS Community Edition