Skip to content

Commit

Permalink
Move to a Fedora based machine
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Dec 24, 2023
1 parent 9bcaff8 commit 805e32e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .config/sway/config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set $hide_waybar killall -SIGUSR1 waybar
set $lock swaylock -f -c 000000

# Wallpaper
output * bg $pictures/bg.jpg center #000000
output * bg $pictures/bg.png center #000000
output * scale 2

# Configures the mouse
Expand Down Expand Up @@ -50,10 +50,10 @@ bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
bindsym $mod+XF86MonBrightnessDown exec brightnessctl -d kbd_backlight set 5%-
bindsym $mod+XF86MonBrightnessUp exec brightnessctl -d kbd_backlight set +5%
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
#bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle

# Screenshot
bindsym $mod+s exec $screenshot
Expand Down
8 changes: 7 additions & 1 deletion .config/waybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"layer": "bottom",
"height": 25,
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-right": ["disk", "battery", "temperature", "cpu", "memory", "pulseaudio", "clock", "tray"],
"modules-right": ["disk", "disk#home", "battery", "temperature", "cpu", "memory", "pulseaudio", "clock", "tray"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
Expand All @@ -22,6 +22,12 @@
"path": "/",
"tooltip": false
},
"disk#home": {
"interval": 1,
"format": "{path}: {free}",
"path": "/home",
"tooltip": false
},
"battery": {
"interval": 1,
"states": {
Expand Down
2 changes: 2 additions & 0 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(setq warning-minimum-level :error)

(require 'cl)

;; Character encoding
Expand Down
3 changes: 0 additions & 3 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ export MANPAGER=most
export EDITOR=vim
export ZSH_GIT=1

# Make Firefox pretty on Sway
export MOZ_ENABLE_WAYLAND=1

# ssh-agent (setup by systemd)
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"

Expand Down
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ inst .zshrc
inst .local/bin/upgrade_opam
inst .local/bin/git_pr

inst_systemd_user_service ssh-agent
# Already installed on Asahi Linux (Fedora)
#inst_systemd_user_service ssh-agent

inst_modprobe_conf etc/modprobe.d/hid_apple.conf

Expand Down

0 comments on commit 805e32e

Please sign in to comment.