diff --git a/flashback.patch b/flashback.patch deleted file mode 100644 index 47f80ec..0000000 --- a/flashback.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- regolith-session 2020-06-03 10:15:36.000000000 -0400 -+++ regolith-new 2020-12-17 17:09:06.708590002 -0500 -@@ -4,12 +4,4 @@ - export XDG_CURRENT_DESKTOP="Regolith:GNOME-Flashback:GNOME" - fi - --# gnome-session broke compatability between 19.04 (3.32.0) and 19.10 (3.34.1) versions of Ubuntu (gnome-session-bin). --GNOME_SESSION_BIN_VERSION=$(dpkg -s gnome-session-bin | grep '^Version:' | cut -d' ' -f 2 | cut -d'-' -f 1) --COMPACT_VERSION="${GNOME_SESSION_BIN_VERSION//.}" -- --if [ $COMPACT_VERSION -gt 3320 ]; then - exec gnome-session --builtin --session=regolith --disable-acceleration-check "$@" --else -- exec gnome-session --session=regolith --disable-acceleration-check "$@" --fi diff --git a/i3-config.patch b/i3-config.patch deleted file mode 100644 index 595b10b..0000000 --- a/i3-config.patch +++ /dev/null @@ -1,127 +0,0 @@ ---- a/etc/regolith/i3/config 2020-12-19 16:32:37.712848117 -0500 -+++ b/etc/regolith/i3/config 2020-12-19 16:35:17.947655857 -0500 -@@ -91,28 +91,28 @@ - - ## Launch // Terminal // <> Enter ## - set_from_resource $i3-wm.binding.terminal i3-wm.binding.terminal Return --bindsym $mod+$i3-wm.binding.terminal exec /usr/bin/st -+bindsym $mod+$i3-wm.binding.terminal exec --no-startup-id /usr/bin/st - - ## Launch // Browser // <> Enter ## - set_from_resource $i3-wm.binding.browser i3-wm.binding.browser Shift+Return --bindsym $mod+$i3-wm.binding.browser exec gtk-launch $(xdg-settings get default-web-browser) -+bindsym $mod+$i3-wm.binding.browser exec --no-startup-id gtk-launch $(xdg-settings get default-web-browser) - - set_from_resource $rofiTheme rofi.theme /etc/regolith/styles/lascaille/rofi.rasi - - ## Launch // Application // <> Space ## - set_from_resource $i3-wm.binding.launcher.app i3-wm.binding.launcher.app space - set_from_resource $i3-wm.program.launcher.app i3-wm.program.launcher.app rofi -show drun -theme $rofiTheme --bindsym $mod+$i3-wm.binding.launcher.app exec $i3-wm.program.launcher.app -+bindsym $mod+$i3-wm.binding.launcher.app exec --no-startup-id $i3-wm.program.launcher.app - - ## Launch // Command // <> Space ## - set_from_resource $i3-wm.binding.launcher.cmd i3-wm.binding.launcher.cmd Shift+space - set_from_resource $i3-wm.program.launcher.cmd i3-wm.program.launcher.cmd rofi -show run -theme $rofiTheme --bindsym $mod+$i3-wm.binding.launcher.cmd exec $i3-wm.program.launcher.cmd -+bindsym $mod+$i3-wm.binding.launcher.cmd exec --no-startup-id $i3-wm.program.launcher.cmd - - ## Navigate // Window by Name // <> Space ## - set_from_resource $i3-wm.binding.launcher.window i3-wm.binding.launcher.window Ctrl+space - set_from_resource $i3-wm.program.launcher.window i3-wm.program.launcher.window rofi -show window -theme $rofiTheme --bindsym $mod+$i3-wm.binding.launcher.window exec $i3-wm.program.launcher.window -+bindsym $mod+$i3-wm.binding.launcher.window exec --no-startup-id $i3-wm.program.launcher.window - - ## Launch // This Dialog // <> ? ## - set_from_resource $i3-wm.binding.help i3-wm.binding.help Shift+question -@@ -122,12 +122,12 @@ - ## Launch // File Search // <> Space ## - set_from_resource $i3-wm.binding.file_search i3-wm.binding.file_search Mod1+space - set_from_resource $i3-wm.program.file_search i3-wm.program.file_search rofi -show find -modi find:/usr/share/rofi/modi/finder.sh --bindsym $mod+$i3-wm.binding.file_search exec $i3-wm.program.file_search -+bindsym $mod+$i3-wm.binding.file_search exec --no-startup-id $i3-wm.program.file_search - - ## Launch // Look Selector // <> l ## - set_from_resource $i3-wm.binding.look_selector i3-wm.binding.look_selector Mod1+l - set_from_resource $i3-wm.program.look_selector i3-wm.program.look_selector rofi -show look -modi look:/usr/share/rofi/modi/look-selector.sh --bindsym $mod+$i3-wm.binding.look_selector exec $i3-wm.program.look_selector -+bindsym $mod+$i3-wm.binding.look_selector exec --no-startup-id $i3-wm.program.look_selector - - ############################################################################### - # Window and Workspace Navigation -@@ -372,7 +372,7 @@ - ## Session // Logout // <> e ## - set_from_resource $i3-wm.binding.logout i3-wm.binding.logout Shift+e - set_from_resource $i3-wm.program.logout i3-wm.program.logout /usr/bin/gnome-session-quit --logout --bindsym $mod+$i3-wm.binding.logout exec $i3-wm.program.logout -+bindsym $mod+$i3-wm.binding.logout exec --no-startup-id $i3-wm.program.logout - - ## Session // Reboot // <> b ## - set_from_resource $i3-wm.binding.reboot i3-wm.binding.reboot Shift+b -@@ -387,12 +387,12 @@ - ## Session // Lock Screen // <> Escape ## - set_from_resource $i3-wm.binding.lock i3-wm.binding.lock Escape - set_from_resource $i3-wm.program.lock i3-wm.program.lock dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock --bindsym $mod+$i3-wm.binding.lock exec $i3-wm.program.lock -+bindsym $mod+$i3-wm.binding.lock exec --no-startup-id $i3-wm.program.lock - - ## Session // Sleep // <> s ## - set_from_resource $i3-wm.binding.sleep i3-wm.binding.sleep Shift+s - set_from_resource $i3-wm.program.sleep i3-wm.program.sleep systemctl suspend --bindsym $mod+$i3-wm.binding.sleep exec $i3-wm.program.sleep -+bindsym $mod+$i3-wm.binding.sleep exec --no-startup-id $i3-wm.program.sleep - - ############################################################################### - # System Management -@@ -401,32 +401,32 @@ - ## Modify // Settings // <> c ## - set_from_resource $i3-wm.binding.settings i3-wm.binding.settings c - set_from_resource $i3-wm.program.settings i3-wm.program.settings gnome-control-center --class=floating_window --bindsym $mod+$i3-wm.binding.settings exec $i3-wm.program.settings -+bindsym $mod+$i3-wm.binding.settings exec --no-startup-id $i3-wm.program.settings - - ## Modify // Display Settings // <> d ## - set_from_resource $i3-wm.binding.display i3-wm.binding.display d - set_from_resource $i3-wm.program.display i3-wm.program.display gnome-control-center --class=floating_window display --bindsym $mod+$i3-wm.binding.display exec $i3-wm.program.display -+bindsym $mod+$i3-wm.binding.display exec --no-startup-id $i3-wm.program.display - - ## Modify // Wifi Settings // <> w ## - set_from_resource $i3-wm.binding.wifi i3-wm.binding.wifi w - set_from_resource $i3-wm.program.wifi i3-wm.program.wifi gnome-control-center --class=floating_window wifi --bindsym $mod+$i3-wm.binding.wifi exec $i3-wm.program.wifi -+bindsym $mod+$i3-wm.binding.wifi exec --no-startup-id $i3-wm.program.wifi - - ## Modify // Bluetooth Settings // <> b ## - set_from_resource $i3-wm.binding.bluetooth i3-wm.binding.bluetooth b - set_from_resource $i3-wm.program.bluetooth i3-wm.program.bluetooth gnome-control-center --class=floating_window bluetooth --bindsym $mod+$i3-wm.binding.bluetooth exec $i3-wm.program.bluetooth -+bindsym $mod+$i3-wm.binding.bluetooth exec --no-startup-id $i3-wm.program.bluetooth - - ## Launch // File Browser // <> n ## - set_from_resource $i3-wm.binding.files i3-wm.binding.files Shift+n - set_from_resource $i3-wm.program.files i3-wm.program.files /usr/bin/nautilus --new-window --bindsym $mod+$i3-wm.binding.files exec $i3-wm.program.files -+bindsym $mod+$i3-wm.binding.files exec --no-startup-id $i3-wm.program.files - - ## Launch // Notification Viewer // <> n ## - set_from_resource $i3-wm.binding.notification_ui i3-wm.binding.notification_ui n - set_from_resource $i3-wm.program.notification_ui i3-wm.program.notification_ui /usr/bin/rofication-gui --bindsym $mod+$i3-wm.binding.notification_ui exec $i3-wm.program.notification_ui -+bindsym $mod+$i3-wm.binding.notification_ui exec --no-startup-id $i3-wm.program.notification_ui - - ############################################################################### - # Workspace Management -@@ -435,10 +435,10 @@ - # i3-snapshot for load/save current layout - ## Modify // Save Window Layout // <> , ## - set_from_resource $i3-wm.binding.save_layout i3-wm.binding.save_layout comma --bindsym $mod+$i3-wm.binding.save_layout exec /usr/bin/i3-snapshot -o > /tmp/i3-snapshot -+bindsym $mod+$i3-wm.binding.save_layout exec --no-startup-id /usr/bin/i3-snapshot -o > /tmp/i3-snapshot - ## Modify // Load Window Layout // <> . ## - set_from_resource $i3-wm.binding.load_layout i3-wm.binding.load_layout period --bindsym $mod+$i3-wm.binding.load_layout exec /usr/bin/i3-snapshot -c < /tmp/i3-snapshot -+bindsym $mod+$i3-wm.binding.load_layout exec --no-startup-id /usr/bin/i3-snapshot -c < /tmp/i3-snapshot - - # Toggle bar visibility - ## Modify // Toggle Bar // <> i ## diff --git a/net-traffic.patch b/net-traffic.patch deleted file mode 100644 index ccf12e1..0000000 --- a/net-traffic.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/usr/share/i3xrocks/net-traffic 2020-12-20 04:42:27.110317704 -0500 -+++ b/usr/share/i3xrocks/net-traffic 2020-12-20 04:42:14.934247793 -0500 -@@ -30,17 +30,6 @@ - BPS=false - ULEV=2 - --# Handle button event --if [ "x${BUTTON}" == "x1" ] ; then -- if [ "$INT_TYPE" == "W" ]; then -- ACTION=$(xrescat i3xrocks.action.net-traffic.left "/usr/bin/gnome-control-center --class=floating_window wifi") -- /usr/bin/i3-msg -q exec "$ACTION" -- else -- ACTION=$(xrescat i3xrocks.action.net-traffic.right "/usr/bin/gnome-control-center --class=floating_window network") -- /usr/bin/i3-msg -q exec "$ACTION" -- fi --fi -- - # determine the net interface name - IF=$(ip route get 1.1.1.1 | grep -Po '(?<=dev\s)\w+' | cut -f1 -d ' ') - IF="${BLOCK_INSTANCE:-${IF}}" -@@ -59,6 +48,23 @@ - ;; - esac - -+# Handle button event -+if [ "x${BUTTON}" == "x1" ] ; then -+ if [ "$INT_TYPE" == "W" ]; then -+ ACTION=$(xrescat i3xrocks.action.net-traffic.left "/usr/bin/gnome-control-center --class=floating_window wifi") -+ /usr/bin/i3-msg -q exec "$ACTION" -+ else -+ ACTION=$(xrescat i3xrocks.action.net-traffic.right "/usr/bin/gnome-control-center --class=floating_window network") -+ /usr/bin/i3-msg -q exec "$ACTION" -+ fi -+fi -+ -+# determine the net interface name -+IF=$(ip route get 1.1.1.1 | grep -Po '(?<=dev\s)\w+' | cut -f1 -d ' ') -+ IF="${BLOCK_INSTANCE:-${IF}}" -+ -+ [ "$IF" = "" ] && exit -+ - # get arguments - while getopts i:a:u:e:t:U:D:lhvb option - do