commit 0683ca6580f7342df93d63425daf710e9f896746
parent 8c5395cae232765a859f153b29ff4f32fa04a45d
Author: Andrew Laack <andrew@laack.co>
Date: Tue, 15 Sep 2026 20:21:29 -0500
Removed set background feh command from bg file
Diffstat:
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/background/headers/background.hpp b/background/headers/background.hpp
@@ -3,6 +3,5 @@
#include <cstdint>
#include <string>
#include <vector>
-void setBackground(std::string filePath);
std::vector<uint32_t> getScreenSize();
void sendToBg(std::string name);
diff --git a/background/src/background.cpp b/background/src/background.cpp
@@ -7,11 +7,6 @@
#include <X11/Xatom.h>
#include <unistd.h>
-void setBackground(std::string filePath) {
- std::string command = "/usr/bin/feh --no-fehbg --bg-scale " + filePath;
- system(command.c_str());
-}
-
std::vector<uint32_t> getScreenSize() {
Display* dpy;
Screen* screen;