Updated installs and brightness keys

This commit is contained in:
2024-01-20 12:56:11 +01:00
parent 6d9b9e9c5e
commit 02c4a01e6a
2 changed files with 32 additions and 6 deletions

View File

@@ -29,9 +29,11 @@ set $text-color #0DA321
set $inactive-text-color #505254 set $inactive-text-color #505254
set $urgent-bg-color #E53935 set $urgent-bg-color #E53935
exec_always export hostname="$(cat /etc/hostname)"
exec_always ~/.config/screenlayout/apply-screen-layout.sh exec_always ~/.config/screenlayout/apply-screen-layout.sh
exec_always ~/.config/keyboard/apply-keyboard-layout.sh exec_always ~/.config/keyboard/apply-keyboard-layout.sh
set $mod Mod4 set $mod Mod4
font pango:DejaVu 14 font pango:DejaVu 14
@@ -55,17 +57,17 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status # bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status # bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status # bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status # bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod floating_modifier $mod
# move tiling windows via drag & drop by left-clicking into the title bar, # move tiling windows via drag & drop by left-clicking into the title bar,
# or left-clicking anywhere into the window while holding the floating modifier. # or left-clicking anywhere into the window while holding the floating modifier.
tiling_drag modifier titlebar #tiling_drag modifier titlebar
# start a terminal # start a terminal
bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Return exec i3-sensible-terminal
@@ -168,6 +170,15 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10 bindsym $mod+Shift+0 move container to workspace number $ws10
# Brightness
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
# Volume
bindsym XF86AudioMute exec amixer sset 'Master' toggle
bindsym XF86AudioLowerVolume exec amixer sset 'Master' 5%-
bindsym XF86AudioRaiseVolume exec amixer sset 'Master' 5%+
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)

View File

@@ -1,3 +1,5 @@
sudo apt update
sudo apt install \ sudo apt install \
i3 \ i3 \
i3blocks \ i3blocks \
@@ -17,14 +19,27 @@ sudo apt install \
hopenpgp-tools \ hopenpgp-tools \
yubikey-personalization \ yubikey-personalization \
solaar \ solaar \
cifs-utils cifs-utils \
curl \
rofi \
brightnessctl \
neofetch \
bashtop \
htop \
-y
mkdir ~/Screenshots
sudo snap install caprine sudo snap install caprine
sudo snap install telegram-desktop sudo snap install telegram-desktop
sudo snap install discord sudo snap install discord
sudo snap install firefox sudo snap install firefox
sudo snap install signal-desktop
sudo snap install code --classic
curl -s https://ohmyposh.dev/install.sh | sudo bash -s curl -s https://ohmyposh.dev/install.sh | sudo bash -s
sudo usermod -aG video wholteza
source ~/.bashrc source ~/.bashrc
echo Done! echo Done!