Compare commits

...

128 Commits

Author SHA1 Message Date
2ab1c652cb Merge branch 'main' into arch-wayland 2023-05-22 21:36:36 +02:00
45dc807a48 Merge remote-tracking branch 'arch-setup/wayland' into arch-wayland 2023-05-21 14:49:07 +02:00
135a04469e Merge remote-tracking branch 'arch-config/wayland' into arch-wayland 2023-05-21 14:29:05 +02:00
32e30c3b8e Add greetd config 2022-07-29 15:35:48 +02:00
3dcdf85129 Add greetd config for sway and default commands 2022-07-29 15:23:09 +02:00
c819e1249d Merge branch 'master' into wayland 2022-07-29 15:19:41 +02:00
fcacb2beab Change login manager
- Remove lightdm
    - Add greetd
2022-07-29 15:17:17 +02:00
2a5038662c Merge branch 'master' into wayland 2022-07-29 15:13:35 +02:00
ea46fd3295 Remove bashrc 2022-07-20 21:10:07 +02:00
1a69f491c2 Correct argument to blank output 2022-07-20 21:08:56 +02:00
51779f6540 Change to gitea url 2022-07-20 20:12:11 +02:00
e86981925f Remove bashrc 2022-07-20 20:10:17 +02:00
4817eb8cff Add swaybg to set background wallpaper 2022-07-20 20:05:32 +02:00
6bccbb04e1 Set lockscreen and backgrounds 2022-07-20 20:02:38 +02:00
7b0fd06364 Add desktop and lockscreen background images 2022-07-20 20:01:06 +02:00
8907a4ac88 Use global environment variable again 2022-07-20 19:47:28 +02:00
97a7c517f8 Add dependencies for flameshot to work on wayland 2022-07-20 19:39:11 +02:00
bcfba6762e Move xdg_current_desktop to fish config again for testing 2022-07-20 17:44:35 +02:00
4958de3cec I give up xdg_current_desktop 2022-07-20 17:14:16 +02:00
3f92b23bf9 Set environment variable xdg_current_desktop 2022-07-20 17:08:47 +02:00
3b0fa9e38e Sway session target file 2022-07-20 17:08:38 +02:00
59940b42c5 Import environment and session target 2022-07-20 17:08:25 +02:00
131342276e Doesn't work properly sadly 2022-07-20 16:53:06 +02:00
388f5de90d Add environment variable XDG_CURRENT_DESKTOP 2022-07-20 16:44:53 +02:00
8c7d424c87 Add a bunch of TODOs 2022-07-20 16:38:54 +02:00
3acf0f3355 Copy a bunch of settings from the old i3 config 2022-07-20 16:38:43 +02:00
c53254c979 Add 20px resizing options 2022-07-20 16:26:05 +02:00
21025e535c Need to define outputs 2022-07-20 16:21:17 +02:00
154f762a5b Move to workspace after moving window 2022-07-20 16:21:09 +02:00
1d5faf991a Add key definitions 2022-07-20 16:21:01 +02:00
e29fe4359d Set timeout to something more reasonable 2022-07-20 16:07:36 +02:00
961d281dfe Add -e. Add note on more swaylock options 2022-07-20 16:06:06 +02:00
dc951e0db0 Remove exit binding 2022-07-20 16:01:31 +02:00
143a5aefec Use 24-hour time 2022-07-20 16:01:24 +02:00
c74c9c8de8 Auto lock and sleep 2022-07-20 16:00:15 +02:00
57d21d4736 Maybe wallpaper works like this 2022-07-20 15:57:56 +02:00
12bc860ccd Readd rofi for now 2022-07-20 15:54:21 +02:00
9e7fa8b198 Also install xwayland 2022-07-20 15:54:11 +02:00
d8dc461c81 Remove more xorg specific config 2022-07-20 15:50:12 +02:00
3a252e61e6 Set as generic 105-key keyboard 2022-07-20 15:49:07 +02:00
08622cd128 Remove old xorg touchpad config 2022-07-20 15:47:07 +02:00
9e9a67ab21 Enable tap for touchpad 2022-07-20 15:46:45 +02:00
02ed1dd1de move stuff 2022-07-20 15:44:33 +02:00
d500db3346 Add touchpad options 2022-07-20 15:42:14 +02:00
2ed968eaab Add keyboard layout configuration 2022-07-20 15:36:32 +02:00
e268751bf4 Restart doesn't work 2022-07-20 15:25:46 +02:00
7caef83cd7 Restart sway with keybinding 2022-07-20 15:24:29 +02:00
964dfcb27c Full path 2022-07-20 15:22:35 +02:00
503c771add Use betterlockscreen wallpaper for now 2022-07-20 15:20:56 +02:00
87d34a3d36 Add new example sway config 2022-07-20 15:15:22 +02:00
f81f192fee Rename original i3 config 2022-07-20 15:15:15 +02:00
7443915894 Comment like this 2022-07-20 14:24:04 +02:00
a76333f7c2 Disable most bindings for now 2022-07-20 14:21:59 +02:00
42a4614597 Comment this for now 2022-07-20 14:20:02 +02:00
454f0d3657 Maybe fix sway errors 2022-07-20 14:18:02 +02:00
c407a481d7 Update keyring first 2022-07-20 14:14:51 +02:00
4a07e9f10c Add nocofirm to paru-bin install 2022-07-20 13:58:28 +02:00
bdc95c70a9 Disable polybar for now 2022-07-20 12:54:45 +02:00
77969d7c77 Add || true to firewall-cmd 2022-07-20 11:27:44 +02:00
075e69e9e8 Remove missed merge leftover 2022-07-20 11:22:48 +02:00
1fad8c59e1 Add check if selectedpkgs files exist 2022-07-20 11:21:42 +02:00
89ab2aef9f Add a bunch of noconfirms 2022-07-20 11:20:19 +02:00
b2844fd3c7 Add pipewire-jack. Sort package lists 2022-07-20 11:20:01 +02:00
f5288a4a66 Merge branch 'master' into wayland 2022-07-20 10:53:42 +02:00
b6a366f93a Merge branch 'master' into wayland 2022-07-20 09:24:14 +02:00
ac0f40dfc4 Add minigalaxy to gaming programs 2022-07-20 09:22:59 +02:00
698ff64b81 Remove easystroke 2022-07-20 09:22:59 +02:00
1246f19594 Integrated covers fail for opus. use -vn to skip the cover 2022-07-20 09:22:59 +02:00
774d45a008 Fix script 2022-07-20 09:22:59 +02:00
87edc03d4b Reenable music 2022-07-20 09:22:59 +02:00
e2c17c9351 Integrate cover.jpg if it exists 2022-07-20 09:22:59 +02:00
e8f153b792 Update firefox prefs 2022-07-20 09:22:59 +02:00
8ca470d8df Change pipewire dsp config 2022-07-20 09:22:59 +02:00
9790c3c336 Disable error output for git. Add check for both operations 2022-07-20 09:22:59 +02:00
72496aae5f Fix cover.jpg path 2022-07-20 09:22:59 +02:00
624195ae68 Remove comments 2022-07-20 09:22:59 +02:00
149c17b198 Add cover.jpg and specify opus as format 2022-07-20 09:22:59 +02:00
02204f990d Remove emoji 2022-07-20 09:22:59 +02:00
f633f521f6 Update setting 2022-07-20 09:22:59 +02:00
0cd586685e Don't specify upstream 2022-07-20 09:22:59 +02:00
5ae7dc8cf7 Automatically detect local repos and update all of them 2022-07-20 09:22:59 +02:00
de0181cab8 Update to latest lepton 2022-07-20 09:22:59 +02:00
60bcc208d0 Add route to lan1dmz 2022-07-20 09:22:59 +02:00
2cce17991a Remove keepalive 2022-07-20 09:22:59 +02:00
1a4a2e5944 Add persistent keepalive 2022-07-20 09:22:59 +02:00
fa4f96eac0 Add new route for lan1dmz 2022-07-20 09:22:59 +02:00
ee751992fb Update ips 2022-07-20 09:22:59 +02:00
b5727978c1 Add possible third option to investigate 2022-06-16 13:48:06 +02:00
8a502d7907 Disable local transmission 2022-06-09 19:42:04 +02:00
e03ac86ace Themes is still using i3 currently 2022-06-09 19:08:23 +02:00
3904da9ff8 Fix stuff for sway 2022-06-09 19:08:23 +02:00
6dace8ba26 Change to wayland branch 2022-06-09 19:08:23 +02:00
28bd988946 Rename i3 dir to sway and replace paths in config 2022-06-09 19:08:23 +02:00
b2fccb7301 Extend disabling of set -e 2022-06-09 19:08:23 +02:00
89160ba6e5 Unset set -e temporarily 2022-06-09 19:08:23 +02:00
7068ab455f Add test for doom emacs 2022-06-09 19:08:23 +02:00
0a9e69c41d Add check for firefox directory itself 2022-06-09 19:08:23 +02:00
ac40fc8327 Check presence of firefox default-release directory 2022-06-09 19:08:23 +02:00
c7e88c823b Update installed packages 2022-06-07 12:38:36 +02:00
df956f2903 Add joplin-appimage 2022-06-07 12:38:05 +02:00
b4f425e775 Comment seatd config 2022-06-05 21:20:29 +02:00
3d5149d32d Fix command 2022-06-05 21:04:53 +02:00
8f146af51b Fix check for sway 2022-06-05 21:02:01 +02:00
b85e60ce80 Install, enable and add user to seatd 2022-06-05 20:54:39 +02:00
67c46d136b Temporary checkout config branch 2022-06-05 20:22:16 +02:00
0ea49fb83d Remove config if it exists 2022-06-05 20:11:05 +02:00
ee6be483ea Fixed removal of setup directory 2022-06-05 20:09:19 +02:00
41fc2afa83 Test absolute script path 2022-06-05 20:08:41 +02:00
236d101c42 Disable set -e for a part 2022-06-05 20:04:53 +02:00
2b96cb7402 Add true after autotrash service 2022-06-05 20:02:50 +02:00
bf8f7e7d87 Create Trash info directory 2022-06-05 19:59:36 +02:00
26f0119257 Use non-git packages nohang, font-manager 2022-06-05 19:54:08 +02:00
7ab320e165 Don't start autotrash 2022-06-05 19:52:33 +02:00
1248dec7ce Disable system configs 2022-06-05 19:49:24 +02:00
940e5dcd37 Always pass (aur)selectedpkgs 2022-06-05 19:45:08 +02:00
134692666d Use non-git ffmpeg-normalize 2022-06-05 19:38:23 +02:00
07eb6bd93c Add noconfirms. Some TODOs 2022-06-05 19:37:17 +02:00
693ce1a9e0 Remove wps. Fails to download 2022-06-05 19:36:16 +02:00
cd8d6f54c2 Remove tmpmail 2022-06-05 17:16:42 +02:00
30c7747867 Remove tauon music 2022-06-05 17:11:55 +02:00
54fbc274d9 Tmp remove joplin-desktop-bin 2022-06-05 16:59:56 +02:00
28d36e7780 Replace pipewire-media-session with wireplumber 2022-06-05 16:52:21 +02:00
6b4041cfef Ignore errors 2022-06-05 16:41:01 +02:00
d7fd748038 Properly sort davfs2 package 2022-06-05 16:39:12 +02:00
84c5c3272f Only redirect stderr 2022-06-05 16:36:06 +02:00
1003c7a555 Add noconfirm 2022-06-05 16:32:35 +02:00
e733d5d11c Prepare for sway. Remove old comments 2022-06-05 16:23:05 +02:00
1317fb627c Add autotrash 2022-06-05 16:00:15 +02:00
30 changed files with 548 additions and 250 deletions

