diff --git a/electron-flags.conf b/electron-flags.conf
index 9ecfca4..1019c14 100644
--- a/electron-flags.conf
+++ b/electron-flags.conf
@@ -1,2 +1,3 @@
--ozone-platform=wayland
--ozone-hint=wayland
+--enable-features=UseOzonePlatform
diff --git a/i3/config b/i3/config
index 9331bdd..c0fee00 100644
--- a/i3/config
+++ b/i3/config
@@ -175,7 +175,7 @@ gaps inner 20
#smart_gaps on
# ws 4 no gaps
-workspace $ws4 gaps inner 0
+#workspace $ws4 gaps inner 0
# set desktop bg
exec_always --no-startup-id feh --bg-fill /home/ayush/.config/i3/wall.jpg
@@ -224,10 +224,14 @@ bindsym XF86MonBrightnessDown exec sudo /usr/bin/light -U 10
# Custom Bindings for Applications
# Mod + n brave
#bindsym $mod+n exec "brave --enable-features=VaapiVideoDecoder --use-gl=desktop --disable-features=UseChromeOSDirectVideoDecoder --disable-gpu-memory-buffer-compositor-resources --disable-gpu-memory-buffer-video-frames --enable-hardware-overlays"
-bindsym $mod+n exec "brave --enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --enable-video-acceleration --enable-zero-copy --use-gl=desktop --ignore-gpu-blocklist --ignore-gpu-blacklist --enable-oop-rasterization --enable-raw-draw --enable-gpu-rasterization --use-vulkan --disable-reading-from-canvas --disable-sync-preferences"
+#bindsym $mod+n exec "brave --enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --enable-video-acceleration --enable-zero-copy --use-gl=desktop --ignore-gpu-blocklist --ignore-gpu-blacklist --enable-oop-rasterization --enable-raw-draw --enable-gpu-rasterization --use-vulkan --disable-reading-from-canvas --disable-sync-preferences"
+
+bindsym $mod+n exec firefox
+bindsym $mod+b exec notesnook
+bindsym $mod+Shift+b exec "microsoft-edge-beta --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --disable-features=UseChromeOSDirectVideoDecoder"
# Mod + b min
-bindsym $mod+b exec "min --use-gl=desktop --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-features=UseSkiaRenderer,UseChromeOSDirectVideoDecoder --canvas-oop-rasterization"
+#bindsym $mod+b exec "min --use-gl=desktop --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-features=UseSkiaRenderer,UseChromeOSDirectVideoDecoder --canvas-oop-rasterization"
# Mod + m pantheon files
bindsym $mod+m exec io.elementary.files
diff --git a/sway/config b/sway/config
index e39d491..493d2f2 100644
--- a/sway/config
+++ b/sway/config
@@ -3,7 +3,7 @@ output eDP-1 {
#mode 1920x1080@60.004Hz
mode 1920x1080@144.003Hz
scale 1.25
- adaptive_sync on
+ adaptive_sync off
}
# set mouse
@@ -21,6 +21,9 @@ input "1267:12521:ELAN1205:00_04F3:30E9_Touchpad" {
exec systemctl --user import-environment SWAYSOCK WAYLAND_DISPLAY
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
+# fix for screen sharing
+exec /usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr
+
# fix for gtk theming
exec_always {
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
@@ -257,14 +260,15 @@ bindsym XF86MonBrightnessDown exec sudo /usr/bin/light -U 10
# Custom Bindings for Applications
# Mod + n firefox
-bindsym $mod+n exec firefox -p
-#bindsym $mod+n exec "brave --enable-features=VaapiVideoDecoder --use-gl=desktop --disable-features=UseChromeOSDirectVideoDecoder --disable-gpu-memory-buffer-compositor-resources --disable-gpu-memory-buffer-video-frames --enable-hardware-overlays"
-#bindsym $mod+n exec "brave --enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --enable-video-acceleration --enable-zero-copy --use-gl=desktop --ignore-gpu-blocklist --ignore-gpu-blacklist --enable-oop-rasterization --enable-raw-draw --enable-gpu-rasterization --use-vulkan --disable-reading-from-canvas --disable-sync-preferences"
+bindsym $mod+n exec firefox
# Mod + b (old: min) notesnook
#bindsym $mod+b exec "min --use-gl=desktop --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --ozone-platform-hint=auto --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-features=UseSkiaRenderer,UseChromeOSDirectVideoDecoder --canvas-oop-rasterization"
bindsym $mod+b exec "notesnook --ozone-platform=wayland --ozone-platform-hint=wayland"
+# Mod + Shift + b edge
+bindsym $mod+Shift+b exec "microsoft-edge-beta --enable-features=UseOzonePlatform,VaapiVideoDecoder,VaapiVideoEncoder,WebRTCPipeWireCapturer --ozone-platform=wayland --ozone-platform-hint=wayland --disable-features=UseChromeOSDirectVideoDecoder --use-gl=egl"
+
# Mod + m pantheon files
bindsym $mod+m exec io.elementary.files
diff --git a/sway/wall.jpg b/sway/wall.jpg
index 34ce8eb..9b0a03b 100644
Binary files a/sway/wall.jpg and b/sway/wall.jpg differ
diff --git a/waybar/config b/waybar/config
index 6e22173..7c5d6a7 100644
--- a/waybar/config
+++ b/waybar/config
@@ -2,33 +2,34 @@
//"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"height": 25, // Waybar height (to be removed for auto height)
- "spacing": 4, // Gaps between modules (4px)
+ "spacing": 0, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [],
- "modules-right": ["custom/bluetooth-battery", "battery", "pulseaudio", "cpu", "temperature", "memory", "backlight", "clock", "tray"],
+ "modules-right": ["custom/bluetooth-battery", "custom/left-semi", "battery", "custom/right-semi", "pulseaudio", "custom/left-semi", "cpu", "custom/right-semi", "temperature", "custom/left-semi", "memory", "custom/right-semi", "backlight", "custom/left-semi", "clock", "custom/right-semi", "tray"],
"fixed-center": true,
"sway/mode": {
"format": "{}"
},
"tray": {
- // "icon-size": 21,
+ "icon-size": 14,
"spacing": 10
},
"clock": {
+ "format": " {:%H:%M}",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
- "format": " {usage}%",
+ "format": " {usage}%",
"tooltip": false
},
"memory": {
- "format": " {}%"
+ "format": " {}%"
},
"temperature": {
"critical-threshold": 80,
- "format": " {temperatureC}°C",
+ "format": " {temperatureC}°C",
},
"backlight": {
"format": "{icon} {percent}%",
@@ -37,8 +38,8 @@
"battery": {
"states": {
// "good": 95,
- "warning": 19,
- "critical": 15,
+ "warning": 50,
+ "critical": 40,
},
"format": " {capacity}%",
"format-time": "{H}h {M}m",
@@ -47,6 +48,12 @@
"format-alt": "{icon} {time}",
"format-icons": ["", "", "", "", ""]
},
+ "custom/left-semi": {
+ "format": "",
+ },
+ "custom/right-semi": {
+ "format": "",
+ },
"custom/bluetooth-battery": {
"format": "{}",
"return-type": "json",
@@ -66,7 +73,7 @@
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
- "format": " {volume}%",
+ "format": " {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
diff --git a/waybar/style.css b/waybar/style.css
index 28a6e7f..3efb6b8 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -1,30 +1,23 @@
* {
font-family: 'JetBrainsMono Nerd Font', 'Material Icons', 'unifont';
- font-size: 15px;
+ font-size: 10pt;
}
window#waybar {
- background-color: rgba(30, 34, 42, 1);
+ background-color: #1e222a;
color: #979eab;
- padding: 0 1px;
-}
-
-window#waybar.termite {
- background-color: #3F3F3F;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
+ padding: 0 500px;
}
#workspaces button {
+ margin: 5px 0;
padding: 0 2px;
background: transparent;
color: #979eab;
box-shadow: inset 0 -2px transparent;
border: none;
border-radius: 0;
+ transition: none;
}
#workspaces button:hover {
@@ -43,6 +36,17 @@ window#waybar.chromium {
box-shadow: inset 0 -2px #e06c75;
}
+#custom-left-semi,
+#custom-right-semi {
+ color: #2b2f37;
+ margin: 0;
+ padding: 0;
+}
+
+#custom-right-semi {
+ margin-right: 4px;
+}
+
#clock,
#battery,
#cpu,
@@ -52,13 +56,14 @@ window#waybar.chromium {
#backlight,
#network,
#pulseaudio,
-#custom-media,
#tray,
-#mode,
-#idle_inhibitor,
-#mpd {
+#mode
+{
padding: 0 10px;
- color: #979eab;
+}
+
+.modules-right {
+ padding: 5px 0;
}
#window,
@@ -78,7 +83,8 @@ window#waybar.chromium {
#clock {
background-color: #282c35;
- padding: 0 20px;
+ color: #abb2bf;
+ padding: 0 10px;
}
#battery {
@@ -100,6 +106,7 @@ window#waybar.chromium {
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
+ transition: none;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
@@ -171,7 +178,7 @@ label:focus {
}
#tray {
- background-color: #2980b9;
+ background-color: #1e2127;
}
#tray > .passive {