1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-11-01 03:27:26 -05:00

Add changes for laptop

This commit is contained in:
Kaan Barmore-Genç 2023-04-24 20:39:55 -04:00
parent b4e673d273
commit 1fe9250159
Signed by: kaan
GPG key ID: B2E280771CD62FCF
3 changed files with 16 additions and 4 deletions

View file

@ -40,13 +40,16 @@ depends = ["theme"]
"systemd/user/ssh-agent.service" = "~/.config/systemd/user/ssh-agent.service" "systemd/user/ssh-agent.service" = "~/.config/systemd/user/ssh-agent.service"
[waybar] [waybar]
depends = ["theme"] depends = ["theme", "system"]
[waybar.files] [waybar.files]
"waybar/config" = "~/.config/waybar/config" "waybar/config" = "~/.config/waybar/config"
"waybar/style.css" = "~/.config/waybar/style.css" "waybar/style.css" = "~/.config/waybar/style.css"
"waybar/mediaplayer.py" = "~/.config/waybar/mediaplayer.py" "waybar/mediaplayer.py" = "~/.config/waybar/mediaplayer.py"
[system.variables]
has_battery = false
[theme.variables] [theme.variables]
# These are specified in bg-fg pairs, background and text color. The _fg color # These are specified in bg-fg pairs, background and text color. The _fg color
# is the color of text that would be readable on this color background. # is the color of text that would be readable on this color background.

View file

@ -25,9 +25,11 @@ set $menu rofi -i -show drun -modi drun -show-icons
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output eDP-1 {
bg $HOME/.config/sway/middle.avif fill
scale 1.5
}
output DP-1 { output DP-1 {
resolution 2560x1440@74.971Hz resolution 2560x1440@74.971Hz
position 0,0 position 0,0
@ -123,6 +125,9 @@ input "5426:136:Razer_Razer_Basilisk_Ultimate_Dongle" {
input "1452:613:Apple_Inc._Magic_Trackpad" { input "1452:613:Apple_Inc._Magic_Trackpad" {
accel_profile adaptive accel_profile adaptive
} }
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_options ctrl:swapcaps
}
input "type:keyboard" { input "type:keyboard" {
xkb_layout us,tr xkb_layout us,tr
} }

View file

@ -7,7 +7,11 @@
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["custom/launcher", "sway/workspaces", "sway/mode", "custom/windows"], "modules-left": ["custom/launcher", "sway/workspaces", "sway/mode", "custom/windows"],
"modules-center": ["sway/window"], "modules-center": ["sway/window"],
"modules-right": ["custom/media", "pulseaudio", "cpu", "memory", "temperature", "sway/language", "clock", "tray", "custom/exit"], "modules-right": ["custom/media", "pulseaudio",
{{#if has_battery}}
"battery",
{{/if}}
"cpu", "memory", "temperature", "sway/language", "clock", "tray", "custom/exit"],
// Modules configuration // Modules configuration
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,