Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sfalken
nmcli-rofi
0001-fix_paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fix_paths.patch of Package nmcli-rofi
From 5a4c47183027211bb0bbb9f6472b6d73bedfb48d Mon Sep 17 00:00:00 2001 From: Shawn W Dunn <sfalken@cloverleaf-linux.org> Date: Wed, 29 Nov 2023 15:39:20 -0800 Subject: [PATCH] Removed /usr/bin/env call from shebang, added systemwide config file --- nmcli-rofi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nmcli-rofi b/nmcli-rofi index 95da6cd..c6fc096 100755 --- a/nmcli-rofi +++ b/nmcli-rofi @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # default config @@ -133,6 +133,8 @@ function main () { source "$DIR/config" elif [ -r "$HOME/.config/rofi/wifi" ]; then source "$HOME/.config/rofi/wifi" + elif [ -r "/etc/nmcli-rofi/config" ]; then + source "/etc/nmcli-rofi/config" else echo "WARNING: config file not found! Using default values." fi -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor