mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Update copyright
This commit is contained in:
parent
58c856e22a
commit
5a3c202423
18 changed files with 23 additions and 23 deletions
2
COPYING
2
COPYING
|
@ -1,5 +1,5 @@
|
||||||
MIT/X11 License
|
MIT/X11 License
|
||||||
Modified 2013-2015 Qball Cow <qball@gmpclient.org>
|
Modified 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Modified 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Modified 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
||||||
* Modified 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Modified 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright (c) 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright (c) 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
||||||
* Modified 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Modified 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
@ -613,7 +613,7 @@ static int locate_switcher ( KeySym key, unsigned int modstate )
|
||||||
*/
|
*/
|
||||||
static void menu_capture_screenshot ( void )
|
static void menu_capture_screenshot ( void )
|
||||||
{
|
{
|
||||||
const char *outp = g_getenv ( "ROFI_PNG_OUTPUT" );
|
const char *outp = g_getenv ( "ROFI_PNG_OUTPUT" );
|
||||||
if ( surface == NULL ) {
|
if ( surface == NULL ) {
|
||||||
// Nothing to store.
|
// Nothing to store.
|
||||||
fprintf ( stderr, "There is no rofi surface to store\n" );
|
fprintf ( stderr, "There is no rofi surface to store\n" );
|
||||||
|
@ -625,12 +625,12 @@ static void menu_capture_screenshot ( void )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Get current time.
|
// Get current time.
|
||||||
GDateTime *now = g_date_time_new_now_local ();
|
GDateTime *now = g_date_time_new_now_local ();
|
||||||
// Format filename.
|
// Format filename.
|
||||||
char *timestmp = g_date_time_format ( now, "rofi-%Y-%m-%d-%H%M" );
|
char *timestmp = g_date_time_format ( now, "rofi-%Y-%m-%d-%H%M" );
|
||||||
char *filename = g_strdup_printf ( "%s.png", timestmp );
|
char *filename = g_strdup_printf ( "%s.png", timestmp );
|
||||||
// Build full path
|
// Build full path
|
||||||
char *fpath = NULL;
|
char *fpath = NULL;
|
||||||
if ( outp == NULL ) {
|
if ( outp == NULL ) {
|
||||||
int index = 0;
|
int index = 0;
|
||||||
fpath = g_build_filename ( xdg_pict_dir, filename, NULL );
|
fpath = g_build_filename ( xdg_pict_dir, filename, NULL );
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Modified (c) 2015 Qball Cow <qball@gmpclient.org>
|
* Modified (c) 2015-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
||||||
* Modified (c) 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Modified (c) 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright (c) 2015 Qball Cow <qball@gmpclient.org>
|
* Copyright (c) 2015-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
|
||||||
* Modified 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Modified 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* rofi
|
* rofi
|
||||||
*
|
*
|
||||||
* MIT/X11 License
|
* MIT/X11 License
|
||||||
* Copyright 2013-2015 Qball Cow <qball@gmpclient.org>
|
* Copyright 2013-2016 Qball Cow <qball@gmpclient.org>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
|
Loading…
Reference in a new issue