View File

@ -1,123 +0,0 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export HISTCONTROL=ignoreboth:erasedups
PS1='[\u@\h \W]\$ '
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.emacs.d/bin/" ] ;
then PATH="$HOME/.emacs.d/bin/:$PATH"
fi
# environment variables
#export VISUAL="/usr/bin/emacs --no-window-system"
#export EDITOR="/usr/bin/emacs --no-window-system"
export VISUAL="/usr/bin/vim"
export EDITOR="/usr/bin/vim"
#update config
#alias upconf='$HOME/scripts/arcolinux-config.sh'
#list
alias ls='ls --color=auto'
#alias la='ls -a'
#alias ll='ls -la'
#alias l='ls'
#alias l.="ls -A | egrep '^\.'"
#fix obvious typo's
#alias cd..='cd ..'
## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
#continue download
alias wget="wget -c"
# Aliases for software managment
alias pacman='pacman --color auto'
#alias update='yay -Syu'
alias update='paru -Syu --sudoloop --newsonupgrade'
#grub update
#alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
#check vulnerabilities microcode
#alias microcode='grep . /sys/devices/system/cpu/vulnerabilities/*'
#get fastest mirrors in your neighborhood
#alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
#alias mirror-delay="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
#alias mirror-score="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
#alias mirror-age="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
#mounting the folder Public for exchange between host and guest on virtualbox
#alias vbm="sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Public /home/$USER/Public"
#youtube-dl
#alias yta-aac="youtube-dl --extract-audio --audio-format aac "
#alias yta-best="youtube-dl --extract-audio --audio-format best "
#alias yta-flac="youtube-dl --extract-audio --audio-format flac "
#alias yta-m4a="youtube-dl --extract-audio --audio-format m4a "
#alias yta-mp3="youtube-dl --extract-audio --audio-format mp3 "
#alias yta-opus="youtube-dl --extract-audio --audio-format opus "
#alias yta-vorbis="youtube-dl --extract-audio --audio-format vorbis "
#alias yta-wav="youtube-dl --extract-audio --audio-format wav "
#alias ytv-best="youtube-dl -f bestvideo+bestaudio "
#Cleanup orphaned packages
#alias cleanup='sudo pacman -Rns $(pacman -Qtdq)'
#get the error messages from journalctl
#alias jctl="journalctl -p 3 -xb"
#shutdown or reboot
#alias ssn="sudo shutdown now"
#alias sr="sudo reboot"
#cpu-x as sudo
#alias cpu-x="sudo cpu-x"
# # ex = EXtractor for all kinds of archives
# # usage: ex <file>
#ex ()
#{
# if [ -f $1 ] ; then
# case $1 in
# *.tar.bz2) tar xjf $1 ;;
# *.tar.gz) tar xzf $1 ;;
# *.bz2) bunzip2 $1 ;;
# *.rar) unrar x $1 ;;
# *.gz) gunzip $1 ;;
# *.tar) tar xf $1 ;;
# *.tbz2) tar xjf $1 ;;
# *.tgz) tar xzf $1 ;;
# *.zip) unzip $1 ;;
# *.Z) uncompress $1;;
# *.7z) 7z x $1 ;;
# *.deb) ar x $1 ;;
# *.tar.xz) tar xf $1 ;;
# *) echo "'$1' cannot be extracted via ex()" ;;
# esac
# else
# echo "'$1' is not a valid file"
# fi
#}
#execute stuff
#neofetch

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

