I3 to Sway #1
6 changed files with 181 additions and 5 deletions
15
README.md
15
README.md
|
@ -5,7 +5,20 @@ Based on Gentoo with Wayland/Sway.
|
|||
|
||||
Theme: nord palette
|
||||
|
||||
Inspirations:
|
||||
## Dependencies
|
||||
|
||||
* [Zsh: Nord (theme)](https://github.com/TyWR/Nord-zsh)
|
||||
* [Zsh: Yarn autocompletions (plugin)](https://github.com/g-plane/zsh-yarn-autocompletions)
|
||||
* [Tmux: tpm (plugin manager)](https://github.com/tmux-plugins/tpm)
|
||||
* [Font: Powerline](https://github.com/powerline/fonts)
|
||||
* [Font: Nerd-fonts](https://github.com/ryanoasis/nerd-fonts)
|
||||
* [GTK: Nordic](https://github.com/EliverLara/Nordic)
|
||||
* [Icons: NordArc](https://www.gnome-look.org/p/1427194/)
|
||||
* [Cursors: Comix](https://www.gnome-look.org/p/999996)
|
||||
|
||||
|
||||
## Inspirations
|
||||
|
||||
* https://www.nordtheme.com/
|
||||
* https://github.com/nboughton/dotfiles
|
||||
* https://www.reddit.com/r/nordtheme/
|
||||
|
|
2
config/libinput-gestures.conf
Normal file
2
config/libinput-gestures.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
gesture: swipe right 3 swaymsg -t command workspace next_on_output
|
||||
gesture: swipe left 3 swaymsg -t command workspace prev_on_output
|
|
@ -95,8 +95,10 @@ exec swayidle -w \
|
|||
|
||||
exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus
|
||||
exec gnome-keyring-daemon
|
||||
exec /usr/bin/libinput-gestures
|
||||
exec nm-applet --indicator
|
||||
exec mako
|
||||
exec nextcloud
|
||||
exec nextcloud --background
|
||||
exec remmina -i
|
||||
exec $term
|
||||
exec firefox
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"margin": 4,
|
||||
"output": "HDMI-A-3",
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
"sway/mode"
|
||||
|
@ -136,5 +137,157 @@
|
|||
"tray": {
|
||||
"spacing": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"margin": 4,
|
||||
"output": "eDP-1",
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
"sway/mode"
|
||||
],
|
||||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"disk#1",
|
||||
"disk#2",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
"battery",
|
||||
"temperature#1",
|
||||
"temperature#2",
|
||||
"temperature#3",
|
||||
"pulseaudio",
|
||||
"custom/multimedia_previous",
|
||||
"custom/multimedia_current",
|
||||
"custom/multimedia_next",
|
||||
"clock",
|
||||
"tray"
|
||||
],
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": " {}",
|
||||
"max-length": 50
|
||||
},
|
||||
"disk#1": {
|
||||
"interval": 60,
|
||||
"format": " {percentage_used:2}%",
|
||||
"path": "/",
|
||||
"tooltip": false,
|
||||
},
|
||||
"disk#2": {
|
||||
"interval": 60,
|
||||
"format": " {percentage_used:2}%",
|
||||
"path": "/home",
|
||||
"tooltip": false
|
||||
},
|
||||
"battery": {
|
||||
"bat": "BAT0",
|
||||
"interval": 60,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"max-length": 25
|
||||
},
|
||||
"network": {
|
||||
"interface": "wlp59s0",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "{ifname} ",
|
||||
"format-disconnected": "", //An empty format will hide the module.
|
||||
"max-length": 50,
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {load}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format": " {percentage}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"temperature#1": {
|
||||
"thermal-zone": 6,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon6/temp1_input",
|
||||
"format": " {temperatureC}°C"
|
||||
},
|
||||
"temperature#3": {
|
||||
"thermal-zone": 7,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input",
|
||||
"format": "{temperatureC}°C"
|
||||
},
|
||||
"temperature#2": {
|
||||
"thermal-zone": 1,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
"format": ""
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "♪ {volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", ""]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"on-click": "pavucontrol",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/multimedia_previous": {
|
||||
"format": "",
|
||||
"on-click": "~/bin/music.sh Previous"
|
||||
},
|
||||
"custom/multimedia_current": {
|
||||
"interval": 10,
|
||||
"exec": "~/bin/nowPlaying.sh",
|
||||
"on-click": "~/bin/music.sh PlayPause"
|
||||
},
|
||||
"custom/multimedia_next": {
|
||||
"format": "",
|
||||
"on-click": "~/bin/music.sh Next"
|
||||
},
|
||||
"mpd": {
|
||||
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
|
||||
"format-disconnected": "Disconnected ",
|
||||
"format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ",
|
||||
"interval": 10,
|
||||
"random-icons": {
|
||||
"off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
|
||||
"on": " "
|
||||
},
|
||||
"repeat-icons": {
|
||||
"off": "<span color=\"#f53c3c\"></span> ",
|
||||
"on": " "
|
||||
},
|
||||
"state-icons": {
|
||||
"paused": " ",
|
||||
"playing": " "
|
||||
},
|
||||
"single-icons": {
|
||||
"on": "1"
|
||||
},
|
||||
"tooltip-format": "MPD (connected)",
|
||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%d/%m %H:%M}",
|
||||
"tooltip": false
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -25,6 +25,7 @@ window#waybar {
|
|||
#custom-multimedia_next,
|
||||
#clock,
|
||||
#mpd,
|
||||
#battery,
|
||||
#tray {
|
||||
padding: 0px 8px 0px 8px;
|
||||
border-radius: 4px;
|
||||
|
|
5
usr/share/wayland-sessions/sway-dbus.desktop
Normal file
5
usr/share/wayland-sessions/sway-dbus.desktop
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Name=Sway (dbus)
|
||||
Comment=An i3-compatible Wayland compositor
|
||||
Exec=dbus-run-session sway
|
||||
Type=Application
|
Loading…
Reference in a new issue