Compare commits
128 Commits
main
...
arch-wayla
Author | SHA1 | Date | |
---|---|---|---|
2ab1c652cb | |||
45dc807a48 | |||
135a04469e | |||
32e30c3b8e | |||
3dcdf85129 | |||
c819e1249d | |||
fcacb2beab | |||
2a5038662c | |||
ea46fd3295 | |||
1a69f491c2 | |||
51779f6540 | |||
e86981925f | |||
4817eb8cff | |||
6bccbb04e1 | |||
7b0fd06364 | |||
8907a4ac88 | |||
97a7c517f8 | |||
bcfba6762e | |||
4958de3cec | |||
3f92b23bf9 | |||
3b0fa9e38e | |||
59940b42c5 | |||
131342276e | |||
388f5de90d | |||
8c7d424c87 | |||
3acf0f3355 | |||
c53254c979 | |||
21025e535c | |||
154f762a5b | |||
1d5faf991a | |||
e29fe4359d | |||
961d281dfe | |||
dc951e0db0 | |||
143a5aefec | |||
c74c9c8de8 | |||
57d21d4736 | |||
12bc860ccd | |||
9e7fa8b198 | |||
d8dc461c81 | |||
3a252e61e6 | |||
08622cd128 | |||
9e9a67ab21 | |||
02ed1dd1de | |||
d500db3346 | |||
2ed968eaab | |||
e268751bf4 | |||
7caef83cd7 | |||
964dfcb27c | |||
503c771add | |||
87d34a3d36 | |||
f81f192fee | |||
7443915894 | |||
a76333f7c2 | |||
42a4614597 | |||
454f0d3657 | |||
c407a481d7 | |||
4a07e9f10c | |||
bdc95c70a9 | |||
77969d7c77 | |||
075e69e9e8 | |||
1fad8c59e1 | |||
89ab2aef9f | |||
b2844fd3c7 | |||
f5288a4a66 | |||
b6a366f93a | |||
ac0f40dfc4 | |||
698ff64b81 | |||
1246f19594 | |||
774d45a008 | |||
87edc03d4b | |||
e2c17c9351 | |||
e8f153b792 | |||
8ca470d8df | |||
9790c3c336 | |||
72496aae5f | |||
624195ae68 | |||
149c17b198 | |||
02204f990d | |||
f633f521f6 | |||
0cd586685e | |||
5ae7dc8cf7 | |||
de0181cab8 | |||
60bcc208d0 | |||
2cce17991a | |||
1a4a2e5944 | |||
fa4f96eac0 | |||
ee751992fb | |||
b5727978c1 | |||
8a502d7907 | |||
e03ac86ace | |||
3904da9ff8 | |||
6dace8ba26 | |||
28bd988946 | |||
b2fccb7301 | |||
89160ba6e5 | |||
7068ab455f | |||
0a9e69c41d | |||
ac40fc8327 | |||
c7e88c823b | |||
df956f2903 | |||
b4f425e775 | |||
3d5149d32d | |||
8f146af51b | |||
b85e60ce80 | |||
67c46d136b | |||
0ea49fb83d | |||
ee6be483ea | |||
41fc2afa83 | |||
236d101c42 | |||
2b96cb7402 | |||
bf8f7e7d87 | |||
26f0119257 | |||
7ab320e165 | |||
1248dec7ce | |||
940e5dcd37 | |||
134692666d | |||
07eb6bd93c | |||
693ce1a9e0 | |||
cd8d6f54c2 | |||
30c7747867 | |||
54fbc274d9 | |||
28d36e7780 | |||
6b4041cfef | |||
d7fd748038 | |||
84c5c3272f | |||
1003c7a555 | |||
e733d5d11c | |||
1317fb627c |
@ -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
|
BIN
arch-config/.cache/backgrounds/desktop.png
Normal file
BIN
arch-config/.cache/backgrounds/desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 MiB |
BIN
arch-config/.cache/backgrounds/lockscreen.png
Normal file
BIN
arch-config/.cache/backgrounds/lockscreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 MiB |
387
arch-config/.config/sway/config
Normal file
387
arch-config/.config/sway/config
Normal 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/*
|
@ -56,6 +56,7 @@ set $right l
|
||||
|
||||
# setting variables for later use
|
||||
# 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 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
|
||||
# TODO
|
||||
bindsym $mod+x mode "$mode_system"
|
||||
|
||||
set $mode_system System (k) lock, (l) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
|
||||
mode "$mode_system" {
|
||||
bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
|
||||
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
|
||||
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
|
||||
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
|
||||
bindsym k exec --no-startup-id ~/.config/sway/scripts/i3exit.sh lock, mode "default"
|
||||
bindsym l exec --no-startup-id ~/.config/sway/scripts/i3exit.sh logout, mode "default"
|
||||
bindsym u exec --no-startup-id ~/.config/sway/scripts/i3exit.sh suspend, mode "default"
|
||||
bindsym h exec --no-startup-id ~/.config/sway/scripts/i3exit.sh hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id ~/.config/sway/scripts/i3exit.sh reboot, mode "default"
|
||||
bindsym s exec --no-startup-id ~/.config/sway/scripts/i3exit.sh shutdown, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
@ -247,21 +249,21 @@ bindsym $mod+d focus child
|
||||
################# 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"{
|
||||
bindsym s mode "$social"
|
||||
bindsym g mode "$gaming"
|
||||
bindsym c mode "$crypto"
|
||||
bindsym m mode "$media"
|
||||
bindsym r mode "resize"
|
||||
bindsym l mode "$layout"
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
#set $main Social (s), Gaming (g), Crypto (c), Media (m), Resize (r), Layout (l)
|
||||
#mode "$main"{
|
||||
# bindsym s mode "$social"
|
||||
# bindsym g mode "$gaming"
|
||||
# bindsym c mode "$crypto"
|
||||
# bindsym m mode "$media"
|
||||
# bindsym r mode "resize"
|
||||
# bindsym l mode "$layout"
|
||||
#
|
||||
# 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)
|
||||
mode "$social"{
|
||||
bindsym d exec --no-startup-id discord --no-sandbox;focus
|
||||
bindsym e exec --no-startup-id element-desktop;focus
|
||||
bindsym b exec --no-startup-id telegram-desktop;focus
|
||||
#set $social Discord (d), Element (e), Telegram (b), Signal (s), Teams (t)
|
||||
#mode "$social"{
|
||||
# bindsym d exec --no-startup-id discord --no-sandbox;focus
|
||||
# bindsym e exec --no-startup-id element-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 signal-desktop;focus
|
||||
bindsym t exec --no-startup-id teams;focus
|
||||
# bindsym s exec --no-startup-id signal-desktop;focus
|
||||
# bindsym t exec --no-startup-id teams;focus
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
|
||||
#############################################################################
|
||||
@ -288,15 +290,15 @@ mode "$social"{
|
||||
#############################################################################
|
||||
|
||||
|
||||
set $media Tauon (t), Celluloid (c), Jellyfin (j)
|
||||
mode "$media"{
|
||||
bindsym t exec --no-startup-id tauon;focus
|
||||
bindsym c exec --no-startup-id celluloid;focus
|
||||
bindsym j exec --no-startup-id jellyfinmediaplayer;focus
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
#set $media Tauon (t), Celluloid (c), Jellyfin (j)
|
||||
#mode "$media"{
|
||||
# bindsym t exec --no-startup-id tauon;focus
|
||||
# bindsym c exec --no-startup-id celluloid;focus
|
||||
# bindsym j exec --no-startup-id jellyfinmediaplayer;focus
|
||||
#
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
|
||||
##############################################################################
|
||||
@ -304,15 +306,15 @@ mode "$media"{
|
||||
##############################################################################
|
||||
|
||||
|
||||
set $crypto Electrum (b), Electon Cash (c), Monero (m)
|
||||
mode "$crypto"{
|
||||
bindsym b exec --no-startup-id electrum;focus
|
||||
bindsym c exec --no-startup-id electron-cash;focus
|
||||
bindsym m exec --no-startup-id monero-wallet-gui;focus
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
#set $crypto Electrum (b), Electon Cash (c), Monero (m)
|
||||
#mode "$crypto"{
|
||||
# bindsym b exec --no-startup-id electrum;focus
|
||||
# bindsym c exec --no-startup-id electron-cash;focus
|
||||
# bindsym m exec --no-startup-id monero-wallet-gui;focus
|
||||
#
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
|
||||
##############################################################################
|
||||
@ -321,17 +323,17 @@ mode "$crypto"{
|
||||
|
||||
|
||||
# launch gaming focused programs
|
||||
set $gaming Lutris (l), Steam (s), Minigalaxy (g), Itch (i), Citra (3DS) (c)
|
||||
mode "$gaming" {
|
||||
bindsym l exec --no-startup-id lutris;focus
|
||||
bindsym s exec --no-startup-id steam-native;focus
|
||||
bindsym g exec --no-startup-id minigalaxy;focus
|
||||
bindsym i exec --no-startup-id itch;focus
|
||||
bindsym c exec --no-startup-id citra-qt;focus
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
#set $gaming Lutris (l), Steam (s), Minigalaxy (g), Itch (i), Citra (3DS) (c)
|
||||
#mode "$gaming" {
|
||||
# bindsym l exec --no-startup-id lutris;focus
|
||||
# bindsym s exec --no-startup-id steam-native;focus
|
||||
# bindsym g exec --no-startup-id minigalaxy;focus
|
||||
# bindsym i exec --no-startup-id itch;focus
|
||||
# bindsym c exec --no-startup-id citra-qt;focus
|
||||
#
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
|
||||
#############################################################################
|
||||
@ -373,20 +375,20 @@ mode "resize" {
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
|
||||
##############################################################################
|
||||
################# start normal layout #################
|
||||
##############################################################################
|
||||
|
||||
|
||||
# launch programs in the right workspaces
|
||||
# TODO
|
||||
|
||||
bindsym $mod+w mode "$layout"
|
||||
|
||||
set $layout full (f)
|
||||
mode "$layout" {
|
||||
bindsym f exec --no-startup-id bash $HOME/.config/i3/scripts/layout-default.sh
|
||||
#bindsym w exec --no-startup-id bash $HOME/.config/i3/scripts/layout-work.sh
|
||||
bindsym f exec --no-startup-id bash $HOME/.config/sway/scripts/layout-default.sh
|
||||
#bindsym w exec --no-startup-id bash $HOME/.config/sway/scripts/layout-work.sh
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
@ -399,6 +401,7 @@ mode "$layout" {
|
||||
|
||||
|
||||
# change xrandr display configuration
|
||||
# TODO
|
||||
|
||||
#bindsym $mod+d mode "$xrandr"
|
||||
|
||||
@ -459,7 +462,7 @@ exec --no-startup-id corectrl
|
||||
#exec --no-startup-id transmission-gtk -m
|
||||
|
||||
#Conky
|
||||
#exec --no-startup-id conky -c ~/.config/i3/system-overview
|
||||
#exec --no-startup-id conky -c ~/.config/sway/system-overview
|
||||
|
||||
#Polybar
|
||||
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
|
||||
# gnome-power-manager
|
||||
# mate-power-manager
|
||||
# TODO
|
||||
exec --no-startup-id xfce4-power-manager &
|
||||
|
||||
# notifications
|
||||
@ -589,6 +593,7 @@ bindsym Ctrl+Print exec --no-startup-id flameshot gui -d 2000
|
||||
##############################
|
||||
### floating disabled ###
|
||||
##############################
|
||||
# TODO
|
||||
for_window [class="Bleachbit"] floating disable
|
||||
for_window [class="Brasero"] 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
|
||||
# TODO
|
||||
hide_edge_borders none
|
||||
|
||||
bindsym $mod+u mode "$border"
|
||||
@ -743,6 +749,7 @@ mode "$border" {
|
||||
|
||||
|
||||
#Popups during fullscreen mode
|
||||
# TODO
|
||||
popup_during_fullscreen smart
|
||||
|
||||
|
||||
@ -768,7 +775,8 @@ for_window [class="^.*"] border pixel 2
|
||||
|
||||
|
||||
#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
|
||||
|
||||
#status_command i3status
|
||||
#status_command i3status -c ~/.config/i3/i3status.conf
|
||||
#status_command i3status -c ~/.config/sway/i3status.conf
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
#status_command i3blocks
|
||||
#status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
||||
#status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
|
||||
#status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
|
||||
#status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
|
||||
#status_command i3blocks -c ~/.config/sway/i3blocks.conf
|
||||
#status_command i3blocks -c ~/.config/sway/i3blocks-rainbow.conf
|
||||
#status_command i3blocks -c ~/.config/sway/i3blocks-original.conf
|
||||
#status_command i3blocks -c ~/.config/sway/i3blocks-awesome.conf
|
||||
|
||||
|
||||
# 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
|
||||
# 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
|
6
arch-config/.config/systemd/user/sway-session.target
Normal file
6
arch-config/.config/systemd/user/sway-session.target
Normal 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
|
@ -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
|
@ -1,7 +0,0 @@
|
||||
Section "InputClass"
|
||||
Identifier "touchpad"
|
||||
Driver "libinput"
|
||||
MatchIsTouchpad "on"
|
||||
Option "Tapping" "on"
|
||||
Option "ScrollMethod" "twofinger"
|
||||
EndSection
|
@ -1,2 +1,3 @@
|
||||
QT_QPA_PLATFORMTHEME=qt5ct
|
||||
EDITOR=vim
|
||||
XDG_CURRENT_DESKTOP=sway
|
||||
|
9
arch-config/etc/greetd/config.toml
Normal file
9
arch-config/etc/greetd/config.toml
Normal 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"
|
2
arch-config/etc/greetd/environments
Normal file
2
arch-config/etc/greetd/environments
Normal file
@ -0,0 +1,2 @@
|
||||
sway
|
||||
fish
|
10
arch-config/etc/greetd/sway-config
Normal file
10
arch-config/etc/greetd/sway-config
Normal 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/*
|
@ -140,8 +140,8 @@ fi
|
||||
if [[ -d ~/.config/gtk-3.0 ]]; then
|
||||
rsync -ah ~/.config/gtk-3.0 ~/old_dat/.config/
|
||||
fi
|
||||
if [[ -d ~/.config/i3 ]]; then
|
||||
rsync -ah ~/.config/i3 ~/old_dat/.config/
|
||||
if [[ -d ~/.config/sway ]]; then
|
||||
rsync -ah ~/.config/sway ~/old_dat/.config/
|
||||
fi
|
||||
if [[ -d ~/.config/neofetch ]]; then
|
||||
rsync -ah ~/.config/neofetch ~/old_dat/.config/
|
||||
@ -459,7 +459,7 @@ sudo chmod 600 -R /etc/sudoers.d/
|
||||
|
||||
#make bash scripts executable
|
||||
chmod +x -R ~/.config/polybar/
|
||||
chmod +x -R ~/.config/i3/scripts
|
||||
chmod +x -R ~/.config/sway/scripts
|
||||
chmod +x -R ~/scripts
|
||||
|
||||
# make applications executable
|
||||
@ -478,8 +478,10 @@ EOF
|
||||
# reload 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
|
||||
fi
|
||||
|
||||
# disable freedesktop notification daemon
|
||||
if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]]; then
|
||||
@ -490,6 +492,7 @@ fi
|
||||
pkill dunst && nohup dunst &
|
||||
|
||||
# reload .Xresources
|
||||
# TODO fails without display
|
||||
if [[ -f "$HOME/.Xresources" ]]; then
|
||||
xrdb ~/.Xresources
|
||||
fi
|
||||
|
@ -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
|
||||
|
||||
# get script directory
|
||||
scriptloc=$(realpath "$BASH_SOURCE")
|
||||
setupdir=$(dirname "$scriptloc")
|
||||
setupdir=$(pwd)
|
||||
|
||||
# function to keep sudo from timing out
|
||||
function func_dont_timeout {
|
||||
while true; do
|
||||
@ -20,10 +23,7 @@ fi
|
||||
# keep sudo active in background
|
||||
func_dont_timeout &
|
||||
|
||||
# get current directory
|
||||
setupdir=$(pwd)
|
||||
|
||||
#change to home (does not show in terminal)
|
||||
#change to home directory
|
||||
cd "$HOME"
|
||||
|
||||
# check if multilib repo is enabled
|
||||
@ -36,21 +36,17 @@ fi
|
||||
echo Updating keyring
|
||||
sudo pacman -Sy --noconfirm archlinux-keyring
|
||||
echo Updating repos and packages
|
||||
sudo pacman -Syu
|
||||
sudo pacman -Syu --noconfirm
|
||||
echo Select packages to install
|
||||
|
||||
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"
|
||||
100 "[WM] i3-gaps" off)
|
||||
options=(100 "[WM] sway" off)
|
||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
||||
clear
|
||||
for choice in $choices; do
|
||||
case $choice in
|
||||
0)
|
||||
echo "xfce4" >>"$setupdir/selectedpkgs.txt"
|
||||
;;
|
||||
100)
|
||||
echo "i3-gaps" >>"$setupdir/selectedpkgs.txt"
|
||||
printf '%s\n' 'sway' 'swaylock' 'swayidle' 'swaybg' 'xorg-xwayland' >>"$setupdir/selectedpkgs.txt"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@ -84,7 +80,7 @@ options=(0 "VirtManager" off # any option can be set to default to "on"
|
||||
13 "Minigalaxy" off
|
||||
20 "Krita" off
|
||||
21 "Gimp" off
|
||||
31 "YT-dlp" on
|
||||
31 "YT-dlp" off
|
||||
32 "Megatools" off
|
||||
40 "Handbrake" off
|
||||
41 "Audacity" off
|
||||
@ -210,6 +206,7 @@ for choice in $choices; do
|
||||
esac
|
||||
done
|
||||
|
||||
: '
|
||||
# Packages installed on different systems
|
||||
in_arco_pc=0
|
||||
in_arco_hp=0
|
||||
@ -229,6 +226,7 @@ for choice in $choices; do
|
||||
;;
|
||||
esac
|
||||
done
|
||||
'
|
||||
|
||||
rm "$setupdir/notfoundpackages.txt"
|
||||
|
||||
@ -290,7 +288,7 @@ echo Installed AUR programs
|
||||
|
||||
# theming
|
||||
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
|
||||
|
||||
###################
|
||||
@ -321,8 +319,6 @@ if [ $in_doomemacs -eq 1 ]; then
|
||||
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
|
||||
~/.emacs.d/bin/doom install
|
||||
export PATH="$PATH":$HOME/.emacs.d/bin
|
||||
else
|
||||
echo "Skipping doom-emacs"
|
||||
fi
|
||||
|
||||
if [ $in_podman -eq 1 ]; then
|
||||
@ -355,28 +351,38 @@ fi
|
||||
##############################
|
||||
##### Configuration #####
|
||||
##############################
|
||||
echo Configuring packages
|
||||
|
||||
#change shell
|
||||
chsh -s /usr/bin/fish "$USER"
|
||||
|
||||
# setup autotrash
|
||||
mkdir -p "$HOME/.local/share/Trash/info"
|
||||
autotrash -td 5 --install
|
||||
systemctl --user enable autotrash.timer
|
||||
|
||||
# enable lockscreen for systemd
|
||||
sudo systemctl enable betterlockscreen@$USER
|
||||
#sudo systemctl enable betterlockscreen@$USER
|
||||
|
||||
# enable firewall
|
||||
echo "Enabling Firewall"
|
||||
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
|
||||
sudo systemctl enable lightdm
|
||||
# enable greetd
|
||||
sudo systemctl enable greetd
|
||||
|
||||
# regenerate locale
|
||||
# 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
|
||||
fc-cache -f
|
||||
@ -385,7 +391,7 @@ echo Setting config
|
||||
bash ~/configs/arch-config/install.sh
|
||||
|
||||
if [[ $(pacman -Q pkgstats 2>/dev/null >/dev/null) ]]; then
|
||||
pkgstats
|
||||
sudo systemctl enable --now pkgstats.timer
|
||||
fi
|
||||
|
||||
echo Finished everything
|
||||
|
8
arch-setup/packages/audiopkgs.txt
Normal file
8
arch-setup/packages/audiopkgs.txt
Normal file
@ -0,0 +1,8 @@
|
||||
alsa-utils
|
||||
easyeffects
|
||||
pavucontrol
|
||||
pipewire
|
||||
pipewire-alsa
|
||||
pipewire-jack
|
||||
pipewire-pulse
|
||||
wireplumber
|
@ -1,19 +1,20 @@
|
||||
autotrash
|
||||
betterlockscreen
|
||||
bitwarden
|
||||
btrfsmaintenance
|
||||
davfs2
|
||||
downgrade
|
||||
greetd
|
||||
greetd-gtkgreet
|
||||
jellyamp
|
||||
jellyfin-media-player
|
||||
joplin-appimage
|
||||
lib32-mangohud
|
||||
libreoffice-extension-languagetool
|
||||
lightdm-settings
|
||||
lightdm-slick-greeter
|
||||
mangohud
|
||||
mpv-mpris
|
||||
nemo-audio-tab
|
||||
nohang-git
|
||||
nohang
|
||||
pdfsam
|
||||
polybar
|
||||
protonmail-bridge-bin
|
||||
@ -26,4 +27,3 @@ tmpmail-git
|
||||
ttf-iosevka
|
||||
ttf-ms-fonts
|
||||
ttf-vista-fonts
|
||||
wps-office
|
||||
|
@ -2,13 +2,11 @@ aarch64-linux-musl
|
||||
abootimg
|
||||
accountsservice
|
||||
acpilight
|
||||
actual-appimage
|
||||
adobe-source-han-sans-cn-fonts
|
||||
adobe-source-han-sans-jp-fonts
|
||||
adobe-source-han-sans-kr-fonts
|
||||
adobe-source-sans-fonts
|
||||
aegisub
|
||||
age
|
||||
alacritty
|
||||
alarm-clock-applet
|
||||
alsa-firmware
|
||||
@ -227,7 +225,6 @@ gnome-firmware
|
||||
gnome-icon-theme
|
||||
gnome-keyring
|
||||
gnome-screenshot
|
||||
gnome-shell-extension-gsconnect
|
||||
gnuclad
|
||||
gnu-free-fonts
|
||||
gnu-netcat
|
||||
@ -319,6 +316,7 @@ jre-openjdk
|
||||
js-beautify
|
||||
jsoncpp
|
||||
k3b
|
||||
kasts
|
||||
kcm-wacomtablet
|
||||
kconfig
|
||||
kcoreaddons
|
||||
@ -625,6 +623,7 @@ speedtest-cli
|
||||
spice-protocol
|
||||
splix
|
||||
spotiflyer-bin
|
||||
sqlitestudio
|
||||
squashfs-tools
|
||||
sshpass
|
||||
ssh-tools
|
||||
|
@ -1,7 +1,5 @@
|
||||
acpilight
|
||||
age
|
||||
alsa-utils
|
||||
arandr
|
||||
bandwhich
|
||||
base-devel
|
||||
brotli
|
||||
@ -33,6 +31,7 @@ git
|
||||
git-lfs
|
||||
gnome-firmware
|
||||
gnome-keyring
|
||||
grim
|
||||
gsettings-desktop-schemas
|
||||
gtk-engine-murrine
|
||||
gvfs
|
||||
@ -60,9 +59,6 @@ libnotify
|
||||
libreoffice-fresh
|
||||
libreoffice-fresh-de
|
||||
libsecret
|
||||
lightdm
|
||||
lightdm-gtk-greeter
|
||||
lightdm-gtk-greeter-settings
|
||||
linux-zen
|
||||
linux-zen-headers
|
||||
man-db
|
||||
@ -128,6 +124,8 @@ webkit2gtk
|
||||
wget
|
||||
whois
|
||||
wireguard-tools
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-wlr
|
||||
wireplumber
|
||||
xdg-user-dirs
|
||||
xdotool
|
||||
@ -140,7 +138,6 @@ xf86-video-ati
|
||||
xf86-video-fbdev
|
||||
xf86-video-intel
|
||||
xf86-video-nouveau
|
||||
xfce4-power-manager
|
||||
xfsprogs
|
||||
xorg-xrdb
|
||||
xsel
|
||||
|
Loading…
Reference in New Issue
Block a user