View File

@ -0,0 +1,387 @@
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
# $Mod = WINDOWS key or Super key or Mod4
# Mod1 = ALT key
# Control = CTRL key
# Shift = SHIFT key
# Escape = ESCAPE key
# Return = ENTER or RETURN key
# KP_Enter = Keypad Enter
# Pause = PAUSE key
# Print = PRINT key
# Tab = TAB key
### Variables
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term kitty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu rofi -show drun
### Keyboard, Mouse and others configuration
# Keyboard config https://man.archlinux.org/man/xkeyboard-config.7
# Sway input https://man.archlinux.org/man/sway-input.5
input * {
# Keyboard
xkb_layout "ch"
xkb_variant ""
xkb_model "pc105"
#xkb_options "grp:win_space_toggle"
# Touchpad
tap enabled
tap_button_map lrm
scroll_method two_finger
}
### Output configuration
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
output * bg $HOME/.cache/backgrounds/desktop.png fill
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# 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.
# -c 000000 sets the color in RGB
# use -i to set an image
exec swayidle -w \
timeout 300 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"'
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
### Key bindings
#
# Basics:
#
# Start a terminal
#bindsym $mod+Return exec $term
bindsym ctrl+mod1+Return exec $term
# Kill focused window
bindsym $mod+q kill
# Start your launcher
bindsym ctrl+mod1+a exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
#bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Moving around:
#
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#
# Workspaces:
#
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1; workspace 1
bindsym $mod+Shift+2 move container to workspace number 2; workspace 2
bindsym $mod+Shift+3 move container to workspace number 3; workspace 3
bindsym $mod+Shift+4 move container to workspace number 4; workspace 4
bindsym $mod+Shift+5 move container to workspace number 5; workspace 5
bindsym $mod+Shift+6 move container to workspace number 6; workspace 6
bindsym $mod+Shift+7 move container to workspace number 7; workspace 7
bindsym $mod+Shift+8 move container to workspace number 8; workspace 8
bindsym $mod+Shift+9 move container to workspace number 9; workspace 9
bindsym $mod+Shift+0 move container to workspace number 10; workspace 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+o splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+z layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+f floating toggle
# Swap focus between the tiling area and the floating area
# TODO haven't ever used this afaik
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
#bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
#bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# Resize windows with movement keys
bindsym $left resize shrink width 10px
bindsym Shift+$left resize shrink width 20px
bindsym $down resize shrink height 10px
bindsym Shift+$down resize shrink height 20px
bindsym $up resize grow height 10px
bindsym Shift+$up resize grow height 20px
bindsym $right resize grow width 10px
bindsym Shift+$right resize grow width 20px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Shift+Left resize shrink width 20px
bindsym Down resize shrink height 10px
bindsym Shift+Down resize shrink height 20px
bindsym Up resize grow height 10px
bindsym Shift+Up resize grow height 20px
bindsym Right resize grow width 10px
bindsym Shift+Right resize grow width 20px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
############################################################
##### Stuff from old config #####
############################################################
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# choose your font
font pango:Noto Mono Regular 9
##############################
# Applications at boot #
##############################
#Authentication dialog
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
#nextcloud
exec --no-startup-id nextcloud
# network
exec --no-startup-id nm-applet
# num lock activated
exec_always --no-startup-id numlockx on
#Corectrl
exec --no-startup-id corectrl
#Transmission
#exec --no-startup-id transmission-gtk -m
#Polybar
exec_always --no-startup-id ~/.config/polybar/launch.sh &
#startup functions
#exec_always --no-startup-id ~/scritps/startup.sh
# Protonmail Bridge
exec --no-startup-id protonmail-bridge -no-window
# Start KopiaUI
exec --no-startup-id /opt/KopiaUI/kopia-ui
# PulseEffects
#exec --no-startup-id pulseeffects --gapplication-service
# activate flameshot
exec --no-startup-id flameshot &
# notifications
exec --no-startup-id /usr/bin/dunst &
##############################
# Keyboard shortcuts #
##############################
#pavucontrol
bindsym control+mod1+u exec --no-startup-id pavucontrol;focus
# joplin
bindsym control+mod1+n exec --no-startup-id joplin-desktop;focus
#texteditors
bindsym ctrl+mod1+e exec --no-startup-id emacs;focus
# file manager
bindsym ctrl+mod1+t exec --no-startup-id nemo;focus
#libreoffice
bindsym ctrl+mod1+l exec --no-startup-id libreoffice;focus
#browsers
bindsym control+mod1+f exec --no-startup-id firefox;focus
# jellyamp
bindsym ctrl+mod1+m exec --no-startup-id "env DESKTOPINTEGRATION=false /usr/bin/Jellyamp";focus
# jellyfin media player
bindsym ctrl+mod1+j exec --no-startup-id jellyfinmediaplayer;focus
# mail
bindsym ctrl+mod1+b exec --no-startup-id thunderbird;focus
##############################
# Screenshots #
##############################
bindsym Print exec --no-startup-id flameshot gui
bindsym Control+Print exec --no-startup-id flameshot gui -d 2000
##############################
# Audio & Media Control #
##############################
bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh up
bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh down
bindsym XF86AudioMute exec --no-startup-id bash $HOME/scripts/dunst-volume.sh mute
bindsym XF86AudioPlay exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py play-pause &
bindsym XF86AudioNext exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py next &
bindsym XF86AudioPrev exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py previous &
bindsym XF86AudioStop exec --no-startup-id playerctl stop
##############################
# xbacklight #
##############################
bindsym $mod+Shift+u exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness
bindsym $mod+Shift+d exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness
bindsym XF86MonBrightnessUp exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness
bindsym XF86MonBrightnessDown exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness
##############################
# Borders #
##############################
default_border pixel 2
############################################################
##### More from the sample config #####
############################################################
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position bottom
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %H:%M:%S %p'; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
# Start sway-session.target for sway-specific stuff and import environment
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
include @sysconfdir@/sway/config.d/*

View File

@ -56,6 +56,7 @@ set $right l
# setting variables for later use # setting variables for later use
# use xrandr and/or arandr to know the names of your monitors # use xrandr and/or arandr to know the names of your monitors
# TODO
exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto
@ -120,16 +121,17 @@ bindsym $mod+Shift+0 move container to workspace 10; workspace 10
#Press $mod (super) and X to exit - check toolbar for next choices #Press $mod (super) and X to exit - check toolbar for next choices
# TODO
bindsym $mod+x mode "$mode_system" bindsym $mod+x mode "$mode_system"
set $mode_system System (k) lock, (l) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate set $mode_system System (k) lock, (l) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
mode "$mode_system" { mode "$mode_system" {
bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" bindsym k exec --no-startup-id ~/.config/sway/scripts/i3exit.sh lock, mode "default"
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" bindsym l exec --no-startup-id ~/.config/sway/scripts/i3exit.sh logout, mode "default"
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" bindsym u exec --no-startup-id ~/.config/sway/scripts/i3exit.sh suspend, mode "default"
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" bindsym h exec --no-startup-id ~/.config/sway/scripts/i3exit.sh hibernate, mode "default"
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" bindsym r exec --no-startup-id ~/.config/sway/scripts/i3exit.sh reboot, mode "default"
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" bindsym s exec --no-startup-id ~/.config/sway/scripts/i3exit.sh shutdown, mode "default"
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"
@ -247,21 +249,21 @@ bindsym $mod+d focus child
################# change modes ################# ################# change modes #################
##################################################################################################################### #####################################################################################################################
# TODO
#bindsym $mod+m mode "$main"
bindsym $mod+m mode "$main" #set $main Social (s), Gaming (g), Crypto (c), Media (m), Resize (r), Layout (l)
#mode "$main"{
set $main Social (s), Gaming (g), Crypto (c), Media (m), Resize (r), Layout (l) # bindsym s mode "$social"
mode "$main"{ # bindsym g mode "$gaming"
bindsym s mode "$social" # bindsym c mode "$crypto"
bindsym g mode "$gaming" # bindsym m mode "$media"
bindsym c mode "$crypto" # bindsym r mode "resize"
bindsym m mode "$media" # bindsym l mode "$layout"
bindsym r mode "resize" #
bindsym l mode "$layout" # bindsym Return mode "default"
# bindsym Escape mode "default"
bindsym Return mode "default" #}
bindsym Escape mode "default"
}
############################################################################# #############################################################################
@ -269,18 +271,18 @@ mode "$main"{
############################################################################# #############################################################################
set $social Discord (d), Element (e), Telegram (b), Signal (s), Teams (t) #set $social Discord (d), Element (e), Telegram (b), Signal (s), Teams (t)
mode "$social"{ #mode "$social"{
bindsym d exec --no-startup-id discord --no-sandbox;focus # bindsym d exec --no-startup-id discord --no-sandbox;focus
bindsym e exec --no-startup-id element-desktop;focus # bindsym e exec --no-startup-id element-desktop;focus
bindsym b exec --no-startup-id telegram-desktop;focus # bindsym b exec --no-startup-id telegram-desktop;focus
#bindsym s exec --no-startup-id slack;focus #bindsym s exec --no-startup-id slack;focus
bindsym s exec --no-startup-id signal-desktop;focus # bindsym s exec --no-startup-id signal-desktop;focus
bindsym t exec --no-startup-id teams;focus # bindsym t exec --no-startup-id teams;focus
bindsym Return mode "default" # bindsym Return mode "default"
bindsym Escape mode "default" # bindsym Escape mode "default"
} #}
############################################################################# #############################################################################
@ -288,15 +290,15 @@ mode "$social"{
############################################################################# #############################################################################
set $media Tauon (t), Celluloid (c), Jellyfin (j) #set $media Tauon (t), Celluloid (c), Jellyfin (j)
mode "$media"{ #mode "$media"{
bindsym t exec --no-startup-id tauon;focus # bindsym t exec --no-startup-id tauon;focus
bindsym c exec --no-startup-id celluloid;focus # bindsym c exec --no-startup-id celluloid;focus
bindsym j exec --no-startup-id jellyfinmediaplayer;focus # bindsym j exec --no-startup-id jellyfinmediaplayer;focus
#
bindsym Return mode "default" # bindsym Return mode "default"
bindsym Escape mode "default" # bindsym Escape mode "default"
} #}
############################################################################## ##############################################################################
@ -304,15 +306,15 @@ mode "$media"{
############################################################################## ##############################################################################
set $crypto Electrum (b), Electon Cash (c), Monero (m) #set $crypto Electrum (b), Electon Cash (c), Monero (m)
mode "$crypto"{ #mode "$crypto"{
bindsym b exec --no-startup-id electrum;focus # bindsym b exec --no-startup-id electrum;focus
bindsym c exec --no-startup-id electron-cash;focus # bindsym c exec --no-startup-id electron-cash;focus
bindsym m exec --no-startup-id monero-wallet-gui;focus # bindsym m exec --no-startup-id monero-wallet-gui;focus
#
bindsym Return mode "default" # bindsym Return mode "default"
bindsym Escape mode "default" # bindsym Escape mode "default"
} #}
############################################################################## ##############################################################################
@ -321,17 +323,17 @@ mode "$crypto"{
# launch gaming focused programs # launch gaming focused programs
set $gaming Lutris (l), Steam (s), Minigalaxy (g), Itch (i), Citra (3DS) (c) #set $gaming Lutris (l), Steam (s), Minigalaxy (g), Itch (i), Citra (3DS) (c)
mode "$gaming" { #mode "$gaming" {
bindsym l exec --no-startup-id lutris;focus # bindsym l exec --no-startup-id lutris;focus
bindsym s exec --no-startup-id steam-native;focus # bindsym s exec --no-startup-id steam-native;focus
bindsym g exec --no-startup-id minigalaxy;focus # bindsym g exec --no-startup-id minigalaxy;focus
bindsym i exec --no-startup-id itch;focus # bindsym i exec --no-startup-id itch;focus
bindsym c exec --no-startup-id citra-qt;focus # bindsym c exec --no-startup-id citra-qt;focus
#
bindsym Return mode "default" # bindsym Return mode "default"
bindsym Escape mode "default" # bindsym Escape mode "default"
} #}
############################################################################# #############################################################################
@ -373,20 +375,20 @@ mode "resize" {
bindsym Escape mode "default" bindsym Escape mode "default"
} }
############################################################################## ##############################################################################
################# start normal layout ################# ################# start normal layout #################
############################################################################## ##############################################################################
# launch programs in the right workspaces # launch programs in the right workspaces
# TODO
bindsym $mod+w mode "$layout" bindsym $mod+w mode "$layout"
set $layout full (f) set $layout full (f)
mode "$layout" { mode "$layout" {
bindsym f exec --no-startup-id bash $HOME/.config/i3/scripts/layout-default.sh bindsym f exec --no-startup-id bash $HOME/.config/sway/scripts/layout-default.sh
#bindsym w exec --no-startup-id bash $HOME/.config/i3/scripts/layout-work.sh #bindsym w exec --no-startup-id bash $HOME/.config/sway/scripts/layout-work.sh
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
@ -399,6 +401,7 @@ mode "$layout" {
# change xrandr display configuration # change xrandr display configuration
# TODO
#bindsym $mod+d mode "$xrandr" #bindsym $mod+d mode "$xrandr"
@ -459,7 +462,7 @@ exec --no-startup-id corectrl
#exec --no-startup-id transmission-gtk -m #exec --no-startup-id transmission-gtk -m
#Conky #Conky
#exec --no-startup-id conky -c ~/.config/i3/system-overview #exec --no-startup-id conky -c ~/.config/sway/system-overview
#Polybar #Polybar
exec_always --no-startup-id ~/.config/polybar/launch.sh & exec_always --no-startup-id ~/.config/polybar/launch.sh &
@ -492,6 +495,7 @@ exec --no-startup-id flameshot &
# there are some scripts that should work with i3 # there are some scripts that should work with i3
# gnome-power-manager # gnome-power-manager
# mate-power-manager # mate-power-manager
# TODO
exec --no-startup-id xfce4-power-manager & exec --no-startup-id xfce4-power-manager &
# notifications # notifications
@ -589,6 +593,7 @@ bindsym Ctrl+Print exec --no-startup-id flameshot gui -d 2000
############################## ##############################
### floating disabled ### ### floating disabled ###
############################## ##############################
# TODO
for_window [class="Bleachbit"] floating disable for_window [class="Bleachbit"] floating disable
for_window [class="Brasero"] floating disable for_window [class="Brasero"] floating disable
for_window [class="Gnome-disks"] floating disable for_window [class="Gnome-disks"] floating disable
@ -722,6 +727,7 @@ bindsym XF86MonBrightnessDown exec --no-startup-id bash $HOME/scripts/dunst-back
# Border control # Border control
# TODO
hide_edge_borders none hide_edge_borders none
bindsym $mod+u mode "$border" bindsym $mod+u mode "$border"
@ -743,6 +749,7 @@ mode "$border" {
#Popups during fullscreen mode #Popups during fullscreen mode
# TODO
popup_during_fullscreen smart popup_during_fullscreen smart
@ -768,7 +775,8 @@ for_window [class="^.*"] border pixel 2
#if you want transparency on non-focused windows, ... #if you want transparency on non-focused windows, ...
exec_always --no-startup-id picom -b --config ~/.config/i3/picom.conf # TODO
exec_always --no-startup-id picom -b --config ~/.config/sway/picom.conf
##################################################################################################################### #####################################################################################################################
@ -802,7 +810,7 @@ exec_always --no-startup-id picom -b --config ~/.config/i3/picom.conf
# Second one is the standard statusbar with my personal settings # Second one is the standard statusbar with my personal settings
#status_command i3status #status_command i3status
#status_command i3status -c ~/.config/i3/i3status.conf #status_command i3status -c ~/.config/sway/i3status.conf
# OPTION 2 : i3blocks # OPTION 2 : i3blocks
@ -812,10 +820,10 @@ exec_always --no-startup-id picom -b --config ~/.config/i3/picom.conf
# put hastag in front if not installed # put hastag in front if not installed
#status_command i3blocks #status_command i3blocks
#status_command i3blocks -c ~/.config/i3/i3blocks.conf #status_command i3blocks -c ~/.config/sway/i3blocks.conf
#status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf #status_command i3blocks -c ~/.config/sway/i3blocks-rainbow.conf
#status_command i3blocks -c ~/.config/i3/i3blocks-original.conf #status_command i3blocks -c ~/.config/sway/i3blocks-original.conf
#status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf #status_command i3blocks -c ~/.config/sway/i3blocks-awesome.conf
# OPTION 3 : conky # OPTION 3 : conky
@ -825,7 +833,7 @@ exec_always --no-startup-id picom -b --config ~/.config/i3/picom.conf
# documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
# conky configuration is in conky-i3statusbar # conky configuration is in conky-i3statusbar
#status_command ~/.config/i3/start-conky-i3statusbar.sh #status_command ~/.config/sway/start-conky-i3statusbar.sh
# OPTION 4 : polybar # OPTION 4 : polybar

View File

@ -0,0 +1,6 @@
[Unit]
Description=Sway compositor session
Documentation=man:systemd.special
BindsTo=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target

View File

@ -1,8 +0,0 @@
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "ch"
Option "XkbModel" "pc105"
EndSection

View File

@ -1,7 +0,0 @@
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "ScrollMethod" "twofinger"
EndSection

View File

@ -1,2 +1,3 @@
QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORMTHEME=qt5ct
EDITOR=vim EDITOR=vim
XDG_CURRENT_DESKTOP=sway

View File

@ -0,0 +1,9 @@
[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number designating the VT.
vt = 7
[default_session]
command = "sway --config /etc/greetd/sway-config"
# The user to run the command as. A graphical greeter requires the "video" group for example
user = "greeter"

View File

@ -0,0 +1,2 @@
sway
fish

View File

@ -0,0 +1,10 @@
# `-l` activates layer-shell mode. Notice that `swaymsg exit` will run after gtkgreet.
exec "gtkgreet -l; swaymsg exit"
bindsym Mod4+shift+e exec swaynag \
-t warning \
-m 'What do you want to do?' \
-b 'Poweroff' 'systemctl poweroff' \
-b 'Reboot' 'systemctl reboot'
include /etc/sway/config.d/*

View File

@ -140,8 +140,8 @@ fi
if [[ -d ~/.config/gtk-3.0 ]]; then if [[ -d ~/.config/gtk-3.0 ]]; then
rsync -ah ~/.config/gtk-3.0 ~/old_dat/.config/ rsync -ah ~/.config/gtk-3.0 ~/old_dat/.config/
fi fi
if [[ -d ~/.config/i3 ]]; then if [[ -d ~/.config/sway ]]; then
rsync -ah ~/.config/i3 ~/old_dat/.config/ rsync -ah ~/.config/sway ~/old_dat/.config/
fi fi
if [[ -d ~/.config/neofetch ]]; then if [[ -d ~/.config/neofetch ]]; then
rsync -ah ~/.config/neofetch ~/old_dat/.config/ rsync -ah ~/.config/neofetch ~/old_dat/.config/
@ -459,7 +459,7 @@ sudo chmod 600 -R /etc/sudoers.d/
#make bash scripts executable #make bash scripts executable
chmod +x -R ~/.config/polybar/ chmod +x -R ~/.config/polybar/
chmod +x -R ~/.config/i3/scripts chmod +x -R ~/.config/sway/scripts
chmod +x -R ~/scripts chmod +x -R ~/scripts
# make applications executable # make applications executable
@ -478,8 +478,10 @@ EOF
# reload applications # reload applications
update-desktop-database ~/.local/share/applications/ update-desktop-database ~/.local/share/applications/
#sync doom-emacs # sync doom-emacs only if it is installed
if [[ -f ~/.emacs.d/bin/doom ]]; then
~/.emacs.d/bin/doom sync ~/.emacs.d/bin/doom sync
fi
# disable freedesktop notification daemon # disable freedesktop notification daemon
if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]]; then if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]]; then
@ -490,6 +492,7 @@ fi
pkill dunst && nohup dunst & pkill dunst && nohup dunst &
# reload .Xresources # reload .Xresources
# TODO fails without display
if [[ -f "$HOME/.Xresources" ]]; then if [[ -f "$HOME/.Xresources" ]]; then
xrdb ~/.Xresources xrdb ~/.Xresources
fi fi

View File

@ -1,9 +1,12 @@
#!/bin/bash #!/usr/bin/env bash
# TODO make this work
# NOTE ignore errors from missing "||". Try getting the line below to work
#set -euo pipefail #set -euo pipefail
# get script directory
scriptloc=$(realpath "$BASH_SOURCE")
setupdir=$(dirname "$scriptloc")
setupdir=$(pwd)
# function to keep sudo from timing out # function to keep sudo from timing out
function func_dont_timeout { function func_dont_timeout {
while true; do while true; do
@ -20,10 +23,7 @@ fi
# keep sudo active in background # keep sudo active in background
func_dont_timeout & func_dont_timeout &
# get current directory #change to home directory
setupdir=$(pwd)
#change to home (does not show in terminal)
cd "$HOME" cd "$HOME"
# check if multilib repo is enabled # check if multilib repo is enabled
@ -36,21 +36,17 @@ fi
echo Updating keyring echo Updating keyring
sudo pacman -Sy --noconfirm archlinux-keyring sudo pacman -Sy --noconfirm archlinux-keyring
echo Updating repos and packages echo Updating repos and packages
sudo pacman -Syu sudo pacman -Syu --noconfirm
echo Select packages to install echo Select packages to install
cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16) cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16)
options=(0 "[DE] xfce4" off # any option can be set to default to "on" options=(100 "[WM] sway" off)
100 "[WM] i3-gaps" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear clear
for choice in $choices; do for choice in $choices; do
case $choice in case $choice in
0)
echo "xfce4" >>"$setupdir/selectedpkgs.txt"
;;
100) 100)
echo "i3-gaps" >>"$setupdir/selectedpkgs.txt" printf '%s\n' 'sway' 'swaylock' 'swayidle' 'swaybg' 'xorg-xwayland' >>"$setupdir/selectedpkgs.txt"
;; ;;
esac esac
done done
@ -84,7 +80,7 @@ options=(0 "VirtManager" off # any option can be set to default to "on"
13 "Minigalaxy" off 13 "Minigalaxy" off
20 "Krita" off 20 "Krita" off
21 "Gimp" off 21 "Gimp" off
31 "YT-dlp" on 31 "YT-dlp" off
32 "Megatools" off 32 "Megatools" off
40 "Handbrake" off 40 "Handbrake" off
41 "Audacity" off 41 "Audacity" off
@ -210,6 +206,7 @@ for choice in $choices; do
esac esac
done done
: '
# Packages installed on different systems # Packages installed on different systems
in_arco_pc=0 in_arco_pc=0
in_arco_hp=0 in_arco_hp=0
@ -229,6 +226,7 @@ for choice in $choices; do
;; ;;
esac esac
done done
'
rm "$setupdir/notfoundpackages.txt" rm "$setupdir/notfoundpackages.txt"
@ -290,7 +288,7 @@ echo Installed AUR programs
# theming # theming
echo Installing themes and icons echo Installing themes and icons
paru -S --needed - <"$setupdir/packages/theme-packages.txt" paru -S --needed --noconfirm - <"$setupdir/packages/theme-packages.txt"
echo Installed themes and icons echo Installed themes and icons
################### ###################
@ -321,8 +319,6 @@ if [ $in_doomemacs -eq 1 ]; then
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install ~/.emacs.d/bin/doom install
export PATH="$PATH":$HOME/.emacs.d/bin export PATH="$PATH":$HOME/.emacs.d/bin
else
echo "Skipping doom-emacs"
fi fi
if [ $in_podman -eq 1 ]; then if [ $in_podman -eq 1 ]; then
@ -355,28 +351,38 @@ fi
############################## ##############################
##### Configuration ##### ##### Configuration #####
############################## ##############################
echo Configuring packages
#change shell #change shell
chsh -s /usr/bin/fish "$USER" chsh -s /usr/bin/fish "$USER"
# setup autotrash # setup autotrash
mkdir -p "$HOME/.local/share/Trash/info"
autotrash -td 5 --install autotrash -td 5 --install
systemctl --user enable autotrash.timer systemctl --user enable autotrash.timer
# enable lockscreen for systemd # enable lockscreen for systemd
sudo systemctl enable betterlockscreen@$USER #sudo systemctl enable betterlockscreen@$USER
# enable firewall # enable firewall
echo "Enabling Firewall" echo "Enabling Firewall"
sudo systemctl enable --now firewalld sudo systemctl enable --now firewalld
sudo firewall-cmd --zone=public --permanent --remove-service=ssh # || true because firewalld doesn't work without a reboot
sudo firewall-cmd --zone=public --permanent --remove-service=ssh || true
# enable lightdm # enable greetd
sudo systemctl enable lightdm sudo systemctl enable greetd
# regenerate locale # regenerate locale
# Fixes rofi not launching # Fixes rofi not launching
sudo locale-gen #sudo locale-gen
: '
if [[ $(pacman -Q | grep sway) ]]; then
sudo systemctl enable --now seatd.service
sudo gpasswd -a "$USER" seat 1>/dev/null
fi
'
# update fonts cache # update fonts cache
fc-cache -f fc-cache -f
@ -385,7 +391,7 @@ echo Setting config
bash ~/configs/arch-config/install.sh bash ~/configs/arch-config/install.sh
if [[ $(pacman -Q pkgstats 2>/dev/null >/dev/null) ]]; then if [[ $(pacman -Q pkgstats 2>/dev/null >/dev/null) ]]; then
pkgstats sudo systemctl enable --now pkgstats.timer
fi fi
echo Finished everything echo Finished everything

View File

@ -0,0 +1,8 @@
alsa-utils
easyeffects
pavucontrol
pipewire
pipewire-alsa
pipewire-jack
pipewire-pulse
wireplumber

View File

@ -1,19 +1,20 @@
autotrash autotrash
betterlockscreen
bitwarden bitwarden
btrfsmaintenance btrfsmaintenance
davfs2 davfs2
downgrade downgrade
greetd
greetd-gtkgreet
jellyamp jellyamp
jellyfin-media-player jellyfin-media-player
joplin-appimage joplin-appimage
lib32-mangohud libreoffice-extension-languagetool
lightdm-settings lightdm-settings
lightdm-slick-greeter lightdm-slick-greeter
mangohud mangohud
mpv-mpris mpv-mpris
nemo-audio-tab nemo-audio-tab
nohang-git nohang
pdfsam pdfsam
polybar polybar
protonmail-bridge-bin protonmail-bridge-bin
@ -26,4 +27,3 @@ tmpmail-git
ttf-iosevka ttf-iosevka
ttf-ms-fonts ttf-ms-fonts
ttf-vista-fonts ttf-vista-fonts
wps-office

View File

@ -2,13 +2,11 @@ aarch64-linux-musl
abootimg abootimg
accountsservice accountsservice
acpilight acpilight
actual-appimage
adobe-source-han-sans-cn-fonts adobe-source-han-sans-cn-fonts
adobe-source-han-sans-jp-fonts adobe-source-han-sans-jp-fonts
adobe-source-han-sans-kr-fonts adobe-source-han-sans-kr-fonts
adobe-source-sans-fonts adobe-source-sans-fonts
aegisub aegisub
age
alacritty alacritty
alarm-clock-applet alarm-clock-applet
alsa-firmware alsa-firmware
@ -227,7 +225,6 @@ gnome-firmware
gnome-icon-theme gnome-icon-theme
gnome-keyring gnome-keyring
gnome-screenshot gnome-screenshot
gnome-shell-extension-gsconnect
gnuclad gnuclad
gnu-free-fonts gnu-free-fonts
gnu-netcat gnu-netcat
@ -319,6 +316,7 @@ jre-openjdk
js-beautify js-beautify
jsoncpp jsoncpp
k3b k3b
kasts
kcm-wacomtablet kcm-wacomtablet
kconfig kconfig
kcoreaddons kcoreaddons
@ -625,6 +623,7 @@ speedtest-cli
spice-protocol spice-protocol
splix splix
spotiflyer-bin spotiflyer-bin
sqlitestudio
squashfs-tools squashfs-tools
sshpass sshpass
ssh-tools ssh-tools

View File

@ -1,7 +1,5 @@
acpilight acpilight
age age
alsa-utils
arandr
bandwhich bandwhich
base-devel base-devel
brotli brotli
@ -33,6 +31,7 @@ git
git-lfs git-lfs
gnome-firmware gnome-firmware
gnome-keyring gnome-keyring
grim
gsettings-desktop-schemas gsettings-desktop-schemas
gtk-engine-murrine gtk-engine-murrine
gvfs gvfs
@ -60,9 +59,6 @@ libnotify
libreoffice-fresh libreoffice-fresh
libreoffice-fresh-de libreoffice-fresh-de
libsecret libsecret
lightdm
lightdm-gtk-greeter
lightdm-gtk-greeter-settings
linux-zen linux-zen
linux-zen-headers linux-zen-headers
man-db man-db
@ -128,6 +124,8 @@ webkit2gtk
wget wget
whois whois
wireguard-tools wireguard-tools
xdg-desktop-portal
xdg-desktop-portal-wlr
wireplumber wireplumber
xdg-user-dirs xdg-user-dirs
xdotool xdotool
@ -140,7 +138,6 @@ xf86-video-ati
xf86-video-fbdev xf86-video-fbdev
xf86-video-intel xf86-video-intel
xf86-video-nouveau xf86-video-nouveau
xfce4-power-manager
xfsprogs xfsprogs
xorg-xrdb xorg-xrdb
xsel xsel