Skip to content

Commit

Permalink
new machine setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanamiiiii committed Sep 20, 2024
1 parent 8413cba commit c702389
Show file tree
Hide file tree
Showing 28 changed files with 942 additions and 512 deletions.
11 changes: 11 additions & 0 deletions git/common.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[user]
name = "Akihiro Saiki"
email = "sk@myuu.dev"
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFDjjJaYz3a6f6QRWh/NK7U3o6Pj1fWKj7hc1VSW8rde
[gpg]
format = ssh
[commit]
gpgsign = true
[ghq]
root = ~/src

3 changes: 3 additions & 0 deletions git/darwin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign

3 changes: 3 additions & 0 deletions git/linux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[gpg "ssh"]
program = /opt/1Password/op-ssh-sign

19 changes: 19 additions & 0 deletions scripts/system_swayenv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

XDG_SESSION_TYPE=wayland
XDG_CURRENT_DESKTOP=sway
XDG_CURRENT_SESSION=sway
DESKTOP_SESSION=sway
LIBSEAT_BACKEND=logind
QT_QPA_PLATFORM="wayland;xcb"
GDK_DPI_SCALE=1
QT_SCALE_FACTOR=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_QPA_PLATFORMTHEME=qt6ct
MOZ_ENABLE_WAYLAND=1
_JAVA_AWT_WM_NONREPARENTING=1

export XDG_SESSION_TYPE XDG_CURRENT_DESKTOP XDG_CURRENT_SESSION DESKTOP_SESSION LIBSEAT_BACKEND QT_QPA_PLATFORM GDK_DPI_SCALE QT_SCALE_FACTOR QT_AUTO_SCREEN_SCALE_FACTOR QT_QPA_PLATFORMTHEME MOZ_ENABLE_WAYLAND _JAVA_AWT_WM_NONREPARENTING;

systemd-cat --identifier=sway sway "$@"

9 changes: 4 additions & 5 deletions spotifyd/spotifyd.conf
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Nnanamiiiii's spotifyd configuration
# Nanamiiiii's spotifyd configuration

[global]
username = "belyyzprize"
use_keyring = true
username_cmd = "op read op://Private/Spotify/username"
password_cmd = "op read op://Private/Spotify/password"
use_mpris = true
dbus_type = "session"
backend = "pulseaudio"
# backend = "alsa"
volume_control = "alsa"
mixer = "PCM"
device_name = "rika-l"
device_name = "yuki"
bitrate = 320
device_type = "computer"
onevent = "python3 /home/nanami/.config/spotifyd/spotifyd_event.py"
Expand Down
1 change: 1 addition & 0 deletions sway/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/config.d
6 changes: 6 additions & 0 deletions sway/bar.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Bar Settings

bar {
swaybar_command waybar
}

Loading

0 comments on commit c702389

Please sign in to comment.