Compare commits
3 Commits
4be55c69b4
...
c24fd84b7b
Author | SHA1 | Date |
---|---|---|
Tuan-Dat Tran | c24fd84b7b | |
Tuan-Dat Tran | 1fdd8d0276 | |
Tuan-Dat Tran | ac0d51e712 |
31
README.md
31
README.md
|
@ -2,24 +2,35 @@
|
|||
|
||||
This is my ArchLinux configuration.
|
||||
Tested on Acer Travelmate X349-G2-M and Lenovo Thinkpad E14 G5.
|
||||
First one was a Intel machine, the current one a AMD machine, hence the changes
|
||||
towards AMD graphics.
|
||||
|
||||
## Install dependencies
|
||||
|
||||
```bash
|
||||
paru -S syncthing feh bottom zellij eza bat maim vlc python-pillow i3lock-color \
|
||||
vlc fd ripgrep unzip npm bacon simple-scan dunst picom \
|
||||
adobe-source-han-sans-jp-fonts obs-studio git zsh wget lightdm \
|
||||
lightdm-webkit2-greeter xorg-server i3-gaps xorg-xbacklight xorg-xrandr \
|
||||
alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth playerctl \
|
||||
pavucontrol btrfs-progs udiskie blueman acpi acpid tlp conky stow openssh \
|
||||
firefox veracrypt keepassxc ranger rofi chromium delta-git xdotool xclip \
|
||||
neofetch
|
||||
vlc fd ripgrep unzip npm bacon simple-scan dunst picom zathura-pdf-mupdf dust \
|
||||
adobe-source-han-sans-jp-fonts obs-studio git zsh wget lightdm zathura pcmanfm \
|
||||
lightdm-webkit2-greeter xorg-server i3-gaps xorg-xbacklight xorg-xrandr xclip \
|
||||
alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth playerctl xdotool \
|
||||
pavucontrol btrfs-progs udiskie blueman acpi acpid tlp conky stow openssh xsel \
|
||||
firefox veracrypt keepassxc ranger rofi chromium delta-git tesseract-data-eng \
|
||||
neofetch xf86-video-amdgpu lib32-mesa libva-mesa-driver lxappearance mesa-vdpau \
|
||||
lib32-libva-mesa-driver lib32-mesa-vdpau tesseract-data-eng p7zip
|
||||
```
|
||||
|
||||
## Picture
|
||||
|
||||
[[./resources/24-03-15_16-06-52-alacritty.png]]
|
||||
|
||||
## Permissions
|
||||
|
||||
```sh
|
||||
usermod -a -G network $USER
|
||||
usermod -a -G video $USER
|
||||
usermod -a -G $SUDOGRP $USER
|
||||
```
|
||||
|
||||
## Get Started
|
||||
|
||||
```sh
|
||||
|
@ -29,3 +40,9 @@ stow config
|
|||
stow vim
|
||||
stow zsh
|
||||
```
|
||||
|
||||
## GUI
|
||||
|
||||
I'm using pcmanfm with [[Sweet - New Flavor](https://www.gnome-look.org/p/1253385/)].
|
||||
The downloaded file needs to be extracted into `~/.themes/`.
|
||||
The Icons are from the related icon set: [[Candy Icons](https://www.gnome-look.org/p/1305251)].
|
||||
|
|
|
@ -79,40 +79,8 @@ bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
|||
bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
|
||||
|
||||
# Open specific applications in floating mode
|
||||
<<<<<<< HEAD
|
||||
for_window [class="^Thunderbird$" title="^.*Event:"] floating enable
|
||||
|
||||
# https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config
|
||||
# Steam
|
||||
for_window [class="^Steam$" title="^Friends List$"] floating enable
|
||||
for_window [class="^Steam$" title="Steam"] floating enable
|
||||
for_window [class="^Steam$" title="^Settings$"] floating enable
|
||||
for_window [class="^Steam$" title=".* - event started"] floating enable
|
||||
for_window [class="^Steam$" title=".* CD key"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
||||
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
||||
for_window [title="^Steam Keyboard$"] floating enable
|
||||
||||||| e9d53f0
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [title="KeePassX$"] floating enable border normal
|
||||
for_window [class="^Thunderbird$" title="^.*Event:"] floating enable
|
||||
|
||||
# https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config
|
||||
# Steam
|
||||
for_window [class="^Steam$" title="^Friends List$"] floating enable
|
||||
for_window [class="^Steam$" title="Steam"] floating enable
|
||||
for_window [class="^Steam$" title="^Settings$"] floating enable
|
||||
for_window [class="^Steam$" title=".* - event started"] floating enable
|
||||
for_window [class="^Steam$" title=".* CD key"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
||||
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
||||
for_window [title="^Steam Keyboard$"] floating enable
|
||||
=======
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [title="KeePassX$"] floating enable border normal
|
||||
>>>>>>> clean_emacs
|
||||
for_window [title="KeePassX$"] floating enable
|
||||
|
||||
###############################################################################
|
||||
############################ Startup Applications #############################
|
||||
|
@ -122,24 +90,9 @@ exec --no-startup-id setxkbmap eu; setxkbmap -option ctrl:nocaps;
|
|||
exec --no-startup-id picom
|
||||
exec --no-startup-id udiskie
|
||||
exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
|
||||
# exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
|
||||
exec --no-startup-id dunst
|
||||
exec --no-startup-id ~/.scripts/startup.sh
|
||||
<<<<<<< HEAD
|
||||
exec --no-startup-id ~/.scripts/battery_stats.sh
|
||||
exec --no-startup-id llk
|
||||
||||||| e9d53f0
|
||||
exec --no-startup-id llk
|
||||
exec --no-startup-id emacs --daemon
|
||||
=======
|
||||
>>>>>>> clean_emacs
|
||||
exec --no-startup-id syncthing
|
||||
<<<<<<< HEAD
|
||||
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off
|
||||
||||||| e9d53f0
|
||||
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off; feh --randomize --bg-fill /home/tuan/Pictures/Wallpaper/*
|
||||
=======
|
||||
>>>>>>> clean_emacs
|
||||
exec --no-startup-id syncthing serve --no-browser
|
||||
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
|
||||
|
||||
###############################################################################
|
||||
|
@ -173,20 +126,11 @@ bindsym XF86AudioPlay exec "playerctl play-pause"
|
|||
bindsym XF86AudioStop exec "playerctl stop"
|
||||
bindsym XF86AudioNext exec "playerctl next"
|
||||
bindsym XF86AudioPrevious exec "playerctl previous"
|
||||
bindsym XF86AudioMicMute exec "amixer set Capture toggle"
|
||||
|
||||
# Application Shortcuts
|
||||
bindsym $mod+b exec firefox
|
||||
<<<<<<< HEAD
|
||||
bindsym $mod+p exec firefox --private-window https://mos4.de
|
||||
bindsym $mod+e exec emacs
|
||||
bindsym $mod+m exec thunderbird
|
||||
||||||| e9d53f0
|
||||
bindsym $mod+p exec firefox --private-window https://mos4.de
|
||||
bindsym $mod+e exec emacsclient -c
|
||||
bindsym $mod+m exec thunderbird
|
||||
=======
|
||||
bindsym $mod+p exec firefox --private-window https://tudattr.dev
|
||||
>>>>>>> clean_emacs
|
||||
|
||||
# Whole Screen
|
||||
bindsym Control+Print exec --no-startup-id ~/.scripts/screenshot.sh screen
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
[user]
|
||||
email = tuan-dat.tran@tudattr.dev
|
||||
name = Tuan-Dat Tran
|
||||
|
||||
[core]
|
||||
pager = delta
|
||||
|
||||
|
@ -13,6 +17,3 @@
|
|||
|
||||
[diff]
|
||||
colorMoved = default
|
||||
[user]
|
||||
email = tuan-dat.tran@tudattr.dev
|
||||
name = Tuan-Dat Tran
|
||||
|
|
|
@ -1,17 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
type xbacklight >/dev/null 2>&1 || { echo >&2 "I require xbacklight but it's not installed. Aborting."; exit 1; }
|
||||
type dunstify >/dev/null 2>&1 || { echo >&2 "I require dunstify but it's not installed. Aborting."; exit 1; }
|
||||
type xbacklight >/dev/null 2>&1 || {
|
||||
echo >&2 "I require xbacklight but it's not installed. Aborting."
|
||||
exit 1
|
||||
}
|
||||
type dunstify >/dev/null 2>&1 || {
|
||||
echo >&2 "I require dunstify but it's not installed. Aborting."
|
||||
exit 1
|
||||
}
|
||||
|
||||
case $1 in
|
||||
"up"*)
|
||||
xbacklight -inc 10 &
|
||||
currentBrightness=$(xbacklight | cut -d\. -f1);
|
||||
dunstify -r 1 'brightness up'\ \($currentBrightness%\);
|
||||
;;
|
||||
"down"*)
|
||||
xbacklight -dec 10 &
|
||||
currentBrightness=$(xbacklight | cut -d\. -f1);
|
||||
dunstify -r 1 'brightness down'\ \($currentBrightness%\);
|
||||
;;
|
||||
"up"*)
|
||||
xbacklight -inc 10 &
|
||||
currentBrightness=$(xbacklight -get)
|
||||
dunstify -r 1 'brightness up'\ \($currentBrightness%\)
|
||||
;;
|
||||
"down"*)
|
||||
xbacklight -dec 10 &
|
||||
currentBrightness=$(xbacklight -get)
|
||||
dunstify -r 1 'brightness down'\ \($currentBrightness%\)